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

Allow client to specify or initially obtain op id

    XMLWordPrintable

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Internal Code
    • None

    Description

      Currently it is necessary to query the currentOp output in order to determine which operations belong to a client. It would be helpful if the client could obtain (or define) the op id (on cursor creation for example, or in a command result) so that the client could, for example 'clean up' after itself in the case of failure (or long running query).

      For a practical example, the shell currently searches for all operations with it's own client address, in order to kill them when ctrl+c. If the shell knew the op ids of the operations that it was running, it would be a cleaner way of killing those operations on ctrl+c

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: