]
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: