Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
DataGrid Sprint #69
Description
java.lang.AssertionError: Updated keys map is not empty in LON! at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:237) at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:253) at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:390) at org.infinispan.xsite.AsyncBackupTest.assertNoDataLeak(AsyncBackupTest.java:297) at org.infinispan.xsite.AsyncBackupTest.testClear(AsyncBackupTest.java:173)
The issue is the org.infinispan.xsite.irac.DefaultIracManager#trackClear() is not removing the keys from the map.
If sending is in progress when trackClear() is invoked, the discard() method is invoked; when the ack from the remote site is received, it finds out the state changed and never cleans the key from the map.