Answering to my own question. If I specify the "*--src-fileblobstore*" of
my blob store then it works, I guess adding the folder "*segmentstore*"
messes things up. I do have another question though: if I try to copy the
binaries then the procedure fails saying:

Caused by: java.lang.IllegalArgumentException:
edbfbac8c2782b728ce008b1c75cf32e4a93cc6b2bfb0afc976151e54c8b2c55#89140

at
org.apache.jackrabbit.oak.commons.StringUtils.getHexDigit(StringUtils.java:93)

at
org.apache.jackrabbit.oak.commons.StringUtils.convertHexToBytes(StringUtils.java:72)

at
org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore.readBlob(AbstractBlobStore.java:446)
at
org.apache.jackrabbit.oak.spi.blob.BlobStoreInputStream.read(BlobStoreInputStream.java:45)


 If I remove the *copy-binaries* options it works fine. Is it because I
can't copy the binaries from a FileBlobStore into the Mongo NodeStore? Is
there a way to sidegrade the repository putting the binary store also in
Mongo?

Marco.

On Tue, Feb 18, 2020 at 5:21 PM Marco Piovesana <[email protected]>
wrote:

> Hi all,
> I'm trying to sidegrade my repository from a SegmentNodeStore to a
> DocumentNodeStore using the oak-upgrade module. At first, I couldn't run it
> because of OAK-5591 <https://issues.apache.org/jira/browse/OAK-5591>. Then
> I put all segment files within a folder called "*segmentstore*" and it
> started, but it failed again saying that "*This combination of data- and
> node-stores is not supported*". I tried with and without the
> *copy-binaries* option but nothing changes.
> I double-checked the documentation here
> <https://jackrabbit.apache.org/oak/docs/migration.html> and for what I
> can understand it should work, am I wrong?
>
> Marco.
>

Reply via email to