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 "Matt Ryan (Jira)" <ji...@apache.org> on 2019/08/24 17:09:00 UTC

[jira] [Resolved] (OAK-8575) Minimize network calls required when calling getRecord()

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

Matt Ryan resolved OAK-8575.
----------------------------
    Resolution: Fixed

> Minimize network calls required when calling getRecord()
> --------------------------------------------------------
>
>                 Key: OAK-8575
>                 URL: https://issues.apache.org/jira/browse/OAK-8575
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: blob-cloud, blob-cloud-azure
>    Affects Versions: 1.16.0, 1.10.4
>            Reporter: Matt Ryan
>            Assignee: Matt Ryan
>            Priority: Major
>             Fix For: 1.18.0
>
>
> The {{getRecord()}} method first checks existence of the blob and then retrieves metadata to construct the resulting {{DataRecord}}.  If the call to get metadata fails in a way we can handle if the blob does not exist, we can skip the {{exists()}} call and just try to get the metadata, avoiding one network API call.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)