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

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


The following commit(s) were added to refs/heads/1.22 by this push:
     new 6d85645362 OAK-10690: Update docs and test config for recommended 
MongoDB version (5.0)
6d85645362 is described below

commit 6d85645362aaddd5c45668a7ab05aac70f782cb3
Author: Julian Reschke <[email protected]>
AuthorDate: Wed Mar 6 10:05:53 2024 +0100

    OAK-10690: Update docs and test config for recommended MongoDB version (5.0)
---
 oak-doc/src/site/markdown/nodestore/document/mongo-document-store.md    | 1 +
 .../apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/oak-doc/src/site/markdown/nodestore/document/mongo-document-store.md 
b/oak-doc/src/site/markdown/nodestore/document/mongo-document-store.md
index 6abc0bba17..00febf5323 100644
--- a/oak-doc/src/site/markdown/nodestore/document/mongo-document-store.md
+++ b/oak-doc/src/site/markdown/nodestore/document/mongo-document-store.md
@@ -41,6 +41,7 @@ Oak Release | MongoDB version
 1.8.0 - 1.8.6 | 3.4.x
 1.8.7 or newer | 3.6.x
 1.10.x or newer | 4.0.x
+1.22.x or newer | 5.0.x
 
 For production deployments use a replica-set with at least three mongod
 instances and a majority write concern. Fewer than three instances (e.g. two
diff --git 
a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java
 
b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java
index 6d73c0a8b9..95b86550d0 100644
--- 
a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java
+++ 
b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java
@@ -43,7 +43,7 @@ public class MongoDockerRule extends ExternalResource {
 
     private static final Logger LOG = 
LoggerFactory.getLogger(MongoDockerRule.class);
 
-    private static final String VERSION = System.getProperty("mongo.version", 
"4.4");
+    private static final String VERSION = System.getProperty("mongo.version", 
"5.0");
     private static final String MONGO_IMAGE = "mongo:" + VERSION;
     private static final AtomicReference<Exception> STARTUP_EXCEPTION = new 
AtomicReference<>();
     private static final int DEFAULT_MONGO_PORT = 27017;

Reply via email to