The following procedures allow you to pin or unpin the FCV for your cluster, downgrade your cluster by one major version, or file a support ticket.
限制
降级集群版本时应用以下限制:
You can only downgrade your cluster using the procedure on this page if you pinned the FCV before upgrading.
您只能将集群降级到与固定的FCV匹配的主要版本。
You can only perform this action if the pinned FCV is only one major version below the current FCV and you don't have rapid release enabled.
You can't downgrade to a version after it reaches end-of-life. Ensure pinning occurs before the current version reaches end-of-life.
FCV固定仅适用于专用集群。
FCV 固定不能延长超过 4 周(自固定之日起)。
If a downgrade is necessary, and you did not pin the FCV before upgrading, you can:
Restore to a specific point in time:
If you have Continuous Cloud Backup enabled for your cluster, you can perform a PIT restore to restore your cluster to a previous state with the older MongoDB version:
Create a new cluster with the previous major version.
Perform a PIT restore using the instructions in Restore from Continuous Cloud Backup.
Restore from an Atlas snapshot:
If you have Cloud Backup enabled without continuous cloud backups, consider restoring the latest snapshot of the cluster based on the previous version to a new cluster:
Create a new cluster with the previous major version.
Restore the latest snapshot before the MongoDB version upgrade to the new cluster using the instructions in Restore from a Scheduled or On-Demand Snapshot.
必需的访问权限
To downgrade a cluster by a major version, pin the FCV for your cluster, or unpin the FCV for your cluster, you must have the Project Owner or higher role for the project.
固定集群的FCV
When your cluster has a pinned FCV, a pin icon appears next to your cluster's Version at the bottom of the cluster card. If you hover your cursor over the pin icon, a tooltip that shows the FCV and the expiration date appears.
Atlas会在到期日期当日或之后开始的下一个维护窗口取消固定集群的FCV 。
如果您已经升级了集群的MongoDB版本,Atlas会在 PIN 过期后升级其FCV以匹配其MongoDB版本。
要固定集群的FCV :
在Atlas中,转到项目的Clusters 页面。
如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。
如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。
在侧边栏中,单击 Database 标题下的 Clusters。
会显示集群页面。
设置到期日期。
所有日期均设置为时间戳,采用 ISO 8601 日期和时间格式,时区为 UTC,格式为 MM/DD/YYYY。将特征兼容性版本的失效日期设置为您固定特征兼容性版本日期后的四周内。超过失效日期后,工具提示将显示 Expired XX/XX/XXXX。您的特征兼容性版本固定将在 4 周后自动过期。
FCV固定到期后, Atlas会在到期日期当日或之后开始的下一个维护窗口取消固定集群的FCV 。如果您已经升级集群的MongoDB版本, Atlas会升级其FCV以匹配其MongoDB版本。
To pin the FCV for your cluster using the Atlas Administration API, see Pin FCV for One Cluster from One Project.
取消固定集群的FCV
要为集群取消固定FCV :
在Atlas中,转到项目的Clusters 页面。
如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。
如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。
在侧边栏中,单击 Database 标题下的 Clusters。
会显示集群页面。
To unpin the FCV for your cluster using the Atlas Administration API, see Unpin FCV for One Cluster from One Project.
将集群降级一个主要版本
要将集群降级一个主要版本,请执行以下操作:
在Atlas中,转到项目的Clusters 页面。
如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。
如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。
在侧边栏中,单击 Database 标题下的 Clusters。
会显示集群页面。
联系支持人员
如果您对迁移支持有任何超出本文档范围的问题, 或者在迁移过程中遇到错误, 请通过 Atlas 用户界面提交支持工单。