gpt4 book ai didi

mongodb - 使用 Arbiter 将两个节点的副本集升级到 3.6 后出现 Arbiter 功能兼容性问题

转载 作者:IT老高 更新时间:2023-10-28 13:29:24 33 4
gpt4 key购买 nike

我已按照此说明将 MongoDB 副本集升级到 3.6 https://docs.mongodb.com/manual/release-notes/3.6-upgrade-replica-set/ .当我执行命令时

db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } )

Primary 和 Secondary 都将功能兼容性更新到 3.6,但 Arbiter 功能兼容性保持在 3.4。

为什么它仍然是 3.4 以及如何使 Arbiter 具有与 Primary 和 Secondary 相同的功能兼容性?

最佳答案

来自 MongoDB 3.6.7 arbiters continuously log "Using sessions while not fully upgraded to FCV3.6" even though replset is FCV3.6 :

Arbiters always have the downgrade value of FCV, regardless of the FCV of the replica set. So if the arbiter has binary version 3.6, it will always have FCV=3.4. They never learn the FCV, since they do not replicate the admin.system.version collection. Arbiters' behavior is not allowed to depend on FCV for this reason.

关于mongodb - 使用 Arbiter 将两个节点的副本集升级到 3.6 后出现 Arbiter 功能兼容性问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48225790/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com