Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8869

Access azure segments metadata in a case-insensitive way

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.19
    • Fix Version/s: 1.26.0
    • Component/s: segment-azure
    • Labels:

      Description

      We use azcopy to copy segments from one azure blob container to another for testing. There is a bug in the current version of azcopy (10.3.3), which makes all metadata keys start with a capital letter - "type" becomes "Type". As a consequence, the current implementation can not find the segments in the azure blob storage. 
       
      The azcopy issue was already reported [1] in 2018. I have little hope that azcopy will be fixed soon.
       
      Therefore I suggest a patch to oak-segment-azure, that would be backward compatible and ignore the case of the keys when reading metadata. We should be strict in what we write and tolerant in what we read.  

        Attachments

        1. OAK-8869-patch1.patch
          13 kB
          Aravindo Wingeier
        2. OAK-8869-patch2.patch
          13 kB
          Aravindo Wingeier
        3. OAK-8869-patch3.patch
          14 kB
          Aravindo Wingeier

          Issue Links

            Activity

              People

              • Assignee:
                adulceanu Andrei Dulceanu
                Reporter:
                wingeier Aravindo Wingeier
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: