Skip to content

Commit

Permalink
DRIVERS-2875: add support for TopologyDescriptionChangedEvent to expe…
Browse files Browse the repository at this point in the history
…ctEvents (#1556)
  • Loading branch information
W-A-James authored Apr 17, 2024
1 parent 35aae1a commit 688b369
Show file tree
Hide file tree
Showing 6 changed files with 1,258 additions and 4 deletions.
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
----------------------------

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

0 comments on commit 688b369

Please sign in to comment.