Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2708

Refactor client metadata transmission to overflow to the hello command comment field

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Handshake
    • None
    • Needed

      When a driver performs the initial handshake with the server the initial payload includes a client document that identifies the system the driver is running on.

      This metadata doesn't factor into the success of a handshake, though if the transmitted size exceeds 512 bytes, it can result in a failed handshake.

      Recently there have been a number of initiatives (DRIVERS-2209, DRIVERS-2570) that have required additional information to be included in the handshake metadata. Furthermore, DRIVERS-2483 was identified as an opportunity to optimize the payload to further reduce the size and improve handling of client.platform, which is a "free for all" (not ideal, but justified by the design rationale).

      To better ensure the success of an initial handshake, as well as support the continued evolution of the metadata being captured the metadata included in the handshake transmission should be refactored.

      This would include:

      This would not include:

      • Moving all client metadata to the command field (client metadata would continue to be used)

            Assignee:
            rishabh.bisht@mongodb.com Rishabh Bisht
            Reporter:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Rishabh Bisht Rishabh Bisht
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: