Rishabh Daim created OAK-12481:
----------------------------------

             Summary: Require MongoDB 4.2 or newer for DocumentNodeStore
                 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


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.
* 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].




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to