jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3140) DataStore / BlobStore: add a method to pass a "type" when writing
Date Wed, 02 Dec 2015 09:22:10 GMT

    [ https://issues.apache.org/jira/browse/OAK-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035523#comment-15035523

Thomas Mueller commented on OAK-3140:

I would make sense to also add the "path", if available. This is to support OAK-3402 (Multiplexing
DocumentStore support in Oak layer).

> DataStore / BlobStore: add a method to pass a "type" when writing
> -----------------------------------------------------------------
>                 Key: OAK-3140
>                 URL: https://issues.apache.org/jira/browse/OAK-3140
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: blob
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>              Labels: performance
> 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.

This message was sent by Atlassian JIRA

View raw message