As seen in AF-2729, the unsupportedSyncSource server parameter forces a specific sync source to be chosen, bypassing read preference checks, this means if the specified node becomes primary and the existing node goes into initial sync where we have a initialSyncReadPreference of SecondaryOnly then we can end up hitting this invariant
This is a pretty niche case, but we should probably modify the invariant line to avoid it from triggering here
- is related to
-
SERVER-77856 Provide Atlas with a way to choose a specific initial sync sync source
-
- Closed
-