Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
Description
SERVER-22445 adds readConcernMajorityOpTime to ReplSetGetStatus. This OpTime is only displayed when readConcern: Majority is enabled. This ticket makes a new subsection, OpTimes, in the non-member section of ReplSetGetStatus. This refers to the OpTime used for readConcern: Majority calls, (the committed snapshot OpTime) that exists on the reporting node.
As an example:
{
|
"set" : "repl", |
"date" : ISODate("2016-02-09T15:59:14.296Z"), |
"myState" : 1, |
"term" : NumberLong(23), |
"heartbeatIntervalMillis" : NumberLong(2000), |
"OpTimes" : { |
"lastCommittedOpTime" : { |
"ts" : Timestamp(1455033548, 1), |
"t" : NumberLong(23) |
},
|
"readConcernMajorityOpTime" : { |
"ts" : Timestamp(1455033548, 1), |
"t" : NumberLong(23) |
}
|
},
|
"members" : [ |
{
|
"_id" : 0, |
"name" : "eshamaharishi-X9DAi:33000", |
"health" : 1, |
"state" : 1, |
"stateStr" : "PRIMARY", |
"uptime" : 7, |
"optime" : { |
"ts" : Timestamp(1455033548, 1), |
"t" : NumberLong(23) |
},
|
"optimeDate" : ISODate("2016-02-09T15:59:08Z"), |
"infoMessage" : "could not find member to sync from", |
"electionTime" : Timestamp(1455033547, 1), |
"electionDate" : ISODate("2016-02-09T15:59:07Z"), |
"configVersion" : 1, |
"self" : true |
}
|
],
|
"ok" : 1 |
}
|
Attachments
Issue Links
- documents
-
SERVER-22445 Report readConcernMajorityOpTime in replSetGetStatus
-
- Closed
-