[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:
Backports
Depends
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: SERVER-46743 Check RSM exists in initial handshake

(cherry picked from commit 17984db6c531594c00bf226804d9ab7ed6225643)
Branch: v4.4
https://github.com/mongodb/mongo/commit/fec756973c9475cea52113d40c09984c5f43ce99

Comment by Githook User [ 10/Mar/20 ]

Author:

{'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}

Message: SERVER-46743 Check RSM exists in initial handshake
Branch: master
https://github.com/mongodb/mongo/commit/17984db6c531594c00bf226804d9ab7ed6225643

Generated at Thu Feb 08 05:12:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.