]
Pedro Ruivo reassigned ISPN-12332:
----------------------------------
Assignee: Pedro Ruivo
Pessimistic tx write on a non owner should consolidate
LockControlCommand and ClusteredGetCommand
-------------------------------------------------------------------------------------------------
Key: ISPN-12332
URL:
https://issues.redhat.com/browse/ISPN-12332
Project: Infinispan
Issue Type: Enhancement
Components: Transactions
Affects Versions: 10.0.0.Final
Reporter: Will Burns
Assignee: Pedro Ruivo
Priority: Major
Today when a write occurs in a pessimistic transaction it must first lock the key for
that entry. If the node is not an owner it may also retrieve the previous value, given
Flag configuration. This leads to sending 2 requests when we could instead consoldiate
this to do a single ClusteredGetCommand with the FORCE_WRITE_FLAG which would both
retrieve the value and lock they key.