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

Fix shutdown race condition in repl_monitor_refresh.js

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

      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@mongodb.com Patrick Freed
            Reporter:
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: