[SERVER-19658] Allow client to specify or initially obtain op id Created: 30/Jul/15  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Andre de Frere Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Query Execution
Participants:
Case:

 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


Generated at Thu Feb 08 03:51:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.