[SERVER-21169] Make all CSRS config server reads retry on notMaster and network errors Created: 27/Oct/15 Updated: 04/Nov/15 Resolved: 30/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding C (11/20/15) |
| Participants: |
| Description |
|
Currently none of the config server reads are being retried on notMaster (for read preference PrimaryOnly) or network errors. All these calls end up in ShardRegistry::exhaustiveFindOnConfig and should be made to retry on the above errors. |
| Comments |
| Comment by Githook User [ 30/Oct/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Also gets rid of NotConfigMaster error code and makes all config server |