Expose a function that kills the current running operations

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      Mongosh users want a want to kill a long running operation by hitting `ctrl+c`, as described in this ticket: https://jira.mongodb.org/browse/MONGOSH-1243

      Currently we're unable to implement this in mongosh due `activeSessions` not being publicly exposed. 

      Our ideal solution requires the driver to expose the functionality that allows us to run killOp on a specific MongoClient and the driver is responsible for session identification and management.

      User Impact

      Ticket opened for mongosh: https://jira.mongodb.org/browse/MONGOSH-1243

      Dependencies

      • upstream and/or downstream requirements and timelines to bear in mind

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • functional reqs, potential snafus to avoid, performance targets, etc

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc

            Assignee:
            Unassigned
            Reporter:
            Gaurab Aryal
            None
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: