Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
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.