[CSHARP-4680] Investigate changes in SERVER-34633: Allow $currentOp to retrieve operations from all members of each shard in a cluster Created: 20/Jun/23  Updated: 28/Jun/23  Resolved: 28/Jun/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: James Kovacs
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Server Compat: 7.1
Upstream Changes Summary:

DRIVERS-2653:
See DRIVERS-2653:
This change adds an option to $currentOp stage. {$currentOp: {targetAllNodes: val}} where if val is true, currentOp outputs a document for every data bearing node for all shards. (If there are 3 shards, each a 3 node replica set, we will get 9 docs). If val is false, currentOp outputs a document for every shard.

Documentation Changes Summary:

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?


 Description   

This ticket was split from DRIVERS-2653, please see that ticket for a detailed description.



 Comments   
Comment by James Kovacs [ 28/Jun/23 ]

We do not currently expose the AstCurrentOpStage in LINQ. While we could add the new targetAllNodes parameter, users would not be able to use it. If and when we expose AstCurrentOpStage we will revisit adding the new parameter.

Generated at Wed Feb 07 21:49:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.