Fix shutdown race condition in repl_monitor_refresh.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • Networking & Obs 2024-12-23, Networking & Obs 2025-01-06, Networking & Obs 2025-01-20
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The repl_monitor_refresh.js test removes a node from a shard and later tries to stop the replset. However, in the process of shutting down, it calls hello on the nodes to : this hello can fail because the removed nodes shuts down its connections. To work around this, we can update the test to wait until the node has been removed and reconnect to it before stopping the set.

              Assignee:
              Patrick Freed
              Reporter:
              Didier Nadeau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: