Abhinms / Infra

0 stars 0 forks source link

How to make primary and second in mongo db #29

Open Abhinms opened 2 years ago

Abhinms commented 2 years ago

didnt require to restart while changing primary and secondary Only change priority rs.conf() cfg.rs.members[1].priority=10 rs.reconfig(cfg)