-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Catalog and Routing
-
ALL
-
-
CAR Team 2024-03-18
-
129
When the feature flag gTrackUnshardedCollectionsUponCreation is enabled, on movePrimary the call to get unsplittable collections catalogClient->getUnsplittableCollectionNamespacesForDb() returns all unsharded collections.
This is added to the list of "tracked collections".
However later on when we copy the DB over we create all the collections, but if the collection is a tracked collection we neither copy the indexes over nor copy the contents of the collection over either.
Seen on base commit 64dca7eaed26da5ee7547e1d62be599a87678327