$listLocalCursors test only agg stage

XMLWordPrintableJSON

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

      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
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: