Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-563

don't pass server descriptions around unnecessarily

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-beta0
    • Affects Version/s: None
    • Component/s: None

      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.

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: