Jose Andrés Cordero created OAK-9938:
----------------------------------------

             Summary: oak-run GenerateVersionInconsistencyReport exception
                 Key: OAK-9938
                 URL: https://issues.apache.org/jira/browse/OAK-9938
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: oak-run
            Reporter: Jose Andrés Cordero
            Assignee: Jose Andrés Cordero


Due to some changes, initialization of MongoBlobStore can't happen without blob 
collection:
{code:java}
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:239)
        at 
com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
        at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder.getBlobStore(DocumentNodeStoreBuilder.java:360)
        at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:560)
        at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder.build(DocumentNodeStoreBuilder.java:172)
        at 
org.apache.jackrabbit.oak.run.GenerateVersionInconsistencyReport.generateReport(GenerateVersionInconsistencyReport.java:99)
        at 
org.apache.jackrabbit.oak.run.GenerateVersionInconsistencyReport.main(GenerateVersionInconsistencyReport.java:88)
 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to