-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
_checkIndexBuildsInProgress was introduced as a best effort check to avoid running DDL operations during an active index build.
However the implementation on the movePrimary operation is not the most effective and has an overhead on untracked collections.
The implementation right now send out index build checks for each shard not taking advantage of the knowledge where the given namespaces exist.
This was an accepted overhead though knowing that SPM-4906 would render the whole checking obsolete and knowing that the movePrimary is such a rare operation to perform.