We are backporting the changes to shardCollection so should remove the FCV check in 4.2. Instead we should check if the command failed with CommandNotFound, and if so run the old logic. We should also move writing to the config and catalog to after we send _cloneCollectionOptionsFromPrimaryShard to the other non-primary shards so that if any of them fail, we can retry the command running the old path.
Change FCV check to check for CommandNotFound in _shardsvrShardCollection and write to config after creating collections on non-primary shards
- Assignee:
- Janna Golden
- Reporter:
- Janna Golden
- Votes:
-
0 Vote for this issue
- Watchers:
-
7 Start watching this issue
- Created:
- Updated:
- Resolved: