[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:37:03 EDT 2013


Galder Zamarreño created ISPN-3557:
--------------------------------------

             Summary: 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: 6.0.0.Beta1, 5.3.0.Final
            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