]
Dan Berindei updated ISPN-3639:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Local PutForExternalRead failing to apply locally in invalidated
caches
-----------------------------------------------------------------------
Key: ISPN-3639
URL:
https://issues.jboss.org/browse/ISPN-3639
Project: Infinispan
Issue Type: Bug
Affects Versions: 6.0.0.CR1
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Priority: Critical
Fix For: 6.0.0.CR2
Some tests in Hibernate 2LC are failing as a result of local putFromLoad calls
(putForExternalRead) failing to apply on the node that invoked them, in invalidated
caches. Here's a reduced failing test case:
{code}
@Test(groups="functional", testName =
"api.mvcc.PutForExternalReadInvTest")
public class PutForExternalReadInvTest extends MultipleCacheManagersTest {
@Override
protected void createCacheManagers() throws Throwable {
ConfigurationBuilder builder = new ConfigurationBuilder();
builder
.clustering().cacheMode(CacheMode.INVALIDATION_SYNC)
.transaction().transactionMode(TransactionMode.TRANSACTIONAL);
createClusteredCaches(2, builder);
}
public void test000() {
Cache<Integer, String> c0 = cache(0);
Cache<Integer, String> c1 = cache(1);
c0.putForExternalRead(1, "v1");
assertEquals("v1", c0.get(1));
c1.putForExternalRead(1, "v1");
assertEquals("v1", c1.get(1));
}
}{code}
This seems to be related to changes in ISPN-3289
--
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: