Change-Stream Migration vs. Secondary Promotion for Zero-Downtime Switchover
A small MongoDB application must switch its primary endpoint without service interruption, choosing between two documented migration pathways. Change-stream migration forwards oplog events to a consumer, while secondary promotion elevates a read-only replica to primary status. Both require client-side adjustments to read-write targets. Change-stream delivery