[ https://issues.apache.org/jira/browse/OAK-8575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed OAK-8575. ------------------------------- > 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.4#803005)