Skip to content

Commit f7ed788

Browse files
authored
[BACKPORT] new replSetGetStatus output fields (#353)
* 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 b426a92 commit f7ed788

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" : "",
@@ -1334,6 +1350,22 @@ following fields:
13341350
entry from the :term:`oplog` that this member applied to its
13351351
journal.
13361352

1353+
.. data:: replSetGetStatus.members[n].lastAppliedWallTime
1354+
1355+
.. versionadded:: 5.1.1
1356+
1357+
An :term:`ISODate` formatted date string reflecting the wall clock
1358+
time at which the last operation applied by this member of the
1359+
replica set was applied on the primary node.
1360+
1361+
.. data:: replSetGetStatus.members[n].lastDurableWallTime
1362+
1363+
.. versionadded:: 5.1.1
1364+
1365+
An :term:`ISODate` formatted date string reflecting the wall clock
1366+
time at which the last operation written to this member's journal
1367+
was first applied on the primary node.
1368+
13371369
.. data:: replSetGetStatus.members[n].electionTime
13381370

13391371
For the current primary, information regarding the election

0 commit comments

Comments
 (0)