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

Fix stopping replication in step_down_during_draining3.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.11, 5.0.4, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Repl 2021-09-06, Repl 2021-09-20
    • 35

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: