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

Document how to view the ReplSetMaintenance state

      As per the discussion in SERVER-16349, the command is cumulative and there is an internal counter that should be available through the rs.status() command (in 2.8, not sure about older versions):

      		{
      			"_id" : 1,
      			"name" : "AD-MAC.local:27018",
      			"health" : 1,
      			"state" : 3,
      			"stateStr" : "RECOVERING",
      			"uptime" : 68,
      			"optime" : {
      				"t" : 1417219124,
      				"i" : 1
      			},
      			"optimeDate" : ISODate("2014-11-28T23:58:44Z"),
      			"maintenanceMode" : 2,
      			"configVersion" : 2,
      			"self" : true
      		}
      

            Assignee:
            andrew.aldridge@mongodb.com Andrew Aldridge
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 25 weeks, 1 day ago