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 da...@apache.org on 2026/07/08 08:58:17 UTC
(jackrabbit-oak) branch revert-3001-OAK-12295 created (now 7598730c02)
This is an automated email from the ASF dual-hosted git repository.
rishabhdaim pushed a change to branch revert-3001-OAK-12295
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at 7598730c02 Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1 (#3001)"
This branch includes the following new commits:
new 7598730c02 Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1 (#3001)"
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: Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1 (#3001)"
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rishabhdaim pushed a commit to branch revert-3001-OAK-12295
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 7598730c0218018642a8d4fc445498039b53a555
Author: Rishabh Kumar <ri...@gmail.com>
AuthorDate: Wed Jul 8 14:28:09 2026 +0530
Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1 (#3001)"
This reverts commit 480eb1454028de792fe603b572def624b6a4cccd.
---
oak-parent/pom.xml | 2 +-
.../plugins/document/mongo/MongoTestClient.java | 27 ----------------------
2 files changed, 1 insertion(+), 28 deletions(-)
diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index c68462c649..c266b80cf3 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -57,7 +57,7 @@
<mongo.version>3.6</mongo.version>
<segment.db>SegmentMK</segment.db>
<lucene.version>4.7.2</lucene.version>
- <mongo.driver.version>5.3.1</mongo.driver.version>
+ <mongo.driver.version>5.2.1</mongo.driver.version>
<slf4j.api.version>1.7.36</slf4j.api.version>
<slf4j.version>1.7.36</slf4j.version> <!-- sync with logback version -->
<logback.version>1.2.13</logback.version>
diff --git a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoTestClient.java b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoTestClient.java
index 2233a9f69b..a830fa0f43 100644
--- a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoTestClient.java
+++ b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoTestClient.java
@@ -33,9 +33,6 @@ import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCluster;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.MongoIterable;
-import com.mongodb.client.model.bulk.ClientBulkWriteOptions;
-import com.mongodb.client.model.bulk.ClientBulkWriteResult;
-import com.mongodb.client.model.bulk.ClientNamespacedWriteModel;
import com.mongodb.connection.ClusterDescription;
import org.bson.Document;
@@ -205,30 +202,6 @@ class MongoTestClient implements MongoClient {
return delegate.watch(clientSession, pipeline, resultClass);
}
- @Override
- public ClientBulkWriteResult bulkWrite(List<? extends ClientNamespacedWriteModel> models) {
- return delegate.bulkWrite(models);
- }
-
- @Override
- public ClientBulkWriteResult bulkWrite(List<? extends ClientNamespacedWriteModel> models,
- ClientBulkWriteOptions options) {
- return delegate.bulkWrite(models, options);
- }
-
- @Override
- public ClientBulkWriteResult bulkWrite(ClientSession clientSession,
- List<? extends ClientNamespacedWriteModel> models) {
- return delegate.bulkWrite(clientSession, models);
- }
-
- @Override
- public ClientBulkWriteResult bulkWrite(ClientSession clientSession,
- List<? extends ClientNamespacedWriteModel> models,
- ClientBulkWriteOptions options) {
- return delegate.bulkWrite(clientSession, models, options);
- }
-
@Override
public void close() {
delegate.close();