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

awaitable_hello_fcv_change.js doesn't account for window between awaitable hello requests due to reconfig

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • 15

      In awaitable_hello_fcv_change.js, we

      • Send an awaitable hello request to the server
      • Change the FCV. This may cause a reconfig also, leading a possible early response to the hello request.
      • Resend the hello request if necessary, if we received an early response due to reconfig instead of from the FCV change.

      While this is happening, we expect the number of waiting requests until the FCV change is performed to be 1. However, in the window from reconfig, that number may be 0.

      We should use an assert.soon instead to wait for this condition to appear.

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

              Created:
              Updated:
              Resolved: