alibaba / MongoShake

MongoShake is a universal data replication platform based on MongoDB's oplog. Redundant replication and active-active replication are two most important functions. 基于mongodb oplog的集群复制工具,可以满足迁移和同步的需求,进一步实现灾备和多活功能。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There has no oplog collection in mongo db server

appnaa opened this issue · comments

commented

源端数据库初始化了副本集,也添加了keyfile文件,只有这一个主节点,这样可以吗?但是启动mongoshake之后还是
./collector.linux -conf=collector.conf
[16:20:27 CST 2023/06/01] [CRIT] (github.com/alibaba/MongoShake/v2/collector/coordinator.(*ReplicationCoordinator).sanitizeMongoDB:143) There has no oplog collection in mongo db server
no oplog ns in mongo. See https://github.com/alibaba/MongoShake/wiki/FAQ#q-how-to-solve-the-oplog-tailer-initialize-failed-no-oplog-ns-in-mongo-error
[16:20:27 CST 2023/06/01] [CRIT] (main.startup:145) run replication failed: no oplog ns in mongo. See https://github.com/alibaba/MongoShake/wiki/FAQ#q-how-to-solve-the-oplog-tailer-initialize-failed-no-oplog-ns-in-mongo-error