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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: