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

forceing a server to be primary prevents secondary from taking over if the forced primary fails.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.1
    • Replication
    • None
    • mixed UBUNTU 12.04 SLES 11 64 bit
    • Linux

    Description

      forcing a server to be primary as described in
      http://www.mongodb.org/display/DOCS/Forcing+a+Member+to+be+Primary
      using command
      db.adminCommand(

      {replSetStepDown:1000000, force:1}

      )

      and then stopping the daemon on the new master seems to prevent an election
      of a new primary at least for the 20 minutes I waited.

      It may be advisable to update the dos on the above page to warn admins that if they preformed this process the system may not recover from a failure.

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            f34rdotcom Sean Mathews
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: