Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2069

Require hello command for connection handshake to use OP_MSG, disallowing OP_QUERY

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None
    • Hide

      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.

      Show
      DRIVERS-1916: This ticket does two things: It clarifies that if the "hello" command is used (as opposed to "isMaster") it must be sent using OP_MSG 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.

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

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: