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

Allow replSetMaintenance on primary servers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Admin, Replication
    • Replication

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: