Tomek Rękawek commented on OAK-9063:

Question: have you confirmed that the methods:

* CloudBlockBlob#commitBlockList() and
* CloudBlockBlob#upload()

uploads the metadata as well, so no extra uploadMetadata() is needed? I'm 
wondering especially for the commitBlockList() in the 
AzureBlobStoreBackend#completeHttpUpload() method.

Otherwise it all looks fine.

> Use a custom metadata property to manage lastModified in AzureDataStore
> -----------------------------------------------------------------------
>                 Key: OAK-9063
>                 URL: https://issues.apache.org/jira/browse/OAK-9063
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob-cloud-azure
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Major
>         Attachments: OAK-9063.patch
> Currently, the lastModified property managed by azure is used but then to 
> update the timestamp a copy operation is performed in the blob to itself. 
> Besides inefficient, this operation sometimes causes problems if the copy 
> operation is perfomed just after a blob wrrite in a parallel thread.
> This issue changes the behaviour to manage the timestamp through a custom 
> metadata property. While retrieving a fallback to azure managed timestamp is 
> to bee used in case the metadata property is not available.

This message was sent by Atlassian Jira

Reply via email to