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

Persist topology state between requests

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.2.0-alpha2, 1.2.0
    • Affects Version/s: 1.0.0-beta1
    • Component/s: None
    • None

      While working on multi-request testing for phongo I realized phongo hasn't been updated to deal with the mongoc-1.2 SDAM changes.

      We correctly keep the stream alive between requests, but upon returning the existing stream on the next request, mongoc will still do a full SDAM demanded discovery - which includes the whole ismaster shebang routines.

      This means on every PHP request we issue ismaster call to every node as-if we were creating a new connection.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: