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

Child processes should not destroy clients created by parent processes

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

      As demonstrated in mongodb/mongo-php-driver#527, child processes currently destroy all mongoc_client_t objects in the persistent HashTable during MSHUTDOWN. Ideally, each process should be responsible for closing only clients that it created.

            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: