Endless recovering state of secondary

后端 未结 3 1093
醉梦人生
醉梦人生 2021-02-08 17:47

I build a replication set with one primary, one secondary and one arbiter on MongoDB 3.0.2. The primary and arbiter are on the same host and the secondary is on another host.

3条回答
  •  深忆病人
    2021-02-08 18:40

    Another option (assuming primary has healthy data) is to simply delete the data in the secondary's mongo data folder and restart. This will cause it to sync back up to the primary as if you just added it to the replica set.

提交回复
热议问题