Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3909

Implement API for copying and destroying mongoc_topology_description_t objects

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • Fully Compatible

      Currently, the topology description libmongoc provides to event listeners is (a) owned by libmongoc and (b) is freed when control is returned the libmongoc. With server descriptions (provided to other SDAM events), listeners have the ability to copy/destroy those objects; however, this is not the case with topology descriptions.

      PHPC-1150 needs such an API to fully implement SDAM monitoring, since its event objects may outlive the listener function.

            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: