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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • 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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: