-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
When featureFlagTrackUnshardedCollectionsOnShardingCatalog is enabled, the commit of movePrimary on the config server needs to update the chunk entry for each unsharded collection that is located on the prior dbPrimary. If there are many collections in the database, this could make the transaction exceed the size limit for transactions.
We should split this transaction into batches so that we are sure we won't exceed the max transaction size.
- depends on
-
SERVER-79668 Move primary must be compatible with unsplittable collections
- Closed