You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by jo...@apache.org on 2022/09/14 13:08:49 UTC
[jackrabbit-oak] branch OAK-9938 created (now d4141d567e)
This is an automated email from the ASF dual-hosted git repository.
joscorbe pushed a change to branch OAK-9938
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at d4141d567e OAK-9938: Fix initialization of BlobStore in GenerateVersionInconsistencyReport
This branch includes the following new commits:
new d4141d567e OAK-9938: Fix initialization of BlobStore in GenerateVersionInconsistencyReport
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[jackrabbit-oak] 01/01: OAK-9938: Fix initialization of BlobStore in GenerateVersionInconsistencyReport
Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
joscorbe pushed a commit to branch OAK-9938
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit d4141d567e7bc20a371aea8b660461ce5f196373
Author: José Cordero <co...@adobe.com>
AuthorDate: Wed Sep 14 15:08:28 2022 +0200
OAK-9938: Fix initialization of BlobStore in GenerateVersionInconsistencyReport
---
.../apache/jackrabbit/oak/run/GenerateVersionInconsistencyReport.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/oak-run/src/main/java/org/apache/jackrabbit/oak/run/GenerateVersionInconsistencyReport.java b/oak-run/src/main/java/org/apache/jackrabbit/oak/run/GenerateVersionInconsistencyReport.java
index 38b394506a..7d2af4e718 100644
--- a/oak-run/src/main/java/org/apache/jackrabbit/oak/run/GenerateVersionInconsistencyReport.java
+++ b/oak-run/src/main/java/org/apache/jackrabbit/oak/run/GenerateVersionInconsistencyReport.java
@@ -95,6 +95,8 @@ public class GenerateVersionInconsistencyReport {
DocumentNodeStore dns = null;
try {
DocumentNodeStoreBuilder<?> builder = Utils.createDocumentMKBuilder(args, closer, h);
+ // Getting blobstore to trigger it to use MemoryBlobStore
+ builder.getBlobStore();
dns = builder.setClusterInvisible(true).setReadOnlyMode().build();
closer.register(Utils.asCloseable(dns));