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

DataStore / BlobStore: add a method to pass a "type" when writing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • blob

    Description

      Currently, the BlobStore interface has a method "String writeBlob(InputStream in)". This issue is about adding a new method "String writeBlob(String type, InputStream in)", for the following reasons (in no particular order):

      • Store some binaries (for example Lucene index files) in a different place, in order to safely and quickly run garbage collection just on those files.
      • Store some binaries in a slow, some in a fast storage or location.
      • Disable calculating the content hash (de-duplication) for some binaries.
      • Store some binaries in a shared storage (for fast cross-repository copying), and some in local storage.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: