-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.8.0
-
Component/s: None
-
None
_mongoc_topology_description_check_compatible determines the topology to be incompatible if any server is outside of the compatible range.
Since we supported wire version 0, and that was the default value for a reset/disconnected server_description nothing was ever outside of the range.
Now that minimum wire version is 2, a unknown state server_description will have wire_version=0, yet still part of the topology (just not selectable).
However, now the compatible check will fail because it found a server outside of the range.
I think we should probably maybe initialize the server_descriptions with wire version -1 or something, or otherwise skip checks for servers in unknown state.
- related to
-
CDRIVER-689 Detect incompatible wire versions
- Closed