-
Bug
-
Resolution: Done
-
Major
-
None
-
8.1.0.CR1
-
None
cache.ReplaceWithVersion() fails to replace the entry and cache.RemoteWithVersion() fails to remove the entry when near cache is enabled.
When I disable near cache the same methods work
Example test code:
IVersionedValue<String> versioned = cache.GetVersioned("k"); Assert.IsTrue(cache.ReplaceWithVersion("k", value, (ulong) versioned.GetVersion()), "Not replaced!"); //<<<---fails here Assert.AreEqual(value, cache.Get("k"));
Full test here: https://github.com/mgencur/dotnet-client/blob/extend_near_cache_tests/src/test/cs/Infinispan/HotRod/NearCacheStaleReadsTest.cs#L64
- is caused by
-
HRCPP-365 near cache loses entries version
- Resolved