MongoClient publishes a TopologyOpenedEvent only once

XMLWordPrintableJSON

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

      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
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: