Bug 1244133 - NearCache: it is possible to read stale data with a put/remove followed by a get
Summary: NearCache: it is possible to read stale data with a put/remove followed by a get
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ER1
: 6.5.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-17 09:12 UTC by Pedro Zapata
Modified: 2025-02-10 03:47 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:47:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5607 0 Blocker Resolved NearCache: it is possible to read stale data with a put/remove followed by a get 2015-09-11 13:12:42 UTC

Description Pedro Zapata 2015-07-17 09:12:45 UTC
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

Comment 2 JBoss JIRA Server 2015-08-11 12:31:32 UTC
Galder Zamarreño <galder.zamarreno> updated the status of jira ISPN-5607 to Coding In Progress

Comment 5 Red Hat Bugzilla 2025-02-10 03:47:53 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.