-
Type:
Spec Change
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Component/s: SDAM
-
None
-
Needed
Summary
When a MongoClient is explicitly closed, a serverHeartbeatFailed event should not be emitted if closing interrupts a monitoring connection's hello.
Motivation
Who is the affected end user?
Users who have SDAM monitoring enabled.
How does this affect the end user?
Users might be confused as to why a heartbeat failed event is emitted when they explicitly closed their client.
How likely is it that this problem or use case will occur?
Unsure.
If the problem does occur, what are the consequences and how severe are they?
Users might be confused as to why a heartbeat failed event is emitted when they explicitly closed their client.
Is this issue urgent?
no.
Is this ticket required by a downstream team?
no.
Is this ticket only for tests?
no.
Acceptance Criteria
- Clarify that heartbeat failed events should not be emitted when heartbeats are interrupted when the client is explicitly closed.
- Add tests to enforce this behavior.
- related to
-
NODE-6629 serverHeartbeatFailed trigger problem
-
- Closed
-