unsupportedSyncSource server parameter can cause invariant

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: