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 2018/10/18 06:28:00 UTC

[jira] [Commented] (OAK-7638) Race condition when simultaneous request to stage file for async upload

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

Amit Jain commented on OAK-7638:
--------------------------------

Backported to:
* 1.8 - http://svn.apache.org/viewvc?rev=1844205&view=rev
* 1.6 - http://svn.apache.org/viewvc?rev=1844203&view=rev

> Race condition when simultaneous request to stage file for async upload
> -----------------------------------------------------------------------
>
>                 Key: OAK-7638
>                 URL: https://issues.apache.org/jira/browse/OAK-7638
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-plugins
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Major
>             Fix For: 1.10, 1.9.6, 1.6.15, 1.8.9
>
>
> A simultaneous request to add the same file is checked and returned too soon i.e. even before the file through the 1st request has been staged. As a consequence the 2nd request if it tries to access/read the file afterwards some moments before the file is staged would throw an error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)