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

Access azure segments metadata in a case-insensitive way

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.19
    • 1.26.0
    • segment-azure

    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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment