-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Diagnostics
-
None
-
Query Execution
-
Fully Compatible
-
QE 2023-05-29, QE 2023-06-12, QE 2023-06-26
-
(copied to CRM)
With the introduction of the $currentOp aggregation stage, users have the ability to obtain a list of operations running on Secondaries in a sharded cluster by setting the appropriate readPreference. However, this will only provide the operations from a single eligible Secondary in each shard, and the standard approach to more fine-grained targeting - using replica set tags - is both onerous and does not satisfactorily address this shortcoming.
Add a new flag to $currentOp which, if set, stipulates that it should target every data-bearing member in each shard and return an exhaustive list of all operations running anywhere in the cluster.
- depends on
-
SERVER-73557 Add ability for mongos to broadcast the shards part of a pipeline to all primaries and secondaries in a cluster
- Closed
- is related to
-
SERVER-51117 report index information on a per-shard basis via getIndexes or similar command
- Closed
-
SERVER-8136 allow db.currentOp() from mongos to show the query jobs performed on secondaries
- Closed
-
SERVER-76353 Add the ability to force a query to broadcast to all nodes in a replica set and/or all shards in a cluster
- Open
-
SERVER-44823 Sharding support for $planCacheStats
- Closed
- related to
-
SERVER-45032 Allow $planCacheStats to target every shardsvr node in a sharded cluster
- Closed
-
SERVER-73557 Add ability for mongos to broadcast the shards part of a pipeline to all primaries and secondaries in a cluster
- Closed