File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
content/manual/upcoming/source
reference/operator/aggregation Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -968,6 +968,17 @@ relevant for the operation:
968968
969969 .. include:: /includes/extracts/warning-terminating-ops-method.rst
970970
971+ .. data:: $currentOp.versionContext
972+
973+ Describes the :ref:`Feature Compatibility Version (FCV)
974+ <view-fcv>` of the operation, which the server uses to
975+ determine available features.
976+
977+ This information is intended for troubleshooting issues
978+ encountered while updating or downgrading a server.
979+
980+ .. versionadded:: 8.2
981+
971982.. data:: $currentOp.secs_running
972983
973984 The duration of the operation in seconds. MongoDB calculates this
Original file line number Diff line number Diff line change @@ -107,6 +107,14 @@ New Aggregation Expression
107107Starting in MongoDB 8.2, you can use ``$currentDate`` with
108108:method:`~db.collection.aggregate()` to return the current time on the server.
109109
110+ New $currentOp Field
111+ ~~~~~~~~~~~~~~~~~~~~
112+
113+ The :pipeline:`$currentOp` aggregation stage now includes
114+ the :data:`~$currentOp.versionContext` field, which provides
115+ information on the :ref:`Feature Compatibility Version (FCV)
116+ <view-fcv>` of the operation.
117+
110118serverStatus Output Change
111119~~~~~~~~~~~~~~~~~~~~~~~~~~
112120
You can’t perform that action at this time.
0 commit comments