Server selection exception should chain exceptions from server monitors

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently BaseCluster.selectServer throws a MongoTimeoutException if no matching servers can be found for the selector. But if the reason there are no matching servers is due to one or more exceptions in the server monitors, these exceptions are not communicated to the caller in any way.

      For example, if the server monitor fails to connect due to an authentication issue or an IOException, that will not be part of the exception thrown to the caller.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: