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 "Tomek Rękawek (Jira)" <ji...@apache.org> on 2020/02/27 12:41:00 UTC

[jira] [Resolved] (OAK-8928) Retry reading the graph and binary references in Segment Store migrator

     [ https://issues.apache.org/jira/browse/OAK-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomek Rękawek resolved OAK-8928.
--------------------------------
    Resolution: Fixed

> Retry reading the graph and binary references in Segment Store migrator
> -----------------------------------------------------------------------
>
>                 Key: OAK-8928
>                 URL: https://issues.apache.org/jira/browse/OAK-8928
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-azure
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.26.0
>
>
> We don't repeat a attempt to copy the binary references and graph in the {{org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator}} now. It sometimes fails:
> {noformat}
> 12:08:28.955 [main] ERROR c.a.*.Main - Can't perform operation
> org.apache.jackrabbit.oak.segment.spi.RepositoryNotReachableException: com.microsoft.azure.storage.StorageException: The client could not finish the operation within specified maximum execution timeout.
> 	at org.apache.jackrabbit.oak.segment.azure.AzureUtilities.readBufferFully(AzureUtilities.java:87)
> 	at org.apache.jackrabbit.oak.segment.azure.AzureSegmentArchiveReader.readBlob(AzureSegmentArchiveReader.java:165)
> 	at org.apache.jackrabbit.oak.segment.azure.AzureSegmentArchiveReader.getBinaryReferences(AzureSegmentArchiveReader.java:122)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrateBinaryRef(SegmentStoreMigrator.java:195)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrateArchives(SegmentStoreMigrator.java:169)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrate(SegmentStoreMigrator.java:93)
> ...
> Caused by: com.microsoft.azure.storage.StorageException: The client could not finish the operation within specified maximum execution timeout.
> 	at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:254)
> 	at com.microsoft.azure.storage.blob.CloudBlob.download(CloudBlob.java:1300)
> 	at com.microsoft.azure.storage.blob.CloudBlob.download(CloudBlob.java:1269)
> 	at org.apache.jackrabbit.oak.segment.azure.AzureUtilities.readBufferFully(AzureUtilities.java:84)
> 	... 8 common frames omitted
> Caused by: java.util.concurrent.TimeoutException: The client could not finish the operation within specified maximum execution timeout.
> 	at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:253)
> 	... 11 common frames omitted
> {noformat}
> We can use {{runWithRetry()}} as for the segments.
> //cc: [~adulceanu]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)