Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1309

Investigate killing the session as a way to cancel the active operation when the user presses ctrl-c

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed

      This came out of the node sync call:

      My understanding is that there should at least be an implicit session and we can kill the active session(s).

      See https://github.com/mongodb/node-mongodb-native/blob/9654442883ac4c8721f3965c0fa21a746eadb3ea/src/mongo_client.ts#L360-L361

      This ticket would be to try and see if that works and if we want to solve this that way.

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: