Docs 菜单
Docs 主页
/ /

Downgrade Major MongoDB Version for a Cluster

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:

  • 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:

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.

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

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 Database 标题下的 Clusters

会显示集群页面。

2
3

将显示一个模态窗口,其中包含 Feature Compatibility VersionSet expiration date字段。

4

所有日期均设置为时间戳,采用 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

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 Database 标题下的 Clusters

会显示集群页面。

2
3

将显示一个模态窗口,其中包含 Feature Compatibility VersionEdit expiration date字段。

4

To unpin the FCV for your cluster using the Atlas Administration API, see Unpin FCV for One Cluster from One Project.

要将集群降级一个主要版本,请执行以下操作:

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 Database 标题下的 Clusters

会显示集群页面。

2
3
4

此时将显示一个警告横幅,指示集群的MongoDB版本将被降级。

如果您对迁移支持有任何超出本文档范围的问题, 或者在迁移过程中遇到错误, 请通过 Atlas 用户界面提交支持工单。

如果您有任何疑问或需要进一步帮助,请联系我们的支持团队。

后退

Upgrade Major MongoDB Version

在此页面上