[
https://issues.apache.org/jira/browse/OAK-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957553#comment-13957553
]
Thomas Mueller commented on OAK-1667:
-------------------------------------
This is already the case for the BlobStore (FileBlobStore and so on).
> Encode Blob length as part of blobId in DataStoreBlobStore
> ----------------------------------------------------------
>
> Key: OAK-1667
> URL: https://issues.apache.org/jira/browse/OAK-1667
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.0
>
>
> Currently to determine length of Blob in {{DataStoreBlobStore}} an explicit
> call is made to backing DataStore which in case of FileDataStore results in
> an OS call.
> As any file stored in DataStore is immutable and DataStore does not store the
> file in chunks the length information can be encoded in the BlobId itself and
> getLength call make use of that information
--
This message was sent by Atlassian JIRA
(v6.2#6252)