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

Monitoring routine does not correctly set starting time in 1.3.6

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.7
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: