Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-937

RA: Fix locking resources when there is expired lock in DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Amsterdam Release, Beijing Release, Casablanca Release, Dublin Release
    • sli/adaptors
    • None

      The resource locking in RA behaves incorrectly, when there is an expired lock record in DB. In such case, although the lock is granted, the same record is used and updated to not be expired. However, the lock_holder is not updated based on the new lock_requester and the lock_count is incremented. This leads to the updated not expired record remaining in DB after the lock is released by the client.

       

            stanbonev stanbonev
            stanbonev stanbonev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: