[CSHARP-3920] Require hello command for connection handshake to use OP_MSG, disallowing OP_QUERY Created: 19/Oct/21  Updated: 21/Jan/22  Resolved: 21/Jan/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
Resolution: Done Votes: 0
Labels: size-xsmall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Quarter: FY22Q4
Upstream Changes Summary:

DRIVERS-1916:
This ticket does two things:

  1. It clarifies that if the "hello" command is used (as opposed to "isMaster") it must be sent using OP_MSG
  2. Because the previous version of the spec already required that if a versioned API is specified, "hello" must be used, it is made explicit that this also means OP_MSG must be used.

Drivers must ensure that their connection handshake uses both OP_MSG and "hello" if a versioned API is specified.
For an example of what your connection process should look like after this change, take a look at the Python implementation in the handshake spec.


 Description   

This ticket was split from DRIVERS-1916, please see that ticket for a detailed description.



 Comments   
Comment by James Kovacs [ 21/Jan/22 ]

This was already implemented in the context of CSHARP-3516.

Generated at Wed Feb 07 21:46:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.