Hmm, you are correct.  Any key that is touched in the transaction is checked.  

I've raised a JIRA - thanks for bringing this up.

https://issues.jboss.org/browse/ISPN-1841


On 1 Feb 2012, at 22:47, Pedro Ruivo wrote:

Hi,

I've noticed that in the last version (5.1.x) the write skew check is
performed on all keys written. However, from your documentation [1] I
understood that the write skew was meant to be performed only on the
written keys that were previously read.

Is this change intentional?

Cheers,
Pedro Ruivo

[1] https://docs.jboss.org/author/display/ISPN51/Data+Versioning
"Write skew checks are performed at prepare-time to ensure a concurrent
transaction hasn't modified an entry while it was read and potentially
updated based on the value read."
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

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

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