Details
Description
The sync source will not change from a node which is a non-voting node to a node which is not ahead (from the perspective of the syncing node). So before we can expect such a sync source change, we must wait for the syncing node see the sync source get ahead (via heartbeats).