Fix race condition in aggregation_cursor_invalidations.js

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.3, 4.1.3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • v4.0
    • Query 2018-08-13, Query 2018-08-27
    • 31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Modify the test to check whether there are any open cursors using $listLocalCursors rather than db.serverStatus(). This will allow to test whether there are any open cursors on the collection being used, rather than whether there are any open cursors (which may include cursors opened by background jobs and so on).

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

                Created:
                Updated:
                Resolved: