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

Socket reads may raise Timeout::Error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.10.0, 2.9.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      The socket#read_from_socket method can raise Timeout::Error when selecting on a socket times out. However, the rest of the driver does not handle this exception - SDAM error handling wouldn't be invoked, etc. Also, the driver should be surfacing Mongo::Error::TimeoutError to the application on timeouts, but in this case it would surface Timeout::Error.

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

              Created:
              Updated:
              Resolved: