-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding EMEA
-
Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03
The cloning phase of the movePrimary operation writes on the coordinator document the list of collections belonging to the database to be cloned. This information is serialized to a BSON object (i.e., collectionsToClone filed), and its size could potentially exceed the maximum limit. This would trigger a BSONObjectTooLarge error, that is considered retryable by the resilient cloning procedure of the movePrimary (see SERVER-74185).
The goal of this ticket is to handle this error by causing the operation to fail.
- depends on
-
SERVER-74185 Support for cleanup in Recoverable Sharding DDL Coordinator
- Closed