Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
1.8.0
-
None
-
None
Description
_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.
Attachments
Issue Links
- related to
-
CDRIVER-689 Detect incompatible wire versions
-
- Closed
-