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

Provide diagnostics when deployment does not support sessions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.13.0.rc1
    • None
    • None
    • Minor Change

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: