小编obe*_*beq的帖子

Starting over with replica configuration in mongodb

I did a mistake when configuring replica sets in mongodb. I think that what I did wrong is that I did a rs.initialize() on both nodes, which made them confused in some way. I'm not sure.

Now all I want to do is start over, but I couldn't find a way to de-initialize a node. So I followed the advice to delete the local*db files, thus resetting the configurations. I did that, and now nothing works.

> rs.initiate()
{
    "info2" …
Run Code Online (Sandbox Code Playgroud)

replication mongodb

17
推荐指数
3
解决办法
2万
查看次数

标签 统计

mongodb ×1

replication ×1