Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68709 Write more comprehensive test cases for hedged reads with mock implementation
  3. SERVER-69980

Write comprehensive test cases using mock for hedged reads where the hedged operation fails first

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2022-10-03, Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-14

      Cases to test in this sub-task: 

      • The hedged read fails first with an ignorable error, and the authoritative read fails with an ignorable error. The counters show: succeeded: 2 and canceled: 0. The ignorable error is seen as the response.
      • The hedged read fails first with an ignorable error, and the authoritative read fails with a fatal error. The counters show: succeeded: 2 and canceled: 0. The fatal error is shown as the response.
      • The hedged read fails first with an ignorable error, and the authoritative read succeeds. The counters show: success: 1 and failed: 1 and canceled: 0. The success response is shown as the response.
      • The hedged read fails with a fatal error, and the authoritative request is canceled. The counters show success: 1 and canceled: 1. The failure is shown as the response.

            Assignee:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: