You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2015/09/01 08:19:46 UTC

[jira] [Updated] (OAK-3140) DataStore / BlobStore: add a method to pass a "type" when writing

     [ https://issues.apache.org/jira/browse/OAK-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain updated OAK-3140:
---------------------------
    Fix Version/s:     (was: 1.3.5)
                   1.3.6

> 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
>             Fix For: 1.3.6
>
>
> 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
(v6.3.4#6332)