Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1667

Encode Blob length as part of blobId in DataStoreBlobStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • core
    • None

    Description

      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

      Attachments

        1. OAK-1667.patch
          15 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: