Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7123

Report readConcernMajorityOpTime in ReplSetGetStatus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 01112017-cleanup
    • Component/s: Server
    • Labels:
    • Last comment by Customer:
      true

      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

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              judah.schvimer Judah Schvimer
              Participants:
              Last commenter:
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 43 weeks ago
                Date of 1st Reply: