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

Provide diagnostics when deployment does not support sessions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change

      Current exception message:

           Mongo::Error::InvalidSession:
             Sessions are not supported by the connected servers.
      

      Proposed message:

           Mongo::Error::SessionsNotSupported:
             The deployment that the driver is connected to does not support sessions. The following servers have null logical session timeout: localhost:27017
      

            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: