Skip to content

Commit 47c0372

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24185 repl set get status uptime (BACKPORT) (#1625)
* DOCSP-24185 repl set get status uptime * DOCSP-24185 repl set get status uptime * DOCSP-24185 repl set get status uptime Co-authored-by: jason-price-mongodb <[email protected]>
1 parent f9a3bd5 commit 47c0372

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

source/reference/command/replSetGetStatus.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,12 +1350,14 @@ following fields:
13501350

13511351
.. data:: replSetGetStatus.members[n].uptime
13521352

1353-
The :data:`~replSetGetStatus.members[n].uptime` field holds a value
1354-
that reflects the number of seconds that this member has been
1355-
online.
1356-
1357-
This value does not appear for the member that returns the
1358-
:method:`rs.status()` data.
1353+
For the member on which the :dbcommand:`replSetGetStatus` command
1354+
is run, :data:`~replSetGetStatus.members[n].uptime` is the
1355+
the number of seconds the member has been online.
1356+
1357+
For the other members, :data:`~replSetGetStatus.members[n].uptime`
1358+
is the number of seconds the member has been in continuous
1359+
communication with the member on which the
1360+
:dbcommand:`replSetGetStatus` command was run.
13591361

13601362
.. data:: replSetGetStatus.members[n].optime
13611363

0 commit comments

Comments
 (0)