[CDRIVER-2811] Heartbeat succeeded/failed events have uninitialized duration Created: 31/Aug/18  Updated: 28/Oct/23  Resolved: 05/Sep/18

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.5.0
Fix Version/s: 1.13.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1144 Implement SDAM Monitoring spec Closed

 Description   

The mongoc_apm_server_heartbeat_succeeded_t and mongoc_apm_server_heartbeat_failed_t structs passed to SDAM Monitoring callbacks (CDRIVER-1144) have uninitialized duration fields.

Found while implementing CXX-1385.



 Comments   
Comment by Githook User [ 05/Sep/18 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: CDRIVER-2811 set heartbeat event durations

mongoc_apm_server_heartbeat_succeeded_t, mongoc_apm_server_heartbeat_failed_t
duration fields had been uninitialized. Test that they are set, and the same
command monitoring structs (which were implemented correctly).
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2b844115c132e041eacfece1c9a85cea0d4fe956

Generated at Wed Feb 07 21:16:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.