[JAVA-1157] Improve exception error messages for reporting that no server is available Created: 28/Mar/14  Updated: 03/Apr/14  Resolved: 02/Apr/14

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 2.12.0, 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: final
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There are a few problems:

  1. In some cases the time out is reported in nanoseconds
  2. The toString of the server selector in use is overly complicated


 Comments   
Comment by Githook User [ 01/Apr/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1157: Clean up messaging around server selectors and server selection timeouts.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5fb47a3bf86c56ed949ce49258a351773f716d07

Generated at Thu Feb 08 08:53:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.