-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.13.3, 3.0.4
-
Component/s: Cluster Management
-
None
The Server Discover and Monitoring Specification requires that hidden replica set members contain in the seed list be treated as type RSOther, and therefore should only be monitored, but not available for server selection.
The Java driver is ignoring the "hidden" field in ismaster responses, so is treating a hidden member as a normal secondary (until the primary responds and they are all removed). It should instead treat is at RSOther.