[SERVER-47170] Make the NSTargeter not mix exceptions and statuses for error handling Created: 29/Mar/20 Updated: 29/Oct/23 Resolved: 31/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1645-Milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding 2020-04-06 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The ChunkManagerTargeter implementation of NSTargeter mixes exceptions and Status return values in many places, which makes it difficult to follow the ClusterWriter's execution flow. This ticket is to make the API of the NSTargeter rely on exceptions only. |
| Comments |
| Comment by Githook User [ 31/Mar/20 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: Instead, use exceptions uniformly. |