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 st...@apache.org on 2024/06/24 11:16:08 UTC
(jackrabbit-oak) branch OAK-10914-1 created (now dc8bdb8c00)
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a change to branch OAK-10914-1
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at dc8bdb8c00 OAK-10914 : disable mongo-server-side exclude paths until query performance is fixed
This branch includes the following new commits:
new dc8bdb8c00 OAK-10914 : disable mongo-server-side exclude paths until query performance is fixed
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-10914 : disable mongo-server-side exclude paths until query performance is fixed
Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a commit to branch OAK-10914-1
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit dc8bdb8c000d7c68d66dfcc1bb2ac4cb5f1c9ae4
Author: Stefan Egli <st...@apache.org>
AuthorDate: Mon Jun 24 13:15:51 2024 +0200
OAK-10914 : disable mongo-server-side exclude paths until query performance is fixed
---
.../jackrabbit/oak/plugins/document/mongo/MongoVersionGCSupport.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoVersionGCSupport.java b/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoVersionGCSupport.java
index 060c105689..a7e835953c 100644
--- a/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoVersionGCSupport.java
+++ b/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoVersionGCSupport.java
@@ -205,9 +205,9 @@ public class MongoVersionGCSupport extends VersionGCSupport {
Set<String> includedPathPrefixes, Set<String> excludedPathPrefixes) {
// (_modified = fromModified && _id > fromId || _modified > fromModified && _modified < toModified)
final Bson query = or(
- withIncludeExcludes(includedPathPrefixes, excludedPathPrefixes,
+ withIncludeExcludes(includedPathPrefixes, Set.of()/*OAK-10914 : temporarily disabling excludedPathPrefixes*/,
and(eq(MODIFIED_IN_SECS, getModifiedInSecs(fromModified)), gt(ID, fromId))),
- withIncludeExcludes(includedPathPrefixes, excludedPathPrefixes,
+ withIncludeExcludes(includedPathPrefixes, Set.of()/*OAK-10914 : temporarily disabling excludedPathPrefixes*/,
and(gt(MODIFIED_IN_SECS, getModifiedInSecs(fromModified)), lt(MODIFIED_IN_SECS, getModifiedInSecs(toModified)))));
// first sort by _modified and then by _id