[GODRIVER-1708] Monitoring routine does not correctly set starting time in 1.3.6 Created: 07/Aug/20  Updated: 28/Oct/23  Resolved: 10/Aug/20

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

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-1695 heartbeats should always use connectT... Closed

 Description   

When we backported the fix for GODRIVER-1695, we added a topology.Server.createConnection method, which creates the connection that's used for heartbeats. This caused a bug in the 1.3.6 release because we're no longer setting the start time in the WithHandshaker connection option as we were in 1.3.5 (https://github.com/mongodb/mongo-go-driver/commit/61c371255d98bb1a9556ad0f5b38d48635a24bbf#diff-cc0b094d8ce69672d7e2ff6da8ff60f5L479).

The 1.4.0 code does connection handshake RTT by storing fields on the connection type itself, so we should make a 1.3.x-only fix for this.



 Comments   
Comment by Githook User [ 10/Aug/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1708 Set starting time for monitoring connection handshake (#475)
Branch: release/1.3
https://github.com/mongodb/mongo-go-driver/commit/2614f04cda1f987a013edfad79f6221ceacd2cd1

Comment by Divjot Arora (Inactive) [ 07/Aug/20 ]

https://github.com/mongodb/mongo-go-driver/pull/475

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