[DOCS-4457] Document how to view the ReplSetMaintenance state Created: 02/Dec/14  Updated: 30/Oct/23  Resolved: 01/Nov/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Andrew Aldridge
Resolution: Won't Fix Votes: 0
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/reference/command/replSetMaintenance/


Issue Links:
Related
is related to SERVER-16349 Expose replSetMaintenance status coun... Closed
Participants:
Days since reply: 1 year, 14 weeks, 1 day ago
Epic Link: DOCSP-1769
Story Points: 0.25

 Description   

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
		}



 Comments   
Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:48:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.