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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2021-02-22
    • 11

      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.

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

              Created:
              Updated:
              Resolved: