Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5583

Use $collStats/$currentOp instead of command forms

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.37.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Not Needed
    • Iteration Velvet Crab, Iteration Whale, Iteration Zebrafish, Iteration Ankylosaurus

      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@mongodb.com Alena Khineika
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: