Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57875

stopReplicationOnSecondaries needs to wait for replication after changing CWWC

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: