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

Use ConnectionTimeoutException for server selection failures

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.3
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None

      HHVM throws ConnectionTimeoutException for server selection failures, which are usually timeout errors. This is not a BC break, as we currently throw RuntimeException.

      Note that we do not have a ServerSelectionTimeoutException; however, since all connection activity routes through the server selection process, it's reasonable to simply use "connection" terminology for such errors.

            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: