map#clear causes all near-caches eventually drop all items #19501
Labels
Module: Config
Module: Near Cache
Source: Community
PR or issue was opened by a community user
Team: Core
Type: Defect
Milestone
According to this message, I create an issue for this bug :
Description of the bug
map#clear causes all near-caches eventually drop all items
Expected behavior
map#clear must evict all items only on the near-cache of the map we cleared
To Reproduce
Here is the scenario of reproduction :
Zip file of this demo project as well as the configuration file used on the Hazelcast node are available on the google group.
To validate the regression that appeared between version 3.9.4 and version 4.1.1, I'm also attaching (with the same link) another demo project (with the configuration file for the Hazelcast node as well) in version 3.9.4. The only difference in this project is that I wait 10 minutes (instead of one) after the resourcesById.clear to demonstrate that the Near Cache is not cleared.
The text was updated successfully, but these errors were encountered: