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

Fix stopping replication in step_down_during_draining3.js

    XMLWordPrintable

    Details

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

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

              Dates

              Created:
              Updated:
              Resolved: