-
Bug
-
Resolution: Done
-
Critical
-
6.0.0.Final
-
None
-
None
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:
@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)); } }
This seems to be related to changes in ISPN-3289
- is related to
-
ISPN-3289 PutForExternalRead should only write the value on the originator once
- Closed