I know Mongodb suggest the replication set minimum is 3
Can I use two servers to install Mongodb with 4 replication sets in order to prevent Write failure when one node down?
My idea is to install two more instances on each server to fake/get rid of it:
Mongodb 1
- Replcation set 1 (Master)
- Replcation set 2 (Secondary)
Mongodb 2
- Replcation set 3 (Secondary)
- Replcation set 4 (Arbiter)
If one server down, it still has two replication sets for it.
Can anyone can comment my idea? I would like to know is there any issue/risk needed to consider? Thanks!