This is an automated email from the ASF dual-hosted git repository.

thomasm pushed a commit to branch OAK-10341
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/OAK-10341 by this push:
     new 980475881b OAK-10341 TreeStore
980475881b is described below

commit 980475881bd377da209487afe11f7232224193ee
Author: Thomas Mueller <[email protected]>
AuthorDate: Thu Jul 13 11:20:27 2023 +0200

    OAK-10341 TreeStore
---
 .../jackrabbit/oak/index/indexer/document/tree/store/Session.java      | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/tree/store/Session.java
 
b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/tree/store/Session.java
index 783f107287..47aec1fb60 100644
--- 
a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/tree/store/Session.java
+++ 
b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/tree/store/Session.java
@@ -446,9 +446,6 @@ public class Session {
      */
     public void mergeRoots(int max) {
         List<String> list = getRootFileNames();
-        if (list.size() < max) {
-            return;
-        }
         PageFile root = getFile(ROOT_NAME);
         String rootFileCopy = ROOT_NAME + "_" + updateId;
         root = copyPageFile(root);

Reply via email to