Chetan Mehrotra created OAK-1667:
------------------------------------

             Summary: 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)

Reply via email to