JS tests currently use the IndexBuildTest.supportsTwoPhaseIndexBuild() helper function, introduced in SERVER-44439, to check for two phase index build support. This helper function checks the server parameter enableTwoPhaseIndexBuild. However, the internal server code check uses IndexBuildsCoordinator::supportsTwoPhaseIndexBuild(), which is dependent on both the server parameter and the current FCV setting. It would be less confusing if we could unify these checks. One possibility might be to expose the server setting through a new field in the serverStatus output
- is depended on by
-
SERVER-43692 enable two phase index builds by default
- Closed