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

Requesting an immediate heartbeat check after an error doesn't work for streaming heartbeats

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • 1.10.3, 1.11.4
    • SDAM
    • None

    Description

      There are a few places that the Go driver attempts to request an immediate server heartbeat check while processing an error:

      That command is supposed to stop the currently running check and immediately request a new one (see here). However, calling RequestImmediateCheck doesn't cancel the current check and waitUntilNextCheck function is only run if the currently running check is cancelled, so RequestImmediateCheck basically does nothing most of the time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: