[SERVER-28106] Cleanup the contract of ChunkManager::findIntersectingChunk Created: 24/Feb/17 Updated: 05/Apr/17 Resolved: 27/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.5.3 |
| Fix Version/s: | 3.4.3, 3.5.4 |
| Type: | Task | 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 | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v3.4
|
||||||||||||
| Sprint: | Sharding 2017-03-06 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The ChunkManager::findIntersectingChunk method currently sometimes returns StatusWith and sometimes throws, while reaching directly in the CatalogCache. It should be changed to return the specific chunk if one chunk can be found or to always throw if it a single chunk cannot be found due to collation or lack of shard key. |
| Comments |
| Comment by Kaloian Manassiev [ 01/Mar/17 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 27/Feb/17 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |