-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
-
0.25
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 }
- is related to
-
SERVER-16349 Expose replSetMaintenance status counter in db.serverStatus()
- Closed