Created attachment 780385 [details] Reproduce setting : clustered.xml Description of problem: When passivation value is false, stored entries are deleted from table in rebalance. clustered.xml ------------ <distributed-cache name="myCache" mode="SYNC" start="EAGER"> <locking isolation="READ_COMMITTED" acquire-timeout="30000" concurrency-level="1000" striping="false"/> <transaction mode="NONE"/> <eviction strategy="LIRS" max-entries="10000"/> <string-keyed-jdbc-store datasource="java:jboss/datasources/InfinispanDS" passivation="false" preload="true" purge="false" shared="true" fetch-state="false"> ... Version-Release number of selected component (if applicable): JDG 6.1 How reproducible: I will attache the clustered.xml and trace logs. Steps to Reproduce: 1.start node1 2.put 300 entries 3.start node2 check entries: select count(*) from table; 300 4.start node3 check entries: select count(*) from table; 0 Actual results: In step 4, number of entries are 0 in DB table. Expected results: In step 4, number of entries are 300 in DB table. Additional info:
William Burns <wburns> updated the status of jira ISPN-3613 to Coding In Progress
William Burns <wburns> made a comment on jira ISPN-3613 I am unable to reproduce this with the latest code base. Digging further it appears this was fixed by ISPN-2903. Side note: the xml file provided is not accurate as the log shows L1 was enabled for the cache, but the xml didn't have it enabled. But it looks like this is caused because eviction was enabled and a rehash causes old values to be evicted. When it was evicted it would notify the cache loader that it was removed with ISPN-2903 and would then remove it from the store as well. I will add a test that confirms this. Also I need to verify if when sharing is disabled if it properly evicts the entries from the cache store.
William Burns <wburns> made a comment on jira ISPN-3613 I am unable to reproduce this with the latest code base. Digging further it appears this was fixed by ISPN-2903. Side note: the xml file provided is not accurate as the log shows L1 was enabled for the cache, but the xml didn't have it enabled. But it looks like this is caused because eviction was enabled and a rehash causes old values to be evicted. When it was evicted it would notify the cache loader that it was removed with ISPN-2903 and would then remove it from the store as well. I will add a test that confirms this. Also I need to verify if when sharing is disabled if it properly removes the entries from the cache store.
William Burns <wburns> made a comment on jira ISPN-3613 This JIRA can probably be closed as Duplicate when tests are merged in.