SERVER-136316Open
Remove member-array-order dependencies from replication in DSC
SERVER-134162 was caused by DSC replication code assuming that the members array in the replica set config is always listed in {{_id}} order. That assumption does not hold, as Atlas makes no guarantee about member order, and reconfigs routinely produce configs where members are out of {{_id}} order (for example, new electables inserted ahead of an existing read-only node: {{[_id: 1, _id: 0, _id: 2]}}). The skip-self check in heartbeating was the instance that surfaced in a HELP ticket, but the D