Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25
Description
As part of the rename flow for sharded collections, the db primary shard should check for the following conditions to be met before starting the rename process:
- Check that `dropTarget` is true if the destination collection already exists
- Check that no tags exist for the destination collection
If any of those conditions is not respected, the rename command should fail.