Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7755

S3G cannot acquire VOLUME_LOCK lock while holding [BUCKET_LOCK]

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • SCM

    Description

      S3G cannot acquire VOLUME_LOCK lock while holding [BUCKET_LOCK].

      Log from internal tests:

      2022-12-09 12:57:32,982|INFO|MainThread|machine.py:230 - run()||GUID=39760bfb-bb7f-434e-8fa8-368701270fa3|Exit Code: 0 2022-12-09 12:57:32,982|INFO|MainThread|machine.py:188 - run()||GUID=c638945f-3903-4cec-81a9-cb15951608df|RUNNING: aws s3api --endpoint https://<clustername>:9879/ --ca-bundle=/usr/local/share/ca-certificates/ca.crt get-object --bucket erycnbhu --key file1 /tmp/getObjectFile1670590652 2022-12-09 12:57:33,475|INFO|MainThread|machine.py:203 - run()||GUID=c638945f-3903-4cec-81a9-cb15951608df| 2022-12-09 12:57:33,476|INFO|MainThread|machine.py:203 - run()||GUID=c638945f-3903-4cec-81a9-cb15951608df|An error occurred (NoSuchBucket) when calling the GetObject operation: The specified bucket does not exist 2022-12-09 12:57:33,547|INFO|MainThread|machine.py:232 - run()||GUID=c638945f-3903-4cec-81a9-cb15951608df|Exit Code: 255  

      According to the locks priority mentioned in documentation 

      https://ozone.apache.org/docs/1.0.0/design/locks.html

      A higher priority lock in this case VOLUME_LOCK can't be acquired when we have lower priority lock i.e. BUCKET_LOCK

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            duongnguyen Duong Assign to me
            asarin Arun Sarin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment