SERVER-135299Open

Node should not vote during STARTUP2

A data bearing node usually votes yes only if the candidate is ahead of the voter. During Initial Sync, a node cannot know if the candidate is ahead or not, so it should not be able to vote. This would mimic the behavior of a “newlyAdded” node to the replset (node added using replSetReconfig). We first need to verify this change would not have unintended consequences with TLA+ (should be done as part of SERVER-136912). This should be behind a feature flag. AI taken from WRITING-39616 and W

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.