[CDO] Remote unlocking mechanism changed [message #1850255] |
Wed, 23 February 2022 07:56 |
Robert Schulk Messages: 142 Registered: July 2015 |
Senior Member |
|
|
We are using durable cdo locks. These locks could be released on the server side via the InternalLockingManager:
LockArea lockArea = lockManager.getLockArea(durableLockingID);
lockArea.getLocks().clear();
lockManager.updateLockArea(lockArea);
This seems to be not possible anymore with the newest build. Is there any alternative way to do it now, or did this get broken?
I also attached a test case (modified from LockingManagerRestartTransactionTest) which worked for CDO version 4.14.
Edit: this mechanism still works, but the currently open sessions will always see the object as locked. New sessions see the correct status.
[Updated on: Wed, 23 February 2022 13:06] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01977 seconds