You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2019/08/12 12:40:00 UTC

[jira] [Commented] (OAK-8531) Reading Azure Journal File while it's modified fails

    [ https://issues.apache.org/jira/browse/OAK-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905141#comment-16905141 ] 

Andrei Dulceanu commented on OAK-8531:
--------------------------------------

[~tomek.rekawek], could you take a look at the patch attached? The tests ran on my side show that adding the conditional header with the asterisk for the {{ETag}} solves the problem, without the need of increasing the timeout.

> Reading Azure Journal File while it's modified fails
> ----------------------------------------------------
>
>                 Key: OAK-8531
>                 URL: https://issues.apache.org/jira/browse/OAK-8531
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-azure
>    Affects Versions: 1.16.0
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>         Attachments: OAK-8531.patch
>
>
> Trying to read the Azure Journal File while it's modified triggers the following exception:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)