[infinispan-issues] [JBoss JIRA] (ISPN-3557) Key set not empty after transactional CACHE_MODE_LOCAL flagged clear

William Burns (JIRA) jira-events at lists.jboss.org
Wed Oct 2 11:47:02 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns reassigned ISPN-3557:
-----------------------------------

    Assignee: William Burns  (was: Mircea Markus)

    
> Key set not empty after transactional CACHE_MODE_LOCAL flagged clear 
> ---------------------------------------------------------------------
>
>                 Key: ISPN-3557
>                 URL: https://issues.jboss.org/browse/ISPN-3557
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 5.3.0.Final, 6.0.0.Beta1
>            Reporter: Galder Zamarreño
>            Assignee: William Burns
>            Priority: Blocker
>             Fix For: 6.0.0.CR1, 6.0.0.Final
>
>
> The following test fails (added to AbstractLocalTest):
> {code}
>    public void testKeySetAfterClear() throws Exception {
>       cache.put(1, "v1");
>       tm().begin();
>       try {
>          cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL).clear();
>          assertTrue(cache.keySet().isEmpty());
>       } finally {
>          tm().commit();
>       }
>    }
> {code}
> If the flag is removed, it works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list