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

Fix stopping replication in step_down_during_draining3.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.11, 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Repl 2021-09-06, Repl 2021-09-20
    • 35

      Test enable 'rsSyncApplyStop' fail point before inserting documents to the primary, but we don't wait for the fail point to be enabled, so there was a race condition and the replication happened before the fail point got enabled.

       

      Use stopReplicationOnSecondaries(rst) util function instead.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: