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

Description update missing server address causing topology update to be discarded

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

      We noticed issues traffic was send to dead secondaries >60s after they died. I think the issue here is - 

      There is no timeout set in the heartbeat loop for op.Execute. So it defaults to OperationTimeout set at the topology. If OperationTimeout is set to 60s, then it will take about 70-80s case for the heartbeat to finish with heatbeatTimeout and heartbeatInterval set to 10s.

      We can use context with heartbeat timeout for the IsMaster command to finish the heartbeat faster.

            Assignee:
            Unassigned Unassigned
            Reporter:
            surajn.vnit@gmail.com Suraj Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: