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

Impact and behaviour of index rebuilding in a v2.6 replica set

    XMLWordPrintableJSON

Details

    • 0.25

    Description

      In this DOCS reference: http://docs.mongodb.org/manual/core/index-creation/#index-creation-background

      Please amend the DOC to add clarity on index build behaviour, in particular the following statements:

      A foreground index build is default, when complete on a replica set primary, it'll replicate to the secondaries with a foreground build task. The replication worker will take a global DB lock, which will queue reads and writes to all DBs on that server.
      A background index build, when complete on a replica set primary, it'll replicate to the secondaries with a background build task. The replication worker will not take a global DB lock. Secondary reads will not be affected.

      Attachments

        Activity

          People

            brian.moss@mongodb.com Brian Moss
            luke.prochazka@mongodb.com Luke Prochazka
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 11 weeks, 1 day ago