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

stopReplicationOnSecondaries needs to wait for replication after changing CWWC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc3, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Sprint:
      Repl 2021-06-28
    • Linked BF Score:
      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

            Assignee:
            m.maher Moustafa Maher
            Reporter:
            samy.lanka Samyukta Lanka
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: