Support for MongoDB 6.0 Version in vDRA
Feature Summary and Revision History
Applicable Product(s) or Functional Area |
vDRA |
Applicable Platform(s) |
Not Applicable |
Default Setting |
Enabled – Configuration Required |
Related Changes in This Release |
Not Applicable |
Related Documentation |
Not Applicable |
Revision Details |
Release |
---|---|
First introduced |
24.2.0 |
Feature Description
This release provides support for MongoDB version 6.0
Upgrade, Migrate, and Backward Compatibility Considerations
-
Supported DRA Releases for Upgrading to 6.0: You can upgrade vDRA 24.1.0 (mongoDB version,5.0) to vDRA 24.2.0 (mongoDB version, 6.0).
-
Un Supported DRA Releases for Upgrading to 6.0: Any DRA version prior to DRA 24.1(mongo 5.0) like DRA 23.1/23.2(mongo 4.4), 22.2 (mongo 4.2) and previous versions of DRA doesn’t support direct upgrade to DRA 24.2(mongo version 6.0)
Refer the link for upgrading the replica set to 6.0.Note
Upgrading to DRA 24.2 is supported only from DRA 24.1.0
Mongo Java Driver: Current DRA Version 24.2.0 supports mongo java driver 3.12.9.
Prerequisite for upgrading to 24.2.0 from 24.1.0The following are the common prerequisites for both upgrade and downgrade:
-
Run the following CLI before upgrade:
#database genericfcvcheck 5.0
Note
Make sure to run the above CLI before upgrade and / or downgrade on all sites.
-
Specify any one of the CLI options:
-
Set: This option checks and sets FCV only on primary.
Note
We recommend using the Set option first and then Check to make sure that FCV is replicated on primary members. Upgrade/downgrade should not be triggered if any error is found in the above CLI or FCV is not replicated on secondary members. Make sure to resolve the CLI error, rerun the CLI, and then only proceed for upgrade or downgrade.
-
Check: This option only checks FCV on all members (primary, secondary, and arbiter).
-
-
Run the following CLI before upgrade:
#database dwccheck
Note
CLI automatically takes care of the defaultWriteConcern version on all databases.
-
Specify any one of the CLI options:
-
Set: This option checks and sets dwc on primary members.
Note
We recommend using the Set option first and then Check to make sure that DWC is replicated on primary members. Upgrade/downgrade should not be triggered if any error is found in the above CLI or DWC is not replicated on secondary members. Make sure to resolve the CLI error, rerun the CLI, and then only proceed for upgrade or downgrade.
-
Check: This option only checks dwc on all members.
-
(set/check) << set
-
Set: This option checks and sets defaultWriteConcern.
-
Check: This option only checks defaultWriteConcern on all members(primary/secondary).
-
-
Deprecated Mongo Commands and Parameters
-
From 24.2.0, the mongo command is replaced with mongosh command. Refer the following mongosh command usage example:
root@mongo-s105:/# mongosh --port 27033 Using MongoDB: 6.0.15 Using Mongosh: 1.10.6 orchestrator[primary] test>
-
The following parameters are renamed in MongoDB 6.0:
Previous Name
New Name
wiredTigerConcurrentReadTransactions
storageEngineConcurrentReadTransactions
wiredTigerConcurrentWriteTransactions
storageEngineConcurrentWriteTransactions
Upgrade to 24.2.0
-
Run the prerequisite steps.
-
Follow the standard documented procedure for upgrade.
Downgrade from 24.2.0
-
Run the steps mentioned in the prerequisite section.
-
Follow the standard documented procedure for downgrade.