Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1911

Average round trip time may become nil during server selection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.11.0.rc0, 2.10.2
    • Affects Version/s: 2.10.0
    • Component/s: None
    • None

      We just upgraded to 2.10.0 and had a mongoS restart cause an unhandled nil exception. I assume it's possible for this average_round_trip_time to be set to nil, possibly because it and @last_round_trip_time gets instantiated to nil. It recovered but this server should not have been attempted for selection.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            jonhyman Jon Hyman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: