Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单实例之间同步no oplog #858

Open
0521ak47 opened this issue Feb 4, 2024 · 1 comment
Open

单实例之间同步no oplog #858

0521ak47 opened this issue Feb 4, 2024 · 1 comment

Comments

@0521ak47
Copy link

0521ak47 commented Feb 4, 2024

两个单实例之间同步出现,There has no oplog collection in mongo db server
mongo-shake版本2.8.4,是否只是支持副本?

@785468931
Copy link

785468931 commented Mar 21, 2024

单实例开启oplog(模拟非单实例,产生oplog)
./mongod --replSet siglers0- -config mongod.cfg(你的配置) # 启动mongod
./mongo -port 3700你的端口
rs.initiate()
use local
db.oplog.rs.find()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants