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

    • Improvement
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core API
    • 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

            divjot.arora@mongodb.com Divjot Arora
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: