Retry on CommandFailed in blockUntilIndexQueryable when mongot is transiently unreachable

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • v8.3, v8.2
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      `blockUntilIndexQueryable` in `search_index_command_testing_helper.h` threw immediately on `CommandFailed` from `getStatusFromCommandResult`, which in this code path exclusively means a mongod could not reach its mongot-localdev. Retry with a 500 ms sleep instead so transient unavailability on slow sanitizer builds does not produce spurious BFs.

            Assignee:
            Mariano Shaar
            Reporter:
            Mariano Shaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: