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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/07/29 06:32:06 UTC
[jira] [Closed] (OAK-8473) oak-run recovery fails with custom blob
store
[ https://issues.apache.org/jira/browse/OAK-8473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed OAK-8473.
-------------------------------
> oak-run recovery fails with custom blob store
> ---------------------------------------------
>
> Key: OAK-8473
> URL: https://issues.apache.org/jira/browse/OAK-8473
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: run
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Major
> Fix For: 1.16.0
>
>
> The oak-run recovery command fails with an exception when the repository was created
> with a custom blob store. E.g. when blobs are stored on the file system instead of in the
> database. The command complains about the missing blobs collection:
> {noformat}
> Exception in thread "main" java.lang.RuntimeException: MongoBlobStore instantiated read-only, but collection blobs not present
> at org.apache.jackrabbit.oak.plugins.document.mongo.MongoBlobStore.initBlobCollection(MongoBlobStore.java:210)
> at org.apache.jackrabbit.oak.plugins.document.mongo.MongoBlobStore.<init>(MongoBlobStore.java:113)
> at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.lambda$setMongoDB$2(MongoDocumentNodeStoreBuilderBase.java:230)
> at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
> at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder.getBlobStore(DocumentNodeStoreBuilder.java:305)
> at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:522)
> at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder.build(DocumentNodeStoreBuilder.java:162)
> at org.apache.jackrabbit.oak.run.RecoveryCommand.execute(RecoveryCommand.java:63)
> at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
> {noformat}
> The check and the exception were introduced with OAK-8252. Those changes are not yet in
> a released Oak version.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)