The createIndexes command is currently passing IndexBuildProtocol::kSinglePhase to the IndexBuildsCoordinator when starting index builds. This is currently not an issue for index builds on the primary but will result in unexpected behavior if index builds are allowed to survive stepdowns. We would not get the blocking behavior added in SERVER-39239 for secondary index builds.