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

getKey() must return a key when a key with trailing slash is passed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ozone Manager
    • Labels:
      None

      Description

      lets assume -> Key created : a/b/c/key1 when enabledFsPaths=true

      bucket.getKey(a/b/c/) ,bucket.getKey(a/b/) must return a key instead of returning KEY_NOT_FOUND because this key exists in KeyTable . While normalising the key ,trailing slash isn't preserved currently. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sadanand_shenoy Sadanand Shenoy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: