Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9029

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    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

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago