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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2015/07/27 15:56:05 UTC
[jira] [Resolved] (OAK-3122) Direct copy of the chunked data
between blob stores
[ https://issues.apache.org/jira/browse/OAK-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Rękawek resolved OAK-3122.
--------------------------------
Resolution: Won't Fix
Marking as "won't fix" because it's impossible right now to direct copy MongoBlobStore to FileDataStore without touching NodeStore. The SplitBlobStore approach may be introduced in another JIRA.
> Direct copy of the chunked data between blob stores
> ---------------------------------------------------
>
> Key: OAK-3122
> URL: https://issues.apache.org/jira/browse/OAK-3122
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: core, mongomk, upgrade
> Reporter: Tomek Rękawek
> Fix For: 1.4
>
>
> It could be useful to have a tool that allows to copy blob chunks directly between different stores, so users can quickly migrate their data, without a need to touch the node store, consolidate binaries, etc.
> Such tool should have direct access to the methods operating on the binary blocks, implemented in the {{AbstractBlobStore}} and its subtypes:
> {code}
> void storeBlock(byte[] digest, int level, byte[] data);
> byte[] readBlockFromBackend(BlockId blockId);
> Iterator<String> getAllChunkIds(final long maxLastModifiedTime);
> {code}
> My proposal is to create a {{ChunkedBlobStore}} interface containing these methods, which can be implemented by {{FileBlobStore}} and {{MongoBlobStore}}.
> Then we can enumerate all chunk ids, read the underlying blocks from source blob store and save them in the destination.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)