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

AuthorizerLockImpl.java#tryWriteLockInOMRequest: move sanity arg check to after tryWriteLockThrowOnTimeout();

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      IllegalArgumentException from Preconditions check in tryWriteLockInOMRequest when another tenant write request is in-progress

      The IllegalArgumentException looks scary and misleading. We're now moving the sanity arg check to after the call of 

      long stamp = tryWriteLockThrowOnTimeout();

      Attachments

        Issue Links

        Activity

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

          People

            ghuangups George Huang
            ghuangups George Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment