Use $collStats/$currentOp instead of command forms

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.37.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Iteration Velvet Crab, Iteration Whale, Iteration Zebrafish, Iteration Ankylosaurus
    • 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 Compass 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

              Assignee:
              Alena Khineika
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: