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

isMaster response changing causes nil reference in the session pool

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.0.rc0, 2.6.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      We received an "ArgumentError: comparison of Float with nil failed" in the Mongo session pool. I believe this is because @cluster.logical_session_timeout is backed by isMaster which can change in the middle of execution.

      https://github.com/mongodb/mongo-ruby-driver/pull/1081 will likely fix this.

            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: