]
Dan Berindei updated ISPN-11157:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Optimistic Transaction ignores ZERO_LOCK_ACQUISITION flag
---------------------------------------------------------
Key: ISPN-11157
URL:
https://issues.redhat.com/browse/ISPN-11157
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.0.0.Final
Reporter: Will Burns
Assignee: Will Burns
Priority: Major
Fix For: 11.0.0.Final
When a command or set of commands are sent via the PrepareCommand with optimistic
transactions they attempt to lock the entry at that point. Unfortunately the Flag is not
adhered to and always uses the default lock timeout. We should check if all WriteCommands
have the flag and if so use a timeout 0 instead.