[CDRIVER-563] don't pass server descriptions around unnecessarily Created: 09/Mar/15  Updated: 07/Oct/15  Resolved: 13/Mar/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2-beta0

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: SDAM
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In the cluster code, some methods take server descriptions as parameters when really, we shouldn't be passing those objects down so deep. The information those functions need should be pulled out of the server description or cluster node at a higher level and then passed down. Passing server descriptions around will encourage us to use them in the future in ways that may cause race conditions.



 Comments   
Comment by Githook User [ 07/Oct/15 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: CDRIVER-563 avoid passing server descriptions around
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/bad4f3753354edce5a8e448c0a63cc7ee17a1f82

Comment by Githook User [ 13/Mar/15 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: CDRIVER-563 avoid passing server descriptions around
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/bad4f3753354edce5a8e448c0a63cc7ee17a1f82

Comment by Samantha Ritter (Inactive) [ 13/Mar/15 ]

code review: https://github.com/mongodb/mongo-c-driver/pull/199/

Generated at Wed Feb 07 21:09:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.