Details
Description
The donor shard of the movePrimary invokes the _shardsvrCloneCatalogData command to ask the recipient to clone the unsharded collections of the given database.
This command is not idempotent, and the entire cloning phase of the movePrimary would be repeated after cleaning up any orphaned data on the recipient, the command must be invoked once.
With SERVER-73812, the _shardsvrCloneCatalogData command was called just one time, leaving to the coordinator infrastructure the burden of trying it again.
Nevertheless this change was reverted by mistake SERVER-73112 (i.e., Avoid constructing global namespaces directly).