Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13925

Allow replSetMaintenance on primary servers

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Replication
    • Labels:
    • Replication

      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.

            Assignee:
            backlog-server-repl Backlog - Replication Team
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: