[SERVER-13925] Allow replSetMaintenance on primary servers Created: 13/May/14  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Admin, Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: maintenanceMode
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-14983 Ability to immediately mark the node ... Open
Assigned Teams:
Replication
Participants:

 Description   

Currently, you can not set maintenance mode on primaries:

shard01:PRIMARY> db.runCommand({replSetMaintenance:true})
{ "ok" : 0, "errmsg" : "primaries can't modify maintenance mode" }
shard01:PRIMARY>

From users perspective, it will be much more convenient if we allow to execute this command on primaries by triggering implicit stepDown.


Generated at Thu Feb 08 03:33:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.