SERVER-132633ClosedFixed

Retry replSetStepUp in remove_newly_added_field_after_finishing_initial_sync.js

h3. Problem jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js's local {{stepUpNode()}} helper calls {{replSetStepUp}} once with no retry. A real election can legitimately fail even after its dry run succeeds (a "spoiled vote" when the responder's concurrent stepdown interrupts its {{LastVote}} write — see {{ReplicationCoordinatorImpl::processReplSetRequestVotes}}, already covered by {{NodeFailsVoteRequestIfItFailsToStoreLastVote}}). This is exactly why {{ReplSetTest.st

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.0.7
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.