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

Monitoring routine does not correctly set starting time in 1.3.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.7
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      When we backported the fix for GODRIVER-1695, we added a topology.Server.createConnection method, which creates the connection that's used for heartbeats. This caused a bug in the 1.3.6 release because we're no longer setting the start time in the WithHandshaker connection option as we were in 1.3.5 (https://github.com/mongodb/mongo-go-driver/commit/61c371255d98bb1a9556ad0f5b38d48635a24bbf#diff-cc0b094d8ce69672d7e2ff6da8ff60f5L479).

      The 1.4.0 code does connection handshake RTT by storing fields on the connection type itself, so we should make a 1.3.x-only fix for this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              divjot.arora Divjot Arora
              Reporter:
              divjot.arora Divjot Arora
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: