jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Hudea (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5874) Duplicate uploads might happen with AbstractSharedCachingDataStore
Date Thu, 02 Mar 2017 11:38:45 GMT

     [ https://issues.apache.org/jira/browse/OAK-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raul Hudea updated OAK-5874:
----------------------------
    Attachment: OAK-5874.patch

> Duplicate uploads might happen with AbstractSharedCachingDataStore
> ------------------------------------------------------------------
>
>                 Key: OAK-5874
>                 URL: https://issues.apache.org/jira/browse/OAK-5874
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Raul Hudea
>            Priority: Minor
>         Attachments: OAK-5874.patch
>
>
> If a file is staged for async upload in UploadStagingCache and then another call to AbstractSharedCachingDataStore.addRecord
is made for a file with same SHA1, the new call goes directly to the backed to write the file,
because the cache is not taking into account pending uploads. This makes 2 uploads to happen
for the same blob: one async (from UploadStagingCache) and one sync (from AbstractSharedCachingDataStore.addRecord
 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message