Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-531

MongoReplicaSetClient raises confusing error message after query timeout

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.5.1
    • 2.7
    • None
    • None

    Description

      See this GG discussion. Distinguish between connection errors and query timeouts. Ensure that a MRSC with a socketTimeoutMS configured raises a "timeout" exception, rather than "No replica set members available for query", if a query times out.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: