Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2006

Exclusive Modify Lock doesn't cover Modify lock

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: TX - Transactions
    • Labels:
      None

      Description

      When acquiring a metadata lock, the caller passes the requested mode. For example READ and WRITE.
      When the lock has already been acquired, the lock manager checks if the acquired mode covers the requested mode. For example, WRITE covers READ but not the other way around.

      EXCLUSIVE_MODIFY_LOCK covers MODIFY lock as well but that was not implemented correctly in the metadata lock manager.

        Attachments

          Activity

            People

            • Assignee:
              amoudi Abdullah Alamoudi
              Reporter:
              amoudi Abdullah Alamoudi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: