A config server stepdown may cause the mongos to retry _configsvrRefineCollectionShardKey even though it has successfully refined the shard key. This results in a StaleEpoch error. Checking that the shard key has already been refined before checking for a StaleEpoch error will fix this bug.
Make _configsvrRefineCollectionShardKey return if shard key is already refined before checking for StaleEpoch
- Assignee:
-
James Heppenstall (Inactive)
- Reporter:
-
James Heppenstall (Inactive)
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: