Skip to content

Commit

Permalink
DOCS-16576 status rename (#6738)
Browse files Browse the repository at this point in the history
* DOCS-16576 stateTransition changes

* Test build issue

* Adds rename entry

* DOCS-16576 stateTransition changes

* Adds release notes and code

* Reorders words for active voice

* Fixes per Nick

* Fixes per Vishnu
  • Loading branch information
kennethdyer authored Mar 14, 2024
1 parent f843312 commit d647739
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
36 changes: 30 additions & 6 deletions source/reference/command/serverStatus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1746,8 +1746,8 @@ metrics
},
stateTransition : {
lastStateTransition : <string>,
userOperationsKilled : Long("<num>"),
userOperationsRunning : Long("<num>")
totalOperationsKilled : Long("<num>"),
totalOperationsRunning : Long("<num>")
},
syncSource : {
numSelections : Long("<num>"),
Expand Down Expand Up @@ -2573,15 +2573,39 @@ metrics

- The member has not undergone any state changes.

.. serverstatus:: metrics.repl.stateTransition.userOperationsKilled
.. serverstatus:: metrics.repl.stateTransition.totalOperationsKilled

The total number of operations stopped during the
:binary:`~bin.mongod` instance's state change.

.. versionadded:: 7.3

``totalOperationsKilled`` replaces
:serverstatus:`~metrics.repl.stateTransition.userOperationsKilled`

The number of user operations stopped during the
.. serverstatus:: metrics.repl.stateTransition.totalOperationsRunning

The total number of operations that remained running during the
:binary:`~bin.mongod` instance's state change.

.. versionadded:: 7.3

``totalOperationsRunning`` replaces
:serverstatus:`~metrics.repl.stateTransition.userOperationsRunning`

.. serverstatus:: metrics.repl.stateTransition.userOperationsKilled

.. deprecated:: 7.3

:serverstatus:`~metrics.repl.stateTransition.totalOperationsKilled`
replaces ``userOperationsKilled``.

.. serverstatus:: metrics.repl.stateTransition.userOperationsRunning

The number of user operations that remained running during the
``mongod`` instance's state change.
.. deprecated:: 7.3

:serverstatus:`~metrics.repl.stateTransition.totalOperationsRunning`
replaces ``userOperationsRunning``.

.. serverstatus:: metrics.repl.syncSource

Expand Down
3 changes: 3 additions & 0 deletions source/release-notes/7.3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ megabytes, that must be recoverable for compaction to proceed.
Starting in MongoDB 7.3, the :dbcommand:`serverStatus` command output
includes the following new metrics:

- :serverstatus:`metrics.repl.stateTransition.totalOperationsRunning`
- :serverstatus:`metrics.repl.stateTransition.totalOperationsKilled`
- :serverstatus:`metrics.repl.waiters.replication`
- :serverstatus:`metrics.repl.waiters.opTime`
- :serverstatus:`planCache.classic.skipped`
- :serverstatus:`planCache.sbe.skipped`

0 comments on commit d647739

Please sign in to comment.