[ https://issues.apache.org/jira/browse/OAK-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046575#comment-17046575 ]
Tomek Rękawek commented on OAK-8928: ------------------------------------ Fixed for trunk in r1874576. > 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)