Ensure cursors are not leaked when cancelling in-progress operations

XMLWordPrintableJSON

    • Networking & Observability
    • ALL
    • Service Arch 2023-02-20
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-47602 reported an issue with out-of-order processing of _killOperations for hedged reads. This could cause leaking of cursors created on mongod servers to serve hedged reads. This ticket should write a repro and fix the issue to avoid leaking cursors while hedging reads.

      Edit: cancellation of any in-progress request is susceptible to this issue, even when not hedging.

              Assignee:
              Unassigned
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated: