[
https://issues.apache.org/jira/browse/OAK-12481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim updated OAK-12481:
-------------------------------
Description:
MongoStatus.checkVersion() still accepts MongoDB 2.6, although all supported
Java drivers require newer servers. Align Oak's check and documentation without
dropping combinations supported by older drivers.
* Require MongoDB 4.0 in Oak's check, matching drivers 5.2–5.4. Driver 5.5
independently requires MongoDB 4.2.
* Document these driver-specific limits from Oak 2.10.0 and the
server-before-driver upgrade order.
* Recommend MongoDB 8.0 for production and note that 6.0 and earlier are end of
life.
* Remove the unused parent POM mongo.version=3.6 declaration, preserving the
separate Docker test image override.
* Add version-boundary tests that run without MongoDB and validate repository
operations against supported server versions.
Related driver upgrade: OAK-12478 / [PR
#3233|https://github.com/apache/jackrabbit-oak/pull/3233]. This cleanup does
not block that upgrade.
was:
MongoStatus.checkVersion() currently accepts MongoDB 2.6 and newer. The driver
5.5 upgrade in OAK-12478 requires MongoDB 4.2 or newer. Align Oak's minimum
before that upgrade.
* Require MongoDB 4.2 in the version check and error message.
* Document the minimum from Oak 2.10.0 and the server-before-Oak upgrade order.
Recommend MongoDB 8.0 for production and note that 6.0 and earlier are end of
life; 4.2 is a compatibility minimum, not a production recommendation.
* Remove the unused parent POM mongo.version=3.6 declaration, preserving the
separate Docker test image override.
* Add version-boundary tests that run without MongoDB and validate basic
repository operations on MongoDB 4.2 and 8.0.
The driver can reject an incompatible server before Oak queries its version;
the change aligns Oak's policy without adding another connection probe.
Driver upgrade: [PR #3233|https://github.com/apache/jackrabbit-oak/pull/3233].
Summary: Align MongoDB server requirements with supported Java drivers
(was: Require MongoDB 4.2 or newer for DocumentNodeStore)
> Align MongoDB server requirements with supported Java drivers
> -------------------------------------------------------------
>
> Key: OAK-12481
> URL: https://issues.apache.org/jira/browse/OAK-12481
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mongomk
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Minor
>
> MongoStatus.checkVersion() still accepts MongoDB 2.6, although all supported
> Java drivers require newer servers. Align Oak's check and documentation
> without dropping combinations supported by older drivers.
> * Require MongoDB 4.0 in Oak's check, matching drivers 5.2–5.4. Driver 5.5
> independently requires MongoDB 4.2.
> * Document these driver-specific limits from Oak 2.10.0 and the
> server-before-driver upgrade order.
> * Recommend MongoDB 8.0 for production and note that 6.0 and earlier are end
> of life.
> * Remove the unused parent POM mongo.version=3.6 declaration, preserving the
> separate Docker test image override.
> * Add version-boundary tests that run without MongoDB and validate repository
> operations against supported server versions.
> Related driver upgrade: OAK-12478 / [PR
> #3233|https://github.com/apache/jackrabbit-oak/pull/3233]. This cleanup does
> not block that upgrade.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)