Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-361

Manager::getServers() should omit unknown servers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-beta1
    • Affects Version/s: 0.6.3
    • Component/s: None
    • None

      When Manager::getServers() is called before cluster discovery (e.g. immediately after construction), it returns Server instances with missing information. We should filter out these servers so that only known servers are returned.

      Note: previously, this ticket requested a change to ensure that at least one discovery round has been performed. We ultimately decided against that, as it makes getServers() too similar to selectServer().

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: