[SERVER-38705] Remove the --noIndexBuildRetry server parameter flag and the storage.indexBuildRetry config file option Created: 19/Dec/18  Updated: 29/Oct/23  Resolved: 17/Jan/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.8

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-12378 Docs for SERVER-38705: Remove the --n... Closed
Related
is related to SERVER-40882 Return the --noIndexBuildRetry server... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-01-28
Participants:

 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.



 Comments   
Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}

Message: SERVER-38705 Remove the --noIndexBuildRetry server parameter flag and the storage.indexBuildRetry config file option
Branch: master
https://github.com/mongodb/mongo/commit/95ff8eff9c4641240c6158d1b449f1fbabea6a8e

Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}

Message: SERVER-38705 Remove jstests for retrying index builds on startup
Branch: master
https://github.com/mongodb/mongo/commit/163249fdf57473baa969a5519456a5d7817bf40b

Generated at Thu Feb 08 04:49:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.