You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Resolves CDRIVER-4500 (SDAM structured logs + updated unified tests)
* Resolves CDRIVER-4758 (Prose test for heartbeat event order: /server_discovery_and_monitoring/prose/heartbeat)
* Resolves CDRIVER-4137 (Missing server close events, now tested by /server_discovery_and_monitoring/unified)
* Completes outstanding issues in the CDRIVER-3775 epic (libmongoc structured logging)
Details:
* Synchronized SDAM spec tests from the specifications repository, commit d795d493c41022cb8ed15006ae5ac5ad85936f40
* Added /server_discovery_and_monitoring/unified tests
* Refactoring: new log-and-monitor type for apm monitoring state plus structured log instance
* Implemented SDAM log messages for topology changes and monitoring lifecycle
* Fixes for lifecycle events generated for Structured Log and APM consumers:
* ServerOpeningEvent is deferred based on topology 'opening' state, not based on when callbacks are installed.
* Required ServerClosedEvent and topology Unknown state changes are emitted prior to TopologyClosedEvent.
* New Structured Log items:
* oid() for a plain ObjectID without hex representation
* topology_description_as_json() for plain topology descriptions not inside a topology
* Added test skips for SDAM unified tests that require pool support, driver-generated connection IDs, thread entities.
* Test skips for CDRIVER-5870 (Spec compliant response to authentication errors)
* Additional debug output from loadbalancer tests
* CDRIVER-4758: added /server_discovery_and_monitoring/prose/heartbeat
* Unified test runner changes
* Error instead of segfault when checking events/logs on missing client entity
* Support for "closing" some entity types without deleting (For example, to inspect events logged when closing a client)
* Added debug logging about log suppression
* Added per-entity structured log filter stack (entity_map_log_filter_push/pop) used internally to refine the apparent behavior of waitForEvent
* Added SDAM APM events, and a suitable eventType filtering implementation.
* New operations: assertEventCount, recordTopologyDescription, assertTopologyType, waitForPrimaryChange
* entity-map: pass server monitoring mode URI option
* runCommand should report reply as result for matching
* waitForEvent: do an entire stream-selection, to advance blocking topology scans
* Fix entity-map destructor for findcursor without cursor
0 commit comments