Similar to SERVER-71769, but we should also detect the case were a subset of the indexes is ready. This means it is possible the primary commits the build, while the secondary has skipped it. The secondary would only have a subset of the indexes the primary has. The user should be warned to manually build the remaining indexes on that secondary.
It is also possible that a node which skipped the index build becomes primary, and the index build is never able to commit despite the commit quorum although it may exist in some (or all) secondaries. We should warn against this too.
- related to
-
SERVER-71768 Have secondary nodes vote for the index build commit quorum if the index already exists
- Closed
-
SERVER-71769 Add a new log message when a secondary node is skipping a two-phase index build
- Closed