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

Race between shutting down replica set and initial sync failing in initial_sync_fails_when_source_removed.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Repl 2021-02-22
    • Linked BF Score:
      11

      Description

      We shut off this failpoint which was hanging initial sync before stopping the replica set. If the replication coordinator realized that the node was in shut down, the node will shut down fine. However, if the node is not in shut down when the initial sync attempt fails, it will fassert.

      I think we should let shut down interrupt the failpoint instead of turning the failpoint off to make sure that the replication coordinator is aware of shutdown when the initial syncer finishes the attempt.

        Attachments

          Activity

            People

            Assignee:
            samy.lanka Samyukta Lanka
            Reporter:
            samy.lanka Samyukta Lanka
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: