[JAVA-2083] Detect failed ismaster responses when monitoring servers Created: 12/Jan/16  Updated: 16/Feb/18  Resolved: 13/Jan/16

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: 2.14.0
Fix Version/s: 2.14.1

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   

The Server Discovery and Monitoring drivers specification requires that the driver sets the ServerType to Unknown when a server responds to an ismaster command where the "ok" field is not set to 1. While the 3.x driver correctly handles this, the 2.x driver does not.



 Comments   
Comment by Githook User [ 16/Feb/18 ]

Author:

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

Message: JAVA-2083: Ignore failed ismaster response in server monitor
Branch: 2.14.x
https://github.com/mongodb/mongo-java-driver/commit/0a3e00d8090b825989d903f79267a5dabc245c03

Comment by Jeffrey Yemin [ 13/Jan/16 ]

Closed for 2.14.1 release

Comment by Githook User [ 13/Jan/16 ]

Author:

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

Message: JAVA-2083: Ignore failed ismaster response in server monitor
Branch: 2.14.x
https://github.com/mongodb/mongo-java-driver/commit/0a3e00d8090b825989d903f79267a5dabc245c03

Comment by Githook User [ 13/Jan/16 ]

Author:

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

Message: JAVA-2083: Ignore failed ismaster response in server monitor
Branch: 2.x
https://github.com/mongodb/mongo-java-driver/commit/58a80ce638f436e09e56ecb0423eab3a5e46778e

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