Skip to content

Commit a036613

Browse files
mungitoperritoandf-mongodb
authored andcommitted
DOCS-14042 change field to notPrimaryLegacyUnacknowledgedWrites
1 parent e30d35a commit a036613

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

source/includes/extracts-server-status-projection-base.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ content: |
1515
ref: _serverStatus-output-changes
1616
content: |
1717
18+
- Starting in MongoDB 4.4.3, {{operationName}}:
19+
20+
- Changed ``notMasterLegacyUnacknowledgedWrites`` to
21+
:serverstatus:`~metrics.repl.network.notPrimaryLegacyUnacknowledgedWrites`
22+
23+
- Changed ``notMasterUnacknowledgedWrites`` to
24+
:serverstatus:`~metrics.repl.network.notPrimaryUnacknowledgedWrites`
25+
1826
- Starting in MongoDB 4.4.2, {{operationName}}:
1927
2028
- Added new metrics to track use of Aggregation Pipeline methods:

source/reference/command/serverStatus.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4006,8 +4006,8 @@ metrics
40064006
"num" : <num>,
40074007
"totalMillis" : <num>
40084008
},
4009-
"notMasterLegacyUnacknowledgedWrites" : <NumberLong>,
40104009
"notPrimaryUnacknowledgedWrites" : <NumberLong>,
4010+
"notPrimaryLegacyUnacknowledgedWrites" : <NumberLong>,
40114011
"oplogGetMoresProcessed" : {
40124012
"num" : <NumberLong>,
40134013
"totalMillis" : <NumberLong>
@@ -4399,12 +4399,15 @@ metrics
43994399

44004400
.. versionadded:: 4.4
44014401

4402-
.. serverstatus:: metrics.repl.network.notMasterLegacyUnacknowledgedWrites
4402+
.. serverstatus:: metrics.repl.network.notPrimaryLegacyUnacknowledgedWrites
44034403

44044404
The number of unacknowledged (``w: 0``) legacy write operations (see
44054405
:ref:`wp-request-opcodes`) that failed because the current
44064406
:binary:`~bin.mongod` is not in :replstate:`PRIMARY` state.
44074407

4408+
This field name was changed in MongoDB 4.4.3. Previously, this field
4409+
was named ``notMasterLegacyUnacknowledgedWrites``.
4410+
44084411
.. versionadded:: 4.2
44094412

44104413
.. serverstatus:: metrics.repl.network.notPrimaryUnacknowledgedWrites

0 commit comments

Comments
 (0)