Two nodes MongoDB replica set without arbiter

前端 未结 4 1037
谎友^
谎友^ 2021-01-11 13:23

Is it possible to create a MongoDB replica set consisting of only 1 primary and 1 secondary member? I would like to have delayed replica set that will copy data from primary

4条回答
  •  春和景丽
    2021-01-11 13:58

    In this case, the best option is add an arbiter. I tried before with votes, but on 2 nodes replicaset you can have some issues with sync.

提交回复
热议问题