[infinispan-dev] DIST, state transfer and cache loaders

Mircea Markus mmarkus at redhat.com
Thu Jun 14 13:43:10 EDT 2012


----- Original Message -----
> From: "Bela Ban" <bban at redhat.com>
> To: infinispan-dev at lists.jboss.org
> Sent: Thursday, June 14, 2012 7:20:31 AM
> Subject: [infinispan-dev] DIST, state transfer and cache loaders
> 
> It occurred to me that I'm not sure how state transfer happens in
> conjunction with cache loaders, can someone confirm that the
> statements
> below are correct / incorrect ?
> Cheers !
> 
> - Say we have {A,B,C,D}, all nodes are configured with a disk-based
> (local) cache loader
> 
> - Key K is mapped to A and B
> 
> - After some idle time, K is evicted from A and B
> 
> - Now B leaves
> 
> - A state transfer of some keys (mapped to A) happens to B
> 
I imagine B resurrects at some point here? If not part of the state is transferred to C (and potentially D if virtual nodes are configured). 
> - As part of the state transfer from A to B, do we iterate through
> the
> data stored in A's cache loader ?
>    (Because if we only iterated through the in-memory data on A, we'd
> not transfer K)

yes if you have the fetchPersistentState=true.

> 
> Is this done nowadays ?
> 
> --
> Bela Ban, JGroups lead (http://www.jgroups.org)
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 



More information about the infinispan-dev mailing list