Support for MongoDB 5.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.1.0 |
Feature Description
This release provides support for MongoDB version 5.0
Upgrade, Migrate, and Backward Compatibility Considerations
-
Supported DRA Releases for Upgrading to 5.0: You can upgrade vDRA 23.1.0/23.2 (mongoDB version,4.4.18) to vDRA 24.1.0 (mongoDB version, 5.0).
-
Un Supported DRA Releases for Upgrading to 5.0: Any DRA version prior to DRA 23.2.0/23.1.0 (Mongo 4.4) and previous versions of DRA, does not support direct upgrade to DRA 24.1 (mongoDB version, 5.0)
Refer the link for upgrading the replica set to 5.0.Note
Upgrading to DRA 24.1 is supported only from DRA 23.1.0 and 23.2.0.
Mongo Java Driver: MongoDB version 4.4 and 5.0 requires Mongo Java Driver version 3.11 and above.
Prerequisite for upgrading to 24.1 from 23.1.0 and 23.2.0The following are the common prerequisites for upgrade:
-
Run the following CLI before upgrade:
#database genericfcvcheck 4.4
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).
-
-
Upgrade to 24.1.0
-
Run the prerequisite steps.
-
Follow the standard documented procedure for upgrade.
Downgrade from 23.1.0 or 23.2.0
-
Run the steps mentioned in the prerequisite section.
-
Follow the standard documented procedure for downgrade.