[SERVER-33083] establishCursors should check if host is valid Created: 02/Feb/18 Updated: 29/Oct/23 Resolved: 05/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.7.1 |
| Fix Version/s: | 3.7.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Mathias Stearn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Platforms 2018-02-12 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
ARS can return an uninitialized boost::option for shardHostAndPort if fails to contact the server. However, we do not perform any checks here: Note: this bug is recently introduced and not an issue in v3.6. |
| Comments |
| Comment by Githook User [ 05/Feb/18 ] |
|
Author: {'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}Message: |
| Comment by Andy Schwerin [ 03/Feb/18 ] |
|
Can you link the patch that introduced this behavior? |