I'm looking at setting up MongoDB partition sets across multiple data centers for geo-redundancy. From the documentation, it looks like fail over is automatic only for reads because secondary in other DC is set to priority 0. Is there a pattern commonly used to achieve automatic write fail over? If it is not possible, what are the steps to promote the secondary in other DC as primary?
↧