-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
v7.2, v7.0, v6.0
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
It's known that writes to the CollectionCatalog can be expensive, and resource consuming - see SERVER-58736 & SERVER-62618.
Since File Copy Based initial sync takes a different startup path than the one covered by SERVER-62618, we can make use of the batch writer functionality added to the CollectionCatalog by SERVER-58736 to avoid copying the full catalog each time we add a collection to it.