Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12332

Pessimistic tx write on a non owner should consolidate LockControlCommand and ClusteredGetCommand

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 10.0.0.Final
    • Transactions
    • None
    • Undefined

      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.

              pruivo@redhat.com Pedro Ruivo
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: