[SERVER-46743] Check RSM exists in initial handshake Created: 10/Mar/20 Updated: 29/Oct/23 Resolved: 10/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| 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 | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Sharding 2020-03-23 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 46 | ||||||||
| Description |
|
The replica set monitor manager has a StringMap whose values are weak_ptr<ReplicaSetMonitor>. During the initial handshake, we walk through the map to find which RSM a certain host belongs to. We should check that the RSM still exists before checking whether it contains the host. |
| Comments |
| Comment by Githook User [ 29/Mar/20 ] |
|
Author: {'email': 'golden.janna@gmail.com', 'name': 'jannaerin', 'username': 'jannaerin'}Message: (cherry picked from commit 17984db6c531594c00bf226804d9ab7ed6225643) |
| Comment by Githook User [ 10/Mar/20 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |