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

Exclusive Modify Lock doesn't cover Modify lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • TX - Transactions
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: