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

stopReplicationOnSecondaries needs to wait for replication after changing CWWC

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc3, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-06-28
    • 83

    Description

      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.

      Attachments

        Activity

          People

            m.maher@mongodb.com Moustafa Maher
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: