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

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

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: