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

Implement API for copying and destroying mongoc_topology_description_t objects

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.20.0
    • None
    • libmongoc
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            jmikola@mongodb.com Jeremy Mikola
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: