[infinispan-dev] KeyAffinityService

cotton-ben ben.cotton at ALUMNI.RUTGERS.EDU
Fri Jun 14 15:54:15 EDT 2013


so, in the event that no topology change takes place, may I otherwise
consider this key2node association /reliable/?




Mircea Markus-2 wrote
> Sent from my iPhone
> 
> On 14 Jun 2013, at 20:08, Dan Berindei <

> dan.berindei@

> > wrote:
> 
>> Just to be clear, KAS doesn't really allow you to pin a key to a certain
>> node. It only gives you a key that maps to the given node the moment you
>> called KAS.getKeyForAddress(Address) - by the time you call cache.put()
>> with the "pinned" key, it may have already moved to a different node.
> 
> This can only happen if there is a topology change going on in between KAS
> call and the put. Or more generically, if there's a topology change at a
> further point in time the key2node aasociation may be lost.





--
View this message in context: http://infinispan-developer-list.980875.n3.nabble.com/KeyAffinityService-nice-2-recommendations-tp4027152p4027413.html
Sent from the Infinispan Developer List mailing list archive at Nabble.com.


More information about the infinispan-dev mailing list