[SERVER-25009] callers of ReplicaSetMonitor::get should check if returned pointer is null Created: 12/Jul/16  Updated: 04/Jan/17  Resolved: 19/Sep/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.0.11, 3.3.9
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Nathan Myers
Resolution: Done Votes: 0
Labels: bkp
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:
v3.2
Sprint: Sharding 18 (08/05/16), Sharding 2016-08-29, Sharding 2016-09-19, Sharding 2016-10-10
Participants:

 Description   

Not checking:
https://github.com/mongodb/mongo/blob/r3.3.9/src/mongo/client/parallel.cpp#L413

And this should not fassert:
https://github.com/mongodb/mongo/blob/r3.3.9/src/mongo/client/remote_command_targeter_rs.cpp#L53



 Comments   
Comment by Githook User [ 19/Sep/16 ]

Author:

{u'username': u'nathan-myers-mongo', u'name': u'Nathan Myers', u'email': u'nathan.myers@10gen.com'}

Message: SERVER-25009 when ReplicaSetMonitor::get() fails, report name
Branch: master
https://github.com/mongodb/mongo/commit/6350b1f9f11a8f4971f15859426a0c991be39205

Comment by Githook User [ 16/Sep/16 ]

Author:

{u'name': u'Nathan Myers', u'email': u'ncm@asperasoft.com'}

Message: SERVER-25009 check null ReplicaSetMonitor::get(), connection string
Branch: master
https://github.com/mongodb/mongo/commit/be5bbd938a75d5532ed52df03f6e17ef818a3f66

Generated at Thu Feb 08 04:08:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.