[
https://issues.apache.org/jira/browse/OAK-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937034#comment-16937034
]
Matt Ryan edited comment on OAK-8105 at 9/24/19 5:45 PM:
---------------------------------------------------------
Microsoft has asked me to test with the [Azure v12 SDK
preview|https://search.maven.org/artifact/com.azure/azure-storage-blob/12.0.0-preview.3/jar]
to see if that resolves the issues I've had with the prior versions (both v10
and v11). I'm working on that now.
Some of the issues were captured in [this
ticket|https://github.com/Azure/azure-storage-java/issues/432] (navigate toward
the bottom). Blocking issues for Oak were:
* Couldn't find a way to update an existing blob's last modified time, which is
required if a user uploads a blob that already exists in blob storage
* I had trouble getting container access via SAS to work; they claim this works
but I didn't find an API for this and didn't invest the time to figure out how
to do it by hand
There was also no {{exists()}} method for a blob, nor was there a way to
determine the container name for a blob, which are not blockers but did make
things more complex. Not to mention the lack of sync support in v10 and v11
which required the creation of a new input stream class to make streaming
downloads possible.
Supposedly this feedback was taken into account when making the v12, so that's
what I'm trying to find out now.
was (Author: mattvryan):
Microsoft has asked me to test with the [Azure v12 SDK
preview|https://search.maven.org/artifact/com.azure/azure-storage-blob/12.0.0-preview.3/jar]
to see if that resolves the issues I've had with the prior versions (both v10
and v11). I'm working on that now.
> [Direct Binary Access] Update to latest Azure Blob Storage SDK
> --------------------------------------------------------------
>
> Key: OAK-8105
> URL: https://issues.apache.org/jira/browse/OAK-8105
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: blob-cloud-azure
> Affects Versions: 1.10.0, 1.12.0
> Reporter: Matt Ryan
> Assignee: Matt Ryan
> Priority: Major
>
> Since the implementation of the original AzureDataStore, the [original Azure
> SDK for Java|https://github.com/Azure/azure-sdk-for-java] has been
> [deprecated|https://github.com/Azure/azure-sdk-for-java/blob/master/README.md]
> and replaced with a [newer SDK|https://github.com/Azure/azure-storage-java]
> that uses a different API.
> The issue raised in OAK-8013 could not be properly fixed due to a bug in the
> original SDK. OAK-8104 was created for the purpose of ensuring this gets
> fixed properly instead of settling for the workaround implemented with
> OAK-8013. The latest Azure SDK does not exhibit the bug that was in the
> original SDK, so the proper way to fix OAK-8104 is to update AzureDataStore
> to use the latest Azure SDK.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)