Bug 1113259 - State transfer should not modify or iterate shared cache stores
Summary: State transfer should not modify or iterate shared cache stores
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: 6.3.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-25 19:10 UTC by Dan Berindei
Modified: 2015-01-26 14:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-26 14:03:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3936 0 Critical Resolved State transfer should not modify or iterate shared cache stores 2014-07-07 06:51:37 UTC

Description Dan Berindei 2014-06-25 19:10:25 UTC
When installing a new topology, we invalidate the cache entries that are no longer mapped to the local node. We also iterate over the entries in the cache stores and delete the ones that are no longer local, but this should only happen if the cache store is not shared.

We had similar issues in the past, but this seems to be related to the new cache store API introduced in 6.0.

After a closer look, it turns out the entries that are no longer local are deleted using an InvalidateCommand, which does not write to the cache stores. So the only issue is that iterating over the entire cache store can take a lot of time (and memory, because of ISPN-3937).


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