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 }- related to
-
SERVER-37008 Remove $listLocalCursors stage and update tests that use it
- Closed