load-balancer spec now explicitly requires that a TopologyDescriptionChangedEvent transitioning the topology from LoadBalanced to Unknown is emitted just before the TopologyClosedEvent is emitted.
sdam monitoring spec new explicitly requires that a TopologyDescriptionChangedEvent transitioning the topology to Unknown is emitted just before the TopologyClosedEvent is emitted.
load-balanced logging test asserts that TopologyDescriptionChangedEvent is emitted just before TopologyClosedEvent
Add monitoring tests to check for new behaviour across all topology types
Please complete the following before merging:
[x] Update changelog.
[x] Make sure there are generated JSON files from the YAML test files.
[x] Test changes in at least one language driver.
[x] Test these changes against all server versions and topologies (including standalone, replica set, sharded
clusters, and serverless).
What's changing?
TopologyDescriptionChangedEvent
transitioning the topology fromLoadBalanced
toUnknown
is emitted just before theTopologyClosedEvent
is emitted.TopologyDescriptionChangedEvent
transitioning the topology toUnknown
is emitted just before theTopologyClosedEvent
is emitted.TopologyDescriptionChangedEvent
is emitted just beforeTopologyClosedEvent
Please complete the following before merging: