Skip to content

Commit 0be6d46

Browse files
authored
[BACKPORT] new replSetGetStatus output fields v5.0 (#355)
* DOCS-14906 new replSetGetStatus output fields (#199) * DOCS-14906 new replSetGetStatus ouput fields * clarifies lastAppliedWallTime * rewording * tech review updates * documents minor version in which these new fields were added
1 parent d1e8b49 commit 0be6d46

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

source/reference/command/replSetGetStatus.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ Example
175175
"t" : NumberLong(3)
176176
},
177177
"optimeDate" : ISODate("2020-03-05T05:24:38Z"),
178+
"lastAppliedWallTime": ISODate("2020-03-05T05:24:38Z"),
179+
"lastDurableWallTime": ISODate("2020-03-05T05:24:38Z"),
178180
"syncSourceHost" : "",
179181
"syncSourceId" : -1,
180182
"infoMessage" : "",
@@ -202,6 +204,8 @@ Example
202204
},
203205
"optimeDate" : ISODate("2020-03-05T05:24:38Z"),
204206
"optimeDurableDate" : ISODate("2020-03-05T05:24:38Z"),
207+
"lastAppliedWallTime": ISODate("2020-03-05T05:24:38Z"),
208+
"lastDurableWallTime": ISODate("2020-03-05T05:24:38Z"),
205209
"lastHeartbeat" : ISODate("2020-03-05T05:24:44.114Z"),
206210
"lastHeartbeatRecv" : ISODate("2020-03-05T05:24:43.999Z"),
207211
"pingMs" : NumberLong(0),
@@ -228,6 +232,8 @@ Example
228232
},
229233
"optimeDate" : ISODate("2020-03-05T05:24:38Z"),
230234
"optimeDurableDate" : ISODate("2020-03-05T05:24:38Z"),
235+
"lastAppliedWallTime": ISODate("2020-03-05T05:24:38Z"),
236+
"lastDurableWallTime": ISODate("2020-03-05T05:24:38Z"),
231237
"lastHeartbeat" : ISODate("2020-03-05T05:24:44.114Z"),
232238
"lastHeartbeatRecv" : ISODate("2020-03-05T05:24:43.998Z"),
233239
"pingMs" : NumberLong(0),
@@ -336,6 +342,8 @@ Example
336342
},
337343
"optimeDate" : ISODate("2020-03-05T05:26:58Z"),
338344
"optimeDurableDate" : ISODate("2020-03-05T05:26:58Z"),
345+
"lastAppliedWallTime": ISODate("2020-03-05T05:26:58Z"),
346+
"lastDurableWallTime": ISODate("2020-03-05T05:26:58Z"),
339347
"lastHeartbeat" : ISODate("2020-03-05T05:27:06.165Z"),
340348
"lastHeartbeatRecv" : ISODate("2020-03-05T05:27:06.329Z"),
341349
"pingMs" : NumberLong(0),
@@ -359,6 +367,8 @@ Example
359367
"t" : NumberLong(3)
360368
},
361369
"optimeDate" : ISODate("2020-03-05T05:26:58Z"),
370+
"lastAppliedWallTime": ISODate("2020-03-05T05:26:58Z"),
371+
"lastDurableWallTime": ISODate("2020-03-05T05:26:58Z"),
362372
"syncSourceHost" : "m3.example.net:27017",
363373
"syncSourceId" : 2,
364374
"infoMessage" : "",
@@ -384,6 +394,8 @@ Example
384394
},
385395
"optimeDate" : ISODate("2020-03-05T05:26:58Z"),
386396
"optimeDurableDate" : ISODate("2020-03-05T05:26:58Z"),
397+
"lastAppliedWallTime": ISODate("2020-03-05T05:26:58Z"),
398+
"lastDurableWallTime": ISODate("2020-03-05T05:26:58Z"),
387399
"lastHeartbeat" : ISODate("2020-03-05T05:27:06.165Z"),
388400
"lastHeartbeatRecv" : ISODate("2020-03-05T05:27:06.165Z"),
389401
"pingMs" : NumberLong(0),
@@ -608,6 +620,8 @@ Example
608620
},
609621
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
610622
"optimeDurableDate" : ISODate("1970-01-01T00:00:00Z"),
623+
"lastAppliedWallTime": ISODate("1970-01-01T00:00:00Z"),
624+
"lastDurableWallTime": ISODate("1970-01-01T00:00:00Z""),
611625
"lastHeartbeat" : ISODate("2020-03-05T18:04:23.827Z"),
612626
"lastHeartbeatRecv" : ISODate("2020-03-05T18:04:15.062Z"),
613627
"pingMs" : NumberLong(0),
@@ -629,6 +643,8 @@ Example
629643
"t" : NumberLong(-1)
630644
},
631645
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
646+
"lastAppliedWallTime": ISODate("1970-01-01T00:00:00Z"),
647+
"lastDurableWallTime": ISODate("1970-01-01T00:00:00Z""),
632648
"syncSourceHost" : "m1.example.net:27017",
633649
"syncSourceId" : 0,
634650
"infoMessage" : "",
@@ -1390,6 +1406,22 @@ following fields:
13901406
entry from the :term:`oplog` that this member applied to its
13911407
journal.
13921408

1409+
.. data:: replSetGetStatus.members[n].lastAppliedWallTime
1410+
1411+
.. versionadded:: 5.0.5
1412+
1413+
An :term:`ISODate` formatted date string reflecting the wall clock
1414+
time at which the last operation applied by this member of the
1415+
replica set was applied on the primary node.
1416+
1417+
.. data:: replSetGetStatus.members[n].lastDurableWallTime
1418+
1419+
.. versionadded:: 5.0.5
1420+
1421+
An :term:`ISODate` formatted date string reflecting the wall clock
1422+
time at which the last operation written to this member's journal
1423+
was first applied on the primary node.
1424+
13931425
.. data:: replSetGetStatus.members[n].electionTime
13941426

13951427
For the current primary, information regarding the election

0 commit comments

Comments
 (0)