When given an output collection that already exists, the map reduce command will copy the indexes from the original output collection. With two phase index builds, the information in the startIndexBuild and commitIndexBuild oplog entries may contain indexes that already exist in the temporary collection used by map reduce. This may result in secondaries silently ignoring the two phase index build commands due to the IndexAlreadyExists error.
- is depended on by
-
SERVER-43692 enable two phase index builds by default
- Closed