SERVER-50111ClosedFixed

Secondary stuck with old sync source for reporting up to 30 seconds

EDIT: Cancelling the reporter on changing sync source is a more robust solution. syncSourceFeedbackNetworkTimeoutSecs is currently [hardcoded to 30s|https://github.com/mongodb/mongo/blob/eae31861e0f813f0099e1d490c4a622d75cd5a08/src/mongo/db/repl/sync_source_feedback.cpp#L57]. In case of network partition, the sync source feedback report might need to take 30s before timing out on the replSetUpdatePosition remote command against the old sync source even though the node has selected a new sync

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Replication
Labels
Tags and classification
former-quick-winsrepl-shortlist