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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1
    • 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.
    • Fully Compatible

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: