This is an automated email from the ASF dual-hosted git repository.
rishabhdaim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 69a6c68ac6 Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1
(#3001)" (#3012)
69a6c68ac6 is described below
commit 69a6c68ac62014e018386fc5efcbabf1e9680379
Author: Rishabh Kumar <[email protected]>
AuthorDate: Wed Jul 8 14:33:38 2026 +0530
Revert "OAK-12295 : bump mongo-driver-sync to 5.3.1 (#3001)" (#3012)
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();