[JAVA-1477] Server selection exception should chain exceptions from server monitors Created: 24/Sep/14 Updated: 30/Jan/15 Resolved: 07/Oct/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.4, 2.13.0, 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: The MongoTimeoutException thrown from BaseCluster methods now includes a short description of the cluster state,
|
| Comment by Githook User [ 07/Oct/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: The MongoTimeoutException thrown from BaseCluster methods now includes a short description of the cluster state,
|
| Comment by Githook User [ 06/Oct/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: The MongoTimeoutException thrown from BaseCluster methods now includes a short description of the cluster state,
|
| Comment by Githook User [ 06/Oct/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: The MongoTimeoutException thrown from BaseCluster methods now includes a short description of the cluster state, Conflicts: |