-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Wire Protocol
-
None
The driver currently sets request id on wire protocol messages on demand. This makes the code unnecessarily confusing and makes the driver mutate messages after they have been initialized, which is not good. Since request id must be populated eventually anyway and there's no code in the driver that creates messages and then does not send them, there is no performance loss to setting request id in the constructor and this will make the code easier to follow.