[JAVA-1295] ServerMonitor does not log failed connection attempt Created: 24/Jun/14  Updated: 30/Jan/15  Resolved: 05/Jul/14

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

Type: Bug 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   

Now that the Connected state is gone, the equality check on ServerDescription in ServerMonitor is no longer sufficient to control whether the failure should be logged.



 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: JAVA-1295: Using difference between the current and previous exception in ServerMonitor to determine whether to log a state change.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/65f16e4fc2bb269f292974c84eb037f585915c00

Comment by Githook User [ 01/Aug/14 ]

Author:

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

Message: JAVA-1295: Using difference between the current and previous exception in ServerMonitor to determine whether to log a state change.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/443b6840a68dcf058da306c383319cf7c97edfe7

Comment by Githook User [ 03/Jul/14 ]

Author:

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

Message: JAVA-1295: Using difference between the current and previous exception in ServerMonitor to determine whether to log a state change.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/65f16e4fc2bb269f292974c84eb037f585915c00

Comment by Githook User [ 03/Jul/14 ]

Author:

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

Message: JAVA-1295: Using difference between the current and previous exception in ServerMonitor to determine whether to log a state change.
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/443b6840a68dcf058da306c383319cf7c97edfe7

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