Add test coverage for case where pinned cursor is killed after all calls to checkForInterrupt on mongos

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • v3.6
    • Query 2018-03-26, Query 2018-04-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Without some kind of "local" curOp on mongos, it's impossible to tell whether a failpoint has been hit. Because of this, we cannot have (non-flaky) test coverage for the case where a pinned cursor is killed at a point where the operation using the cursor won't call checkForInterrupt again.

      Once we have a "local" curOp, it will be easy to modify jstests/sharding/kill_pinned_cursor.js to check this case.

              Assignee:
              Ian Boros
              Reporter:
              Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: