[GODRIVER-2737] ConnectionId returned in heartbeats may be int64 Created: 18/Jan/23  Updated: 28/Oct/23  Resolved: 18/May/23

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

Type: Bug Priority: Unknown
Reporter: PM Bot Assignee: Preston Vasquez
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-2503 ConnectionId returned in heartbeats m... Implementing
Related
is related to GODRIVER-2824 Remove non-int64 Exported Connection IDs Closed
Quarter: FY24Q1
Upstream Changes Summary:

DRIVERS-2503:
The connectionId in the hello (or legacy hello) response can be an int32, double, or int64. Many drivers assume an int32, which may result in connectionId truncation or connection failure. Drivers should ensure that the server's connectionId (and the client connectionId for consistency) is expressed as a numeric type capable of holding an int64.

NOTE: If the client and server connectionId fields are part of the driver's public API, you may have to add new int64 connectionId fields and deprecate the existing int32 fields. On the next major version bump, the deprecated int32 fields should be removed.

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-2503, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 15/May/23 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2737 ConnectionId returned in heartbeats may be int64 (#1266)
Branch: release/1.11
https://github.com/mongodb/mongo-go-driver/commit/604cc07fb778ec8475301796480d29bd0e66a375

Comment by Githook User [ 12/May/23 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2737 ConnectionId returned in heartbeats may be int64 (#1239)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/97443a6cf7f07c2b6c22d4805ccafd2e77661499

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