[infinispan-dev] [ISPN-548] Discussion on updating the QueryInterceptor to be able to update old keys

Navin Surtani nsurtani at redhat.com
Wed Jul 21 09:39:08 EDT 2010


On 21/07/10 13:58, Emmanuel Bernard wrote:
> I'm concerned about your description of #2
> "2 - Interceptor checks the set of keys used within the same context to see if the same key has been used"
> WDYM by same context? same tx? if someones has a detached version of the entity from another tx, he can reattach it on the same key and this has to be picked up as an UPDATE.
>

Well that's partly my issue. I don't think that a context is the same 
thing as a transaction. One of the big ISPN pros will have a proper 
answer and description to this point.

> So it all depends if the index is stored locally or not. and whether the key lookup requires a network roundtrip or not. I suspect the decision matrix is something like that:


-- 
Navin Surtani
Intern Infinispan


More information about the infinispan-dev mailing list