mongodb - 将 mongodb 从 4.2 升级到 4.4 失败,出现“...不支持的 WiredTiger 文件版本...”
问题描述
我已将我的 mongodb 从 4.2 升级到 4.4。我以为我的 setFeatureCompatibilityVersion 是 4.2 但我错了。它是 3.x 所以我再次运行 4.2 实例将 setFeatureCompatibilityVersion 设置为 4.2 但这失败了
现在我得到这个错误
db version v4.2.3
....so setting the active storage engine to 'wiredTiger'
2020-08-26T21:38:45.656+0300 E STORAGE [initandlisten] WiredTiger error (-31802) [1598467125:655293][2016:140717972479568], connection: __log_open_verify, 926: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error Raw: [1598467125:655293][2016:140717972479568], connection: __log_open_verify, 926: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error
2020-08-26T21:38:45.694+0300 F STORAGE [initandlisten] Reason: -31802: WT_ERROR: non-specific WiredTiger error
请任何帮助将不胜感激我在死胡同我的最后一次备份是一天前我不想错过我的数据
再次提前感谢任何人。
解决方案
好的。对谁有帮助
my 4.2.x version was 4.2.3
what i did is download the latest 4.2.x version that is 4.2.9
i run my data folder against 4.2.9 binaries and voilla works.
now i can take a backup
next will change the FCV to 4.2.
next use the 4.4 binaries against my data folder
next change the FCV to 4.4
:) 10x2all
推荐阅读
- r - 创建 Padovan 序列的函数
- html - 只需使用标签并希望在移动平台中对其进行自定义
- spring-boot - 在springboot2.0中使用ehcache时'sync = true'是否有效
- sql - PostgreSQL 中的 percentile_cont 的奇怪结果是多年来每个 mmdd 的 count(*)
- c# - 将 [数据类型] nvarchar 转换为整数时出错
- c++ - Ratio<,> 是常数,但如果我想接受不同的比率作为参数怎么办?
- scheme - 方案 - 字符串附加两个字符串列表
- java - Java 错误:“org.apache.camel.FailedToCreateRouteException:无法创建路由 route1”
- adobe - 如何绕过机器人检查而不旋转我的 IP?
- c# - 为类的实例创建方法