[GODRIVER-3036] Clarify whether heartbeat started event should be emitted before connection establishment in ServerMonitor Created: 31/Oct/23  Updated: 07/Feb/24  Resolved: 05/Feb/24

Status: Closed
Project: Go Driver
Component/s: SDAM
Affects Version/s: None
Fix Version/s: 1.13.2

Type: Task Priority: Unknown
Reporter: PM Bot Assignee: Qingyang Hu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2677 Clarify whether heartbeat started eve... Implementing
Quarter: FY24Q4
Upstream Changes Summary:

DRIVERS-2677:
Summary of necessary driver changes

  • Ensure that ServerHeartbeatStarted events are emitted before monitoring connection is established.
    • Note that when measuring heartbeat duration, it should not include the time taken to establish the connection
  • Implement new prose test (referenced below)

Commits for syncing spec/prose tests
(and/or refer to an existing language POC if needed)

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2677, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 07/Feb/24 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-3036 Add prose test for ServerHeartbeatStartedEvent. (#1548)
Branch: v1
https://github.com/mongodb/mongo-go-driver/commit/488af3dd4ae3ade7dc86555b542a7f098afd79d7

Comment by Githook User [ 05/Feb/24 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-3036 Add prose test for ServerHeartbeatStartedEvent. (#1534)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/aabed7ffb88cb41760e5396183bc0ef874156e74

Generated at Thu Feb 08 08:39:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.