Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1493

MongoClient publishes a TopologyOpenedEvent only once

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Monitoring

      A MongoClient only publishes a single TopologyOpenedEvent when the Topology is first created. However, a TopologyClosedEvent is published every time MongoClient.close is called.

      This behavior seems a bit strange. I think TopologyOpenedEvent should be published every time the Topology is (re)opened.

      Also, the SDAM monitoring spec tests do not include tests for TopologyClosedEvents.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: