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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: