Skip to content

Commit 455d65d

Browse files
committed
DOCS-11248: asserts.wranings = 0
1 parent e80ad27 commit 455d65d

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

source/reference/command/serverStatus.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,12 @@ asserts
160160

161161
.. serverstatus:: asserts.warning
162162

163-
The number of warnings raised since the MongoDB process started.
164-
Check the log file for more information about these warnings.
163+
.. versionchanged:: 4.0
164+
165+
Starting in MongoDB 4.0, the field returns zero ``0``.
166+
167+
In earlier versions, the field returns the number of warnings raised
168+
since the MongoDB process started.
165169

166170
.. serverstatus:: asserts.msg
167171

source/release-notes/4.0-compatibility.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ uses master-slave replication, you must upgrade to a replica set.
8484
To convert your master-slave replication, see
8585
:ref:`convert-master-slave-to-replica-set`.
8686

87+
.. _4.0-compatibility-general:
88+
8789
General
8890
-------
8991

9092
- Remove ``mongoperf``.
9193

92-
94+
- The :dbcommand:`serverStatus` command now always returns ``0`` for
95+
the :serverstatus:`asserts.warning` field.

0 commit comments

Comments
 (0)