-
Bug
-
Resolution: Done
-
Blocker
-
4.2.1.FINAL, 5.0.0.CR2
-
None
-
Workaround Exists
-
-
Medium
If a listener implementation throws an exception (at least when isPre()) when a new entry is created, acquired locks are unreleased.
So, concurrent invocations on same key will fail with a timeout exception
This is only limited to exceptions when the entry is first created. When the entry is modified it works fine.
The problem when entry is created and the exception is thrown on isPre=true is that the context is empty and so the release finds nothing to unlock. Checking what the options are to fix this.