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/23 21:28:00 UTC

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

Matt Ryan created OAK-8575:
------------------------------

             Summary: 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
            Reporter: Matt Ryan
            Assignee: Matt Ryan


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)