On 19 Jul 2011, at 17:17, Mircea Markus wrote:

can't you make StateTransferManagerImpl.applyInMemoryState() to always write to the cache store and modify StateTransferManagerImpl.generatePersistentState to skip sending a key if it is already in the memory/DataContainer?
That would require passing a filter to CacheStore.toStrem…

…. and potentially changing a lot of the cache store impls… 

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org