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

Rephrase establish_cursors unittest InterruptedWithDanglingRemoteRequest to avoid failpoint

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2023-02-06, Service Arch 2023-02-20

      One of the establish cursors unittests uses a failpoint that intercepts requests being scheduled by the ARS to ensure that a request to a particular HostAndPort hangs before being scheduled on the mock network interface. Now that we're pushing host-and-ort targeting down to a layer below the ARS  and rephrasing the ARS internals, we need to rewrite this test. The purpose of the test is to ensure that after establishCursors has recieved one successful response from the ARS, but one response is still dangling when the opCtx is interrupted, establishcCursors sends 2 _killOperations (one to each host) to clean up cursors. 

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: