mongodb 成员卡在启动 2 中

问题描述

我有 3 个节点的 mongo 副本集。一小学一中学。 一个节点关闭并且没有出现,所以我删除了他的数据目录内容并启动它(强制同步) 但第三个节点卡在 STARTUP2 状态,我在他的日志中不断收到这些错误

: [ { durationMillis: 224240,status: "MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch
 callback :: caused by :: operation exceeded time limit"

直到我得到这个并且节点崩溃了:

2021-02-02T17:06:25.616Z F REPL     [replication-13] The maximum number of retries have been exhausted for initial sync.
2021-02-02T17:06:25.616Z I STORAGE  [replication-13] Finishing collection drop for local.temp_oplog_buffer (266f975f-2ae8-4ec4-a2b2-8304d13ef23d).
2021-02-02T17:06:25.623Z E REPL     [replication-13] Initial sync Failed,shutting down Now. Restart the server to attempt a new initial sync.
2021-02-02T17:06:25.623Z F -        [replication-13] Fatal assertion 40088 MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit at src/mongo/db/repl/replication_coordinator_impl.cpp 703
2021-02-02T17:06:25.623Z F -        [replication-13]

***aborting after fassert() failure

你能帮我做什么吗?!!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)