XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      Noticed an extra "/" after the bucket name on OzoneObjInfo#getPath() value, which affects OM#checkACL during keyPath rename.

      Input: srcKey="/root/dir1/key-1" and dstKey="/root/dir2/key-2"

      Now, OM internally invokes OM#checkACL and access OzoneObjInfo#getPath() function, which constructs the absolute key path name with an extra "/" slash.

      OzoneObjInfo#getPath() returns "vol1/buck1//root/dir1/key-1"

       

      Root Cause: Path normalization missed in o3fs#rename.

      Proposed Fix: Convert #pathToKey() on ozone client and perform #validateAndNormalizeKey() at OM RenameRequest.

       

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: