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

Fix race condition in aggregation_cursor_invalidations.js

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3, 4.1.3
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Query 2018-08-13, Query 2018-08-27
    • Linked BF Score:
      31

      Description

      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).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: