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

Replica set index build asks for primary stepdown

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    Description

      Regarding: http://docs.mongodb.org/manual/tutorial/build-indexes-on-replica-sets/#build-the-index-on-the-primary

      The procedure we document asks the user to step down the primary and to remove from the replicaset to build an index. This can be disruptive as it triggers an election and will cause a brief period where there is no primary and writes will fail. I would at least provide the option of leaving the primary in place and performing a background index build, after the given index has been built on all secondaries. For some users this will be less disruptive than following our current advice.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 18 weeks, 1 day ago