stopReplicationOnSecondaries needs to wait for replication after changing CWWC

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-06-28
    • 83
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We change the CWWC in stopReplicationOnSecondaries before stopping replication. This generates a new oplog entry, which could mean that not all secondaries are at the same optime when we stop replication, which could cause a node that we attempt to step up to fail to get elected.

            Assignee:
            Moustafa Maher
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: