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

ContinuousStepdown can run indefinitely if mongod crashes while stepping down

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v6.0, v5.0, v4.4, v4.2
    • Repl 2022-10-31, Repl 2022-11-14
    • 120

      If mongod crashes while stepping down, this while True loop will run forever. This means that eventually Evergreen will have to kill the process and that can make it harder to diagnose the problem since we'll have a lot more logs / the logs might be missing because the logs grew too large.

      We should change that loop so that it retries for a fixed amount of time, similar to what is being done for step up by the hook here.

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: