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

Reading Azure Journal File while it's modified fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.16.0
    • Fix Version/s: 1.18.0
    • Component/s: segment-azure
    • Labels:
      None

      Description

      Trying to read the Azure Journal File while it's modified triggers the following exception:

      java.io.IOException: com.microsoft.azure.storage.StorageException: The condition specified using HTTP conditional header(s) is not met.
      ! at org.apache.jackrabbit.oak.segment.azure.ReverseFileReader.readBlock(ReverseFileReader.java:70)
      ! at org.apache.jackrabbit.oak.segment.azure.ReverseFileReader.readLine(ReverseFileReader.java:96)
      ! at org.apache.jackrabbit.oak.segment.azure.AzureJournalFile$AzureJournalReader.readLine(AzureJournalFile.java:126)
      ! at org.apache.jackrabbit.oak.segment.azure.AzureJournalFile$CombinedReader.readLine(AzureJournalFile.java:240)
      ! at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrateJournal(SegmentStoreMigrator.java:99)
      ! at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrate(SegmentStoreMigrator.java:84)
      

        Attachments

        1. AzureJournalFileCouncurrencyITv2.java
          5 kB
          Andrei Dulceanu
        2. AzureJournalFileConcurrencyIT.java
          4 kB
          Tomek Rękawek
        3. OAK-8531.patch
          2 kB
          Andrei Dulceanu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: