[JAVA-4846] ConnectionId returned in heartbeats may be int64 Created: 18/Jan/23 Updated: 05/Jan/24 Resolved: 05/Jan/24 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Monitoring |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | PM Bot | Assignee: | Valentin Kavalenka |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | 5.0 Breaking Changes | ||||||||||||
| Quarter: | FY24Q4 | ||||||||||||
| Upstream Changes Summary: | DRIVERS-2503: 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. |
||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||
| Documentation Changes: | Needed | ||||||||||||
| Documentation Changes Summary: | We made breaking changes, and should mention them in What's new:
|
||||||||||||
| Description |
|
This ticket was split from DRIVERS-2503, please see that ticket for a detailed description. |
| Comments |
| Comment by Githook User [ 05/Jan/24 ] |
|
Author: {'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}Message: Make `ConnectionId.serverValue`/`localValue` of the `Long`/`long` type (#1280)
|
| Comment by Jeffrey Yemin [ 14/Aug/23 ] |
|
The required API changes seem to be encapsulated in the com.mongodb.connection.ConnectionId class, primarily in the Integer getServerValue() method, which would be changed to return a Long instead. |