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

Respond to heartbeats until reconfig thread finishes in StepdownShouldInterruptConfigWrite

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2020-06-29
    • 0

      On slow machines, the StepdownShouldInterruptConfigWrite unit test in replication_coordinator_impl_reconfig_test.cpp can fail due to the reconfig thread here not finishing before we attempt to respond to heartbeats. 

       

      A solution would be to wait until the status variable is set, and then respond to heartbeats.

            Assignee:
            ali.mir@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: