Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Repl 12 (04/01/16)
Description
- rename "OpTime" field to "opTimes"
- add more optimes into field
- durable
- applied
- use helper to append OpTime to output
- fix tests
> rs.status()
|
{
|
"set" : "test", |
"date" : ISODate("2016-03-22T15:34:03.033Z"), |
"myState" : 1, |
"term" : NumberLong(3), |
"heartbeatIntervalMillis" : NumberLong(2000), |
"OpTimes" : { |
"lastCommittedOpTime" : { |
"ts" : Timestamp(1458660832, 1), |
"t" : NumberLong(3) |
}},
|
"members" : [ |
{
|
"_id" : 0, |
"name" : "tart.local:27017", |
"health" : 1, |
"state" : 1, |
"stateStr" : "PRIMARY", |
"uptime" : 14, |
"optime" : { |
"ts" : Timestamp(1458660832, 1), |
"t" : NumberLong(3) |
},
|
"optimeDate" : ISODate("2016-03-22T15:33:52Z"), |
"infoMessage" : "could not find member to sync from", |
"electionTime" : Timestamp(1458660831, 1), |
"electionDate" : ISODate("2016-03-22T15:33:51Z"), |
"configVersion" : 1, |
"self" : true |
Attachments
Issue Links
- is duplicated by
-
SERVER-22337 Report lastAppliedAndJournaledOptime in replSetGetStatus
-
- Closed
-