tencent cloud

Feedback

Version Upgrade

Last updated: 2024-01-15 14:40:06

    Overview

    TencentDB for MongoDB allows you to upgrade both the major and minor database versions. You can enjoy more features by upgrading the major version from v3.6 to v4.0 or from v4.0 to v4.2.

    Version Description

    TencentDB for MongoDB supports upgrades from older versions to higher versions, but does not support cross-version upgrades. You can only upgrade the MongoDB from v3.6 to v4.0, v4.0 to v4.2, v4.2 to v4.4, or v4.4 to v5.0. For the feature differences between versions, see Storage Engine and Version.
    You can also upgrade the minor version, for example, the minor version WT.40.3.34 of the major version 4.0.
    During minor version upgrade, the system will automatically detect the minor version and upgrade to the latest version, and you cannot select a target version.
    Note:
    You can implement the upgrade of major version from v3.2 to v4.0 through data migration. For more information, see Creating Migration Task.

    Note

    The upgrade process is completely automatic, and there will be several momentary interruptions during the process. We recommend that you upgrade during off-peak hours.

    Prerequisites

    The instance is not a read-only or disaster recovery instance.
    The instance to be upgraded is in Running status and is not executing any tasks.
    The target version is confirmed.

    Directions

    2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Cluster Instance. The directions for replica set instances and sharded cluster instances are similar.
    3. Above the Instance List on the right, select the region.
    4. In the instance list, find the target instance.
    5. In the Instance ID/Name column of the target instance, click the instance ID to enter the Instance Details page.
    6. In the Specs Info section on the Instance Details page, upgrade the major or minor version of the instance.
    If the major version of the instance is 3.6, click Upgrade to v4.0 after Version and Engine to upgrade the version from v3.6 to v4.0.
    If the major version of the instance is 4.0, click Upgrade to v4.2 after Version and Engine to upgrade the version from v4.0 to v4.2.
    Click Upgrade Minor Version to upgrade the minor version to the latest version by default. For more information, see Version Upgrade.
    
    7. In the Note pop-up window, read the prompt message carefully, confirm the upgrade, and click OK.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support