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

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Tue Oct 1 16:43:02 EDT 2013


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

Sanne Grinovero updated ISPN-3557:
----------------------------------

    Priority: Blocker  (was: Major)

    
> 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: Mircea Markus
>            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