I had to add a new secondary node to my replica set yesterday so that I could do maintenance on another secondary node. Now that the maintenance is complete, I'd like to remove one of the secondaries to return to my original configuration.
The problem is that I've seen that the primary node always steps down to a secondary for a few moments while a vote is performed. That's all well and good, but is there a way I can make that not happen? I'm under a pretty heavy write-load and I don't want to fail any writes.
Appreciate any help!