Skip to content

Commit c113c43

Browse files
Merge remote-tracking branch 'upstream/master' into v6.1
2 parents 8d29973 + 9e4b041 commit c113c43

File tree

7 files changed

+55
-66
lines changed

7 files changed

+55
-66
lines changed

source/includes/quick-start/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
.. tip:: Add Your {+dek-long+} Base64 ID
122122

123123
Make sure to update the following code to include your Base64
124-
{+dek-abbr+} ID. You recieved this value in the
124+
{+dek-abbr+} ID. You received this value in the
125125
:ref:`Generate your {+dek-long+} <csfle-local-create-dek>` step of this
126126
guide.
127127

source/includes/tutorials/automatic/aws/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
.. tip:: Add Your {+dek-long+} Base64 ID
123123

124124
Make sure to update the following code to include your Base64
125-
{+dek-abbr+} ID. You recieved this value in the
125+
{+dek-abbr+} ID. You received this value in the
126126
:ref:`Generate your {+dek-long+} <csfle-aws-create-dek>` step of this
127127
guide.
128128

source/includes/tutorials/automatic/azure/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
.. tip:: Add Your {+dek-long+} Base64 ID
121121

122122
Make sure to update the following code to include your Base64
123-
{+dek-abbr+} ID. You recieved this value in the
123+
{+dek-abbr+} ID. You received this value in the
124124
:ref:`Generate your {+dek-long+} <csfle-azure-create-dek>` step of this
125125
guide.
126126

source/includes/tutorials/automatic/gcp/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
.. tip:: Add Your {+dek-long+} Base64 ID
120120

121121
Make sure to update the following code to include your Base64
122-
{+dek-abbr+} ID. You recieved this value in the
122+
{+dek-abbr+} ID. You received this value in the
123123
:ref:`Generate your {+dek-long+} <csfle-gcp-create-dek>` step of this
124124
guide.
125125

source/includes/tutorials/automatic/kmip/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
.. tip:: Add Your {+dek-long+} Base64 ID
4242

4343
Make sure to update the following code to include your Base64
44-
{+dek-abbr+} ID. You recieved this value in the
44+
{+dek-abbr+} ID. You received this value in the
4545
:ref:`Generate your {+dek-long+} <csfle-kmip-create-dek>` step of this
4646
guide.
4747

source/reference/command/replSetGetStatus.txt

Lines changed: 42 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Definition
1717

1818
The ``replSetGetStatus`` command returns the status of the replica
1919
set from the point of view of the server that processed the command.
20-
``replSetGetStatus`` must be run against the :term:`admin database`.
20+
``replSetGetStatus`` must be run on the :term:`admin database`.
2121

2222
The :binary:`~bin.mongod` instance must be a replica set member for
2323
:dbcommand:`replSetGetStatus` to return successfully.
@@ -47,9 +47,10 @@ The command has the following syntax:
4747
(i.e. :replstate:`STARTUP2` state), the command returns
4848
:data:`replSetGetStatus.initialSyncStatus` metrics.
4949

50-
Once the member finishes its initial sync and transitions to
51-
another state, the :data:`replSetGetStatus.initialSyncStatus`
52-
metrics are no longer available.
50+
After the member completes the initial synchronization and
51+
transitions to another state, the
52+
:data:`replSetGetStatus.initialSyncStatus` metrics are no longer
53+
available.
5354

5455
- In earlier versions (3.6.x-4.2.0)
5556
To return :ref:`initial sync <replica-set-initial-sync>` status
@@ -60,7 +61,7 @@ The command has the following syntax:
6061

6162
db.adminCommand( { replSetGetStatus: 1, initialSync: 1 } )
6263

63-
The :data:`replSetGetStatus.initialSyncStatus` metrics remains
64+
The :data:`replSetGetStatus.initialSyncStatus` metrics remain
6465
available after the member completes its initial sync. That is,
6566
you can run the :dbcommand:`replSetGetStatus` command with the
6667
``initialSync: 1`` on the secondary member to return its initial
@@ -265,7 +266,7 @@ Example
265266

266267
The following example runs the :dbcommand:`replSetGetStatus`
267268
command on the :term:`admin database` of the replica set
268-
secondary.
269+
secondary:
269270

270271
.. code-block:: javascript
271272

@@ -452,9 +453,9 @@ Example
452453

453454
db.adminCommand( { replSetGetStatus: 1 } )
454455

455-
Once the member finishes its initial sync and transitions
456-
to another state, the
457-
:data:`replSetGetStatus.initialSyncStatus` document is no
456+
After the member completes the initial synchronization and
457+
transitions to another state, the
458+
:data:`replSetGetStatus.initialSyncStatus` metrics are no
458459
longer available.
459460

460461
In earlier versions (3.6.x-4.2.0)
@@ -684,7 +685,7 @@ following fields:
684685

685686
.. data:: replSetGetStatus.date
686687

687-
An :term:`ISODate` formatted date and time that reflects the current
688+
An :term:`ISODate` formatted date and time that contains the current
688689
time according to the server that processed the
689690
:command:`replSetGetStatus` command. Compare this to the values of
690691
:data:`replSetGetStatus.members[n].lastHeartbeat` to find the
@@ -721,7 +722,7 @@ following fields:
721722

722723
The :data:`~replSetGetStatus.syncSourceId` field holds the
723724
:data:`replSetGetStatus.members[n]._id` of the member from which
724-
this instance syncs.
725+
this instance synchronizes.
725726

726727
If this instance is a primary,
727728
:data:`~replSetGetStatus.syncSourceHost` is an empty string and
@@ -735,7 +736,7 @@ following fields:
735736

736737
.. versionadded:: 4.2.1
737738

738-
The number that corresponds to the majority votes needed to elect a
739+
The number of majority votes needed to elect a
739740
new primary in an election.
740741

741742
.. data:: replSetGetStatus.writeMajorityCount
@@ -761,7 +762,7 @@ following fields:
761762
.. versionadded:: 4.4
762763

763764
The number of *data-bearing* members configured with :rsconf:`votes:
764-
1 <members[n].votes>`; that is, the count does not include arbiters.
765+
1 <members[n].votes>` (this does not include arbiters).
765766

766767
.. data:: replSetGetStatus.optimes
767768

@@ -786,9 +787,9 @@ following fields:
786787
:data:`~replSetGetStatus.optimes.lastCommittedOpTime`.
787788

788789
The :data:`~replSetGetStatus.optimes.lastCommittedWallTime` may
789-
not accurately reflect
790+
not accurately represent the
790791
:data:`~replSetGetStatus.optimes.lastCommittedOpTime` if all
791-
members are not on MongoDB 4.2 or greater since the
792+
members are not on MongoDB 4.2 or greater because the
792793
:data:`~replSetGetStatus.optimes.lastCommittedWallTime`
793794
requires communication with other members of the deployment.
794795

@@ -811,9 +812,9 @@ following fields:
811812
:data:`~replSetGetStatus.optimes.readConcernMajorityOpTime`.
812813

813814
The :data:`~replSetGetStatus.optimes.readConcernMajorityWallTime`
814-
may not accurately reflect
815+
may not accurately represent the
815816
:data:`~replSetGetStatus.optimes.readConcernMajorityOpTime` if
816-
all members are not on MongoDB 4.2 or greater since the
817+
all members are not on MongoDB 4.2 or greater because the
817818
:data:`~replSetGetStatus.optimes.readConcernMajorityWallTime`
818819
requires communication with other members of the deployment.
819820

@@ -872,7 +873,7 @@ following fields:
872873
Metrics related to the election of the current primary.
873874
:data:`~replSetGetStatus.electionCandidateMetrics` is only available
874875
on the primary or a candidate for election. For a candidate, the
875-
metrics becomes unavailable once the candidate loses the election.
876+
metrics are unavailable after the candidate loses the election.
876877

877878
.. data:: replSetGetStatus.electionCandidateMetrics.lastElectionReason
878879

@@ -893,23 +894,23 @@ following fields:
893894
In v4.2.1, ``electionTerm`` was named ``electionTerm``.
894895

895896
The member's election count (i.e. :data:`~replSetGetStatus.term`)
896-
at the time it called for the new election.
897+
at the time it called the new election.
897898

898899
.. data:: replSetGetStatus.electionCandidateMetrics.lastCommittedOpTimeAtElection
899900

900901
.. versionadded:: 4.2.1
901902

902903
The most recent :data:`majority-committed optime
903904
<replSetGetStatus.optimes.lastCommittedOpTime>`, as seen by this
904-
member, at the time it called for the new election.
905+
member, at the time it called the new election.
905906

906907
.. data:: replSetGetStatus.electionCandidateMetrics.lastSeenOpTimeAtElection
907908

908909
.. versionadded:: 4.2.1
909910

910911
The member's most recent :data:`applied optime
911912
<replSetGetStatus.optimes.appliedOpTime>` at the time it called
912-
for the new election.
913+
the new election.
913914

914915
.. data:: replSetGetStatus.electionCandidateMetrics.numVotesNeeded
915916

@@ -969,7 +970,7 @@ following fields:
969970

970971
The date and time at which the write concern
971972
:writeconcern:`"majority"` became available after the election
972-
for the replica set(i.e. the date and time at which the ``new
973+
for the replica set (the date and time when the ``new
973974
term`` oplog entry was majority committed).
974975

975976
.. data:: replSetGetStatus.electionParticipantMetrics
@@ -996,14 +997,15 @@ following fields:
996997

997998
.. data:: replSetGetStatus.electionParticipantMetrics.lastVoteDate
998999

999-
An :term:`ISODate` formatted date string that reflects when the
1000+
An :term:`ISODate` formatted date string that records when the
10001001
participant voted.
10011002

10021003
.. versionadded:: 4.2.2
10031004

10041005
.. data:: replSetGetStatus.electionParticipantMetrics.electionCandidateMemberId
10051006

1006-
The :rsconf:`members[n]._id` of the candidate calling the election.
1007+
The :rsconf:`members[n]._id` of the candidate calling the
1008+
election.
10071009

10081010
.. versionadded:: 4.2.2
10091011

@@ -1062,38 +1064,30 @@ following fields:
10621064

10631065
.. data:: replSetGetStatus.initialSyncStatus
10641066

1065-
10661067
A document that provides information on the progress and status of
10671068
:ref:`initial sync <replica-set-initial-sync>` on this member.
10681069

10691070
.. include:: /includes/fact-rs-status-init-sync-availability.rst
10701071

10711072
.. data:: replSetGetStatus.initialSyncStatus.failedInitialSyncAttempts
10721073

1073-
10741074
The number of times the :ref:`initial sync
10751075
<replica-set-initial-sync>` failed and had to restart on this
10761076
member.
10771077

1078-
10791078
.. data:: replSetGetStatus.initialSyncStatus.maxFailedInitialSyncAttempts
10801079

1081-
10821080
The maximum number of times the :ref:`initial sync
10831081
<replica-set-initial-sync>` can restart on this member before
10841082
the member shuts down.
10851083

1086-
10871084
.. data:: replSetGetStatus.initialSyncStatus.initialSyncStart
10881085

1089-
10901086
The start timestamp of the :ref:`initial sync
10911087
<replica-set-initial-sync>` for this member.
10921088

1093-
10941089
.. data:: replSetGetStatus.initialSyncStatus.initialSyncEnd
10951090

1096-
10971091
The end timestamp of the :ref:`initial sync
10981092
<replica-set-initial-sync>` for this member.
10991093

@@ -1103,10 +1097,8 @@ following fields:
11031097
:data:`~replSetGetStatus.initialSyncStatus.initialSyncStart` and
11041098
:data:`~replSetGetStatus.initialSyncStatus.initialSyncEnd`.
11051099

1106-
11071100
.. data:: replSetGetStatus.initialSyncStatus.initialSyncAttempts
11081101

1109-
11101102
Array of documents where each document corresponds to a single
11111103
:ref:`initial sync <replica-set-initial-sync>` attempt. For example:
11121104

@@ -1168,10 +1160,8 @@ following fields:
11681160
See also
11691161
:data:`~replSetGetStatus.initialSyncStatus.failedInitialSyncAttempts`.
11701162

1171-
11721163
.. data:: replSetGetStatus.initialSyncStatus.appliedOps
11731164

1174-
11751165
The number of ops that occurred after the :ref:`initial sync
11761166
<replica-set-initial-sync>` started and were applied after cloning
11771167
the databases.
@@ -1180,10 +1170,8 @@ following fields:
11801170
to update its data set to reflect the current state of the
11811171
replica set.
11821172

1183-
11841173
.. data:: replSetGetStatus.initialSyncStatus.initialSyncOplogStart
11851174

1186-
11871175
The start timestamp of the oplog application stage of the
11881176
:ref:`initial sync <replica-set-initial-sync>` where the
11891177
member applies changes that occurred after the initial sync
@@ -1193,10 +1181,8 @@ following fields:
11931181
to update its data set to reflect the current state of the
11941182
replica set.
11951183

1196-
11971184
.. data:: replSetGetStatus.initialSyncStatus.initialSyncOplogEnd
11981185

1199-
12001186
The end timestamp of the oplog application stage of the
12011187
:ref:`initial sync <replica-set-initial-sync>` where the
12021188
member applies changes that occurred after the initial sync
@@ -1206,7 +1192,6 @@ following fields:
12061192
to update its data set to reflect the current state of the
12071193
replica set.
12081194

1209-
12101195
.. data:: replSetGetStatus.initialSyncStatus.syncSourceUnreachableSince
12111196

12121197
The date and time at which the sync source became unreachable.
@@ -1239,7 +1224,6 @@ following fields:
12391224

12401225
.. data:: replSetGetStatus.initialSyncStatus.databases.databasesCloned
12411226

1242-
12431227
Number of databases cloned during :ref:`initial sync
12441228
<replica-set-initial-sync>`.
12451229

@@ -1434,8 +1418,8 @@ following fields:
14341418

14351419
.. data:: replSetGetStatus.members[n].health
14361420

1437-
A number that indicates if the member is up (i.e. ``1``) or down
1438-
(i.e. ``0``).
1421+
A number that indicates if the member is up (``1``) or down
1422+
(``0``).
14391423

14401424
.. data:: replSetGetStatus.members[n].state
14411425

@@ -1448,12 +1432,14 @@ following fields:
14481432

14491433
.. data:: replSetGetStatus.members[n].uptime
14501434

1451-
The :data:`~replSetGetStatus.members[n].uptime` field holds a value
1452-
that reflects the number of seconds that this member has been
1453-
online.
1454-
1455-
This value does not appear for the member that returns the
1456-
:method:`rs.status()` data.
1435+
For the member on which the :dbcommand:`replSetGetStatus` command
1436+
is run, :data:`~replSetGetStatus.members[n].uptime` is the
1437+
the number of seconds the member has been online.
1438+
1439+
For the other members, :data:`~replSetGetStatus.members[n].uptime`
1440+
is the number of seconds the member has been in continuous
1441+
communication with the member on which the
1442+
:dbcommand:`replSetGetStatus` command was run.
14571443

14581444
.. data:: replSetGetStatus.members[n].optime
14591445

@@ -1484,17 +1470,17 @@ following fields:
14841470

14851471
.. data:: replSetGetStatus.members[n].optimeDate
14861472

1487-
An :term:`ISODate` formatted date string that reflects the last
1473+
An :term:`ISODate` formatted date string that contains the last
14881474
entry from the :term:`oplog` that this member applied. If this
14891475
differs significantly from
14901476
:data:`~replSetGetStatus.members[n].lastHeartbeat` this member is
14911477
either experiencing "replication lag" *or* there have not been any
1492-
new operations since the last update. Compare
1478+
new operations after the last update. Compare
14931479
``members.optimeDate`` between all of the members of the set.
14941480

14951481
.. data:: replSetGetStatus.members[n].optimeDurableDate
14961482

1497-
An :term:`ISODate` formatted date string that reflects the last
1483+
An :term:`ISODate` formatted date string that contains the last
14981484
entry from the :term:`oplog` that this member applied to its
14991485
journal.
15001486

@@ -1520,13 +1506,13 @@ following fields:
15201506
.. data:: replSetGetStatus.members[n].electionDate
15211507

15221508
For the current primary, an :term:`ISODate` formatted date string
1523-
that reflects the election date. See
1509+
that contains the election date. See
15241510
:doc:`/core/replica-set-high-availability` for more information about
15251511
elections.
15261512

15271513
.. data:: replSetGetStatus.members[n].lastHeartbeat
15281514

1529-
An :term:`ISODate` formatted date and time that reflects the last
1515+
An :term:`ISODate` formatted date and time that contains the last
15301516
time the server that processed the :command:`replSetGetStatus`
15311517
command received a response from a heartbeat that it sent to this
15321518
member (``members[n]``).
@@ -1538,7 +1524,7 @@ following fields:
15381524

15391525
.. data:: replSetGetStatus.members[n].lastHeartbeatRecv
15401526

1541-
An :term:`ISODate` formatted date and time that reflects the last
1527+
An :term:`ISODate` formatted date and time that contains the last
15421528
time the server that processed the :command:`replSetGetStatus`
15431529
command received a heartbeat request from this member
15441530
(``members[n]``).

0 commit comments

Comments
 (0)