This topic describes how to upgrade the minor version of an ApsaraDB for MongoDB instance to the latest in the ApsaraDB for MongoDB console.

Prerequisites

  • The instance is a replica set or sharded cluster instance.
  • The instance is not running the latest minor version. When you use the latest minor version, the ApsaraDB for MongoDB console does not display the Upgrade Minor Version button for the instance.

Precautions

  • You cannot downgrade an instance after you upgrade it.
  • When an instance undergoes a minor version upgrade, it is restarted and has a brief disconnection of less than 30 seconds. We recommend that you perform the upgrade during off-peak hours or make sure that your application is configured to reconnect to the instance after it is disconnected.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the region where the target instance resides.
  3. In the left-side navigation pane, click Replica Set Instances or Sharding Instances.
  4. Find the target instance and click its ID.
  5. On the Basic Information page, click Upgrade Minor Version.
    Click Upgrade Minor Version
    Note When you use the latest minor version, the console does not display the Upgrade Minor Version button for the instance.
  6. In the Upgrade Minor Version message that appears, view the version release log and determine whether to upgrade the instance.
    View the version release log
    Note If you want to upgrade the instance, click Submit. Otherwise, click Close.
  7. Wait until the instance status changes from Upgrading to Running.