[
https://issues.jboss.org/browse/ISPN-3558?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-3558:
----------------------------------------
Guys, indeed I solved it in 2LC integration code, tracking region evictions and switching
from PFER to put() if a region had been evicted. We can close this jira.
PutForExternalRead won't work after a clear(), when both in same
tx
-------------------------------------------------------------------
Key: ISPN-3558
URL:
https://issues.jboss.org/browse/ISPN-3558
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
Labels: dm
Fix For: 6.0.0.Final
{code}
public void testPutForExternalReadAfterClear() throws Exception {
cache.put(1, "v1");
tm().begin();
try {
cache.getAdvancedCache().clear();
cache.putForExternalRead(1, "v1");
assertEquals("v1", cache.get(1));
} finally {
tm().commit();
}
}
{code}
--
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