Loading...
Loading...
On master, the test still writes immediately after the failover helper returns. The helper waits for replica-set readiness, but not for mongos to recognize the new primary. Mongos can therefore route the insert to the old primary, now a secondary, which correctly refuses the write. We should make sure mongos is also synchronized before proceeding.
MongoDB Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.