infinispan/infinispan — pull request #1921 by pruivo (2013-06-24 13:36:38+00:00)
Title: ISPN-2840 Conditional operations don't work concurrently for transactional caches with write skew check enabled

Each transaction keeps a map between key and version that is populated on the first access.
This maps contains the version seen by the transaction and it is attached to the prepare
to perform the write skew check in the remote nodes.
Added test cases to check if the write skew check is working correctly with IGNORE_RETURN_VALUE
flag.
Removed the previousRead boolean from the write operation.

Note: some problems with the corner cases. Wait until CI gives the outcome.