Replicaset master switchover
The scenario of replicaset master switching (in runtime) should be designed, implemented and tested well.
- What API will be responsible for that?
- What if switchover fails?
- Guarantee consistency during the process.
- Account schema change.