-
Type: Story
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell API
-
None
-
Iteration Xochimilco, Iteration Quahog, Iteration Ragfish, Iteration Seahorse, Iteration Turtle, Iteration Unicornfish
-
Not Needed
Both Compass and mongosh use the collStats and currentOp commands, which are being deprecated in PM-2362. We should migrate both of them to use the $collStats and $currentOp stages instead. This is the mongosh ticket for that.
Note that the legacy shell has a fallback for $currentOp in place due to missing Atlas support for the aggregation form (CLOUDP-89361): https://github.com/mongodb/mongo/blob/237b218974e4fc09104c81fe0bb1ba83688d8035/src/mongo/shell/db.js#L810-L815
- causes
-
MONGOSH-1425 Expand fallback condition for $collStats to command form to account for ADF
- Closed
- is duplicated by
-
MONGOSH-1132 Make db.currentOp() use an aggregation stage if possible
- Closed
- is related to
-
COMPASS-5583 Use $collStats/$currentOp instead of command forms
- Closed