-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
GODRIVER-2737 changes the connection ID types on events to int64. To avoid breaking changes in the 1.x driver, we deprecate the old ServerConnectionID fields in favor of ServerConnectionID64. In the 2.0 version, these deprecated fields should be removed:
- CommandStartedEvent.ServerConnectionID
- CommandFinishedEvent.ServerConnectionID
In the case of PoolEvent.ConnectionID, the type needs to be updated to int64 to align with the specification here. This will also require updating the poolID pipeline from connection to operation, each member of the pipeline should be labeled with TODO(GODRIVER-2824).
Definition of done:
- Change PoolEvent.ConnectionID to an int64.
- Remove the deprecated ServerConnectionID fields from CommandStartedEvent and CommandFinishedEvent.
- Update the internal representation of the connection pool's connection ID to int64 (from uint64).
- depends on
-
GODRIVER-2617 Remove or un-export all currently deprecated code in Go Driver 2.0
- Closed
- related to
-
GODRIVER-2737 ConnectionId returned in heartbeats may be int64
- Closed