[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: |
| 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: |
| Comment by Samantha Ritter (Inactive) [ 13/Mar/15 ] |
|
code review: https://github.com/mongodb/mongo-c-driver/pull/199/ |