Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2952

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1
    • Affects Version/s: None
    • Component/s: Spec Comp
    • Labels:
      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.
    • Fully Compatible

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

            Assignee:
            julius.park@mongodb.com Julius Park (Inactive)
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: