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.
- ApsaraDB for MongoDB automatically updates the minor version of the instance to the latest version if the minor version of an ApsaraDB for MongoDB instance expires or is not included in the maintenance list and when you perform some operations. This ensures that the ApsaraDB for MongoDB instance can provide higher performance and stability. For more information, see Database version upgrade, Data migration, Overview, Restore backup data to a new ApsaraDB for MongoDB instance by backup point, Restore backup data to a new ApsaraDB for MongoDB instance by point in time, and Restore one or more databases of an ApsaraDB for MongoDB instance.