infinispan/infinispan — pull request #2095 by wburns (2013-09-23 18:44:08+00:00)
Title: ISPN-3542 Read Only transaction optimization doesn't work properly for R...

...epeatableRead

* Changed LocalTransaction readOnly optimization to be for modifications only.
* Added tests to ensure Locks are always released on commit async after it completes whether from 1PC or 2PC
* Added tests to ensure Locks are always released on rollback as global tx is marked complete
* Also added tests for FORCE_WRITE_LOCK to make sure it works properly with lock acquisition and release

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