Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRIVERS-2875: add support for TopologyDescriptionChangedEvent to expectEvents #1556

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ Initial Server Description

``ServerDescription`` objects MUST be initialized with a default description in an “unknown” state, guaranteeing that the previous description in the events and log messages will never be null.


Initial Topology Description
----------------------------
W-A-James marked this conversation as resolved.
Show resolved Hide resolved

The first ``TopologyDescriptionChangedEvent`` to be emitted from a monitored Topology MUST set its ``previousDescription`` property to be a ``TopologyDescription`` object in the "unknown" state.

----------
Events API
----------
Expand Down Expand Up @@ -698,6 +704,8 @@ See the `README <https://github.com/mongodb/specifications/server-discovery-and-
Changelog
=========

:2024-03-29: Updated to clarify expected initial value of TopologyDescriptionChangedEvent's
previousDescription field
:2024-01-04: Updated to clarify when ServerHeartbeatStartedEvent should be emitted
:2023-03-31: Renamed to include "logging" in the title. Reorganized contents and made consistent with CLAM spec, and added requirements
for SDAM log messages.
Expand Down
Loading
Loading