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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Sep 26 07:41:02 EDT 2013


    [ https://issues.jboss.org/browse/ISPN-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12807557#comment-12807557 ] 

Galder Zamarreño commented on ISPN-3557:
----------------------------------------

It also affects {{size()}}
                
> 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
>             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