Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1060

Do not send client metadata on regular operation.IsMaster.Execute invocations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Core API
    • Labels:
      None

      Description

      The operaiton.IsMaster type supports two different modes of execution: Execute and Handshake. The Handshake method is called when setting up a new connection and should send client metadata. The Execute method is called during heartbeats and should not send client metadata. To fix this, create a second command method that is used during Execute that does not add client metadata to the document.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: