[
https://issues.apache.org/jira/browse/OAK-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970423#comment-13970423
]
Chetan Mehrotra commented on OAK-1667:
--------------------------------------
Applied the patch in rev http://svn.apache.org/r1587800 for trunk (i.e. 1.1).
The feature has been enabled by default now as I intend to make it part of 1.0
so compatibility part would not be an issue.
> 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, 1.1
>
> Attachments: OAK-1667.patch
>
>
> 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)