Handshake should use OP_MSG when API version is requested.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 2.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to OP_MSG spec

      MongoDB drivers SHOULD perform the MongoDB handshake using OP_MSG if an API version was declared on the client.
      

      Currently Ruby driver performs handshake using OP_QUERY; there are no fundamental problems that blocks us from using OP_MSG.

            Assignee:
            Dmitry Rybakov
            Reporter:
            Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: