Writes to the NearCache do not invalidate/update local data on put/remove operations, and so the NearCache (LAZY MODE) is invalidated using an eventlistener in an asynch way.
It is possible for a client to write a value and issue a get on the same key, and the result of the get would not be the latest value but the one which was present before the update operation.
This happens frequently when there is very much traffic on the connection of the listener which receives the events for the NearCache.
It would be better at least to invalidate locally every entry modified from the client itself
- relates to
-
ISPN-5631 NearCache: ability di wait for other Java HotRod clients to invalidate lazy near cache on remove
- New