IndexBuildsCoordinator currently maintains a list of the active index builds in _allIndexBuilds synchronized using a mutex and a condition variable. Moving the data structures for maintaining this information, along with the many helpers for waiting/checking active index builds, into a separate class (eg. IndexBuildCatalog) may help to reduce the size of the IndexBuildsCoordinator code.
- is related to
-
SERVER-46995 Convert ReplIndexBuildState from struct to class
- Closed
-
SERVER-47252 Remove Collection and Database IndexBuildsTrackers
- Closed