[SERVER-23319] shell helpers for manipulating the balancer should retry writes to config db Created: 23/Mar/16 Updated: 15/Jun/16 Resolved: 15/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Sharding 16 (06/24/16) | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
ShardingTest stops the balancer during setup. If the config server primary spuriously steps down (closing all its network connections) after executing the write, but before responding to the write, the caller thinks the write failed. Then the test fails. Add retry logic to balancer metadata writes to the config server. |
| Comments |
| Comment by Kaloian Manassiev [ 15/Jun/16 ] |
|
With the sharding balancer moved to the config servers all balancer manipulations run through the 'controlBalancer' commands, which automatically retry, so this is no longer relevant. |