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

Konrad Windszus commented on OAK-8413:
--------------------------------------

It seems to be a race condition. The problem seems to be 
https://github.com/apache/jackrabbit-oak/blob/2f32f64a1c0d266c2918e64a2d631d2dddfc9da6/oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureSegmentStoreService.java#L59
 which relies on a system property to either use SDK 12 or 8. This is only set 
once in 
https://github.com/apache/jackrabbit-oak/blob/2f32f64a1c0d266c2918e64a2d631d2dddfc9da6/oak-segment-azure/src/test/java/org/apache/jackrabbit/oak/segment/azure/AzureSegmentStoreServiceTest.java#L79.
 If that test is executed first you run into that issue (depending on the 
underlying file system order).

> Use the new Azure SDK in the Azure Segment Store
> ------------------------------------------------
>
>                 Key: OAK-8413
>                 URL: https://issues.apache.org/jira/browse/OAK-8413
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: segment-azure
>            Reporter: Tomek Rękawek
>            Assignee: Miroslav Smiljanic
>            Priority: Major
>             Fix For: 1.78.0
>
>
> We should update the oak-segment-azure to use the most recent Azure SDK 
> version
> {code}
>         <dependency>
>             <groupId>com.azure</groupId>
>             <artifactId>azure-storage-blob</artifactId>
>             <version>12.25.3</version>
>         </dependency>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to