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

Reading Azure Journal File while it's modified fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.18.0
    • segment-azure
    • 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. OAK-8531.patch
          2 kB
          Andrei Dulceanu
        2. AzureJournalFileConcurrencyIT.java
          4 kB
          Tomek Rękawek
        3. AzureJournalFileCouncurrencyITv2.java
          5 kB
          Andrei Dulceanu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: