[SERVER-31526] Replace use of ScopedDbConnection in _configsvrMovePrimary with Shard because it fails clone without retrying NotMaster errors from a shard Created: 12/Oct/17 Updated: 06/Dec/22 Resolved: 23/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Sharding
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 21 | ||||||||||||
| Description |
|
This is the code that must be replaced with Shard: https://github.com/mongodb/mongo/blob/5c7a7ca7ec6fc123882e0feed80d95c3431a47f5/src/mongo/db/s/config/configsvr_move_primary_command.cpp#L190-L243 ShardRemote has a retry policy, whereas the db client does not (not ASIO). |