EHC ❯ JTA prepared transaction for which keys are to be inserted (previously absent) aren't unlocked when rolled back
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
nrana
-
Reporter: alexsnaps
-
March 10, 2010
-
0
-
Watchers: 1
-
April 14, 2010
-
March 22, 2010
Description
Currently keys are unlocked during the rollback of a prepared transaction only if an element has been put back in the store (from the oldVersionStore). Yet a key that was previously absent from the store has no matching element in the oldVersionStore, resulting in the writeLock acquired during prepare for the key to no be unlocked during rollback!
Verified using system tesst