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

Document on reIndex is not accurate

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      This is for:

      reIndex will rebuild indexes in the background if the index was originally specified with this option. However, reIndex will rebuild the _id index in the foreground, which takes the database’s write lock.

      This is not true. Currently reIndex ignores the background flag on each index and builds in the foreground - until we support a background option for the reindex command (SERVER-787). So reIndex will block other operations until it has completed.

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 2 weeks ago