Skip to content

Commit

Permalink
Update logging and monitoring spec
Browse files Browse the repository at this point in the history
  • Loading branch information
W-A-James committed Mar 29, 2024
1 parent 0a1d448 commit fedf41a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ 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 +703,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

0 comments on commit fedf41a

Please sign in to comment.