[
https://issues.apache.org/jira/browse/OAK-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917525#comment-16917525
]
Amit Jain commented on OAK-8552:
--------------------------------
[~ianeboston]
{quote}the Oak NodeStore (SegmentNodeStore or DocumentNodeStore) should be the
record of authority for blob existence, length, lastModified
{quote}
The node's jcr:lastModified does not reflect the blob's lastModified timestamp
and only signifies when the node was last modified (IIUC the spec also says
that [1]). I am also not sure if it can reflect the blobs lastModified without
taking a severe hit. The reason being since blobs are de-duplicated, when an
already existing blob is uploaded to Jcr, its lastModified stamp is updated in
the DataStore and the blob is not uploaded again to the DataStore. This update
to the blob's lastModified is a requirement for DGC.
This updated lastModified for the blob cannot be updated for all nodes from
where already referenced retrospectively without a performance hit (and maybe a
design change, DataStore is the lowest layer and has no information of the
NodeStore and de-duplication with SHA hash is an implementation detail not
known to the NodeStore).
[1] - [https://docs.adobe.com/docs/en/spec/jcr/2.0/3_Repository_Model.html]
> Minimize network calls required when creating a direct download URI
> -------------------------------------------------------------------
>
> Key: OAK-8552
> URL: https://issues.apache.org/jira/browse/OAK-8552
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: blob-cloud, blob-cloud-azure
> Reporter: Matt Ryan
> Assignee: Matt Ryan
> Priority: Major
> Attachments: OAK-8552_ApiChange.patch
>
>
> We need to isolate and try to optimize network calls required to create a
> direct download URI.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)