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

$listLocalCursors test only agg stage

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Platforms 2017-10-02, Platforms 2017-10-23

      Add a $listLocalCursors agg stage (buried behind enableTestCommands) to allow killSessions to tell if it's actually killed associated cursors.

      It should provide a trimmed down list of cursors on mongos and mongod of the form:

      { id: CURSOR_ID, lsid: LOGICAL_SESSION_ID, ns: NAMESPACE_STRING }

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: