[
https://jira.jboss.org/jira/browse/ISPN-370?page=com.atlassian.jira.plugi...
]
Manik Surtani commented on ISPN-370:
------------------------------------
the cache store is now always cleared before the state transfer process begins. This will
prevent stale state from being picked up. And any store impls that attempt a clear()
within fromStream() have been refactored to not do this.
Regarding a configurable policy on clearing, if there is demand we can add this later.
For now it always clears before applying state.
clear the store before state transfer
--------------------------------------
Key: ISPN-370
URL:
https://jira.jboss.org/jira/browse/ISPN-370
Project: Infinispan
Issue Type: Feature Request
Reporter: Mircea Markus
Assignee: Manik Surtani
Fix For: 4.1.0.BETA1, 4.1.0.Final
Right now, before integrating state (fetch persistent state = true) the
cacheStore.clear() is performed within cacheStore. This cacheStore.clear() should be moved
outside the store, in StateTransferManager, and state transfer should document that the
the store is cleared before integrating remote state.
This is in relation to:
http://lists.jboss.org/pipermail/infinispan-dev/2010-March/002483.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira