Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/includes/fact-currentop.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Starting in MongoDB 5.0, the :pipeline:`$currentOp` aggregation
stage is used when running the helper method :method:`db.currentOp()`
via :binary:`~bin.mongosh`.

Because :dbcommand:`currentOp` command and
:method:`db.currentOp()` helper returns the results in a single
document, the total size of the :dbcommand:`currentOp` result set
Expand Down
7 changes: 7 additions & 0 deletions source/release-notes/5.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,13 @@ shell method) include additional information about the status of ongoing
resharding operations for the resharding coordinator and the
donor and recipient shards.

``db.currentOp`` Method Now Uses Aggregation Stage in ``mongosh``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Starting in MongoDB 5.0, the :pipeline:`$currentOp` aggregation
stage is used when running the helper method :method:`db.currentOp()`
via :binary:`~bin.mongosh`.

``mongos`` / ``mongod`` Connection Pool
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down