[JAVA-5032] Allow $currentOp to retrieve operations from all members of each shard in a cluster Created: 20/Jun/23  Updated: 20/Jun/23  Resolved: 20/Jun/23

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

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
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 Jeffrey Yemin [ 20/Jun/23 ]

The Java driver doesn't have a builder for the currentOp stage.

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