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 "Amit Jain (Jira)" <ji...@apache.org> on 2020/05/20 04:58:00 UTC

[jira] [Commented] (OAK-9063) Use a custom metadata property to manage lastModified in AzureDataStore

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

Amit Jain commented on OAK-9063:
--------------------------------

[~tomek.rekawek] Could you please review the patch [^OAK-9063.patch]. All the tests pass and have tested in consuming applications (AEM) as well.

> 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
(v8.3.4#803005)