commit | b1b7c5a472d41116b7d5b85330b0740a44c4e1f7 | [log] [tgz] |
---|---|---|
author | Julian Reschke <reschke@apache.org> | Wed Mar 06 10:05:53 2024 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 06 10:05:53 2024 +0100 |
tree | 1cc2354ddd1b289099468275d70f6b6588316922 | |
parent | 6e06ed905e25b907b713a5b235ef7c7fe3d6ea43 [diff] |
OAK-10690: Update docs and test config for recommended MongoDB version (#1344)
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 b147433..d0acb50 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
@@ -39,7 +39,7 @@ 1.8.0 - 1.8.6 | 3.4.x 1.8.7 or newer | 3.6.x 1.22.x or newer | 4.0.x -1.40.0 or newer | 4.4.x +1.62.0 or newer | 5.0 (soon 6.0) 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 1e16a5ac..20fe2d7 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 @@ 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;