Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2642

Handshake should use OP_MSG when API version is requested.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.16.0
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: