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

Docs for SERVER-38705: Remove the --noIndexBuildRetry server parameter flag and the storage.indexBuildRetry config file option



    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.8
    • manual, Server
    • None




      1) The --noIndexBuildRetry server parameter flag was removed from the command line options.
      2) In the mongod config file, we've removed the storage.indexBuildRetry option.

      Engineering Ticket Description:

      The command line noIndexBuildRetry flag will be removed in v4.2. Index builds cannot be arbitrarily aborted on a single replica set member with two-phase index builds in-progress. In v4.2 users will instead be able to abort in-progress index builds via killOp or dropIndexes against the primary. Slow startup due to waiting for index builds to finish will also no longer be of concern in v4.2 because startup will restart the index builds on separate threads and continue without waiting for them to finish (SERVER-37966).

      Standalone mode nodes will neither recover nor discard any in-progress index builds if the node was previously a replica set member. The in-progress index builds will be ignored until the node is re-introduced to its replica set (SERVER-37637). In v4.0, standalone nodes always discarded all in-progress index builds, and an always standalone node restarted as standalone will continue to discard in-progress in v4.2. The noIndexBuildRetry flag therefore never had a use with standalone nodes in v4.0, and we do not want it to affect cross-replica set index builds present on standalones.

      Scope of changes

      • index-creation (more to come regarding background and removal of foreground through other tickets)
      • configuration file (options and ref)
      • mongod file (options and ref)
      • 4.2-compatibility (and seealso to 4.2 rel notes)

      Impact to Other Docs

      opsmgr/cloud mgr link to the option

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)


        Issue Links



              kay.kim@mongodb.com Kay Kim (Inactive)
              kay.kim@mongodb.com Kay Kim (Inactive)
              Jess Mokrzecki Jess Mokrzecki
              0 Vote for this issue
              1 Start watching this issue


                4 years, 17 weeks, 2 days ago