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

Persist topology state between requests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-beta1
    • Fix Version/s: 1.2.0, 1.2.0-alpha2
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: