<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-2270] _mongoc_topology_description_check_compatible doesn&apos;t allow for unknown states </title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2270</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;_mongoc_topology_description_check_compatible determines the topology to be incompatible if any server is outside of the compatible range.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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).&lt;/p&gt;

&lt;p&gt;However, now the compatible check will fail because it found a server outside of the range.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;</description>
                <environment></environment>
        <key id="425368">CDRIVER-2270</key>
            <summary>_mongoc_topology_description_check_compatible doesn&apos;t allow for unknown states </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Sep 2017 04:17:54 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:29 +0000</updated>
                            <resolved>Tue, 12 Sep 2017 23:20:55 +0000</resolved>
                                    <version>1.8.0</version>
                                    <fixVersion>1.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1676102" author="xgen-internal-githook" created="Tue, 19 Sep 2017 00:13:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;bjori&apos;, &apos;name&apos;: &apos;Hannes Magnusson&apos;, &apos;email&apos;: &apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; Remove duplicate fix&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f48a5d97b1a2ab3df24a6b360ffede83ac3e4ed6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f48a5d97b1a2ab3df24a6b360ffede83ac3e4ed6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1676040" author="ramon.fernandez" created="Mon, 18 Sep 2017 22:14:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;bjori&apos;, &apos;name&apos;: u&apos;Hannes Magnusson&apos;, &apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message:Merge branch &apos;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt;-drop-2.4-support&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt;-drop-2.4-support:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; check_n_modified is no longer needed&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Don&apos;t use clang to format this file&lt;br/&gt;
  Use WIRE_VERSION_MIN per feedback&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; Fix possible primary&lt;br/&gt;
  Remove wireverions&amp;lt;2 tests and ensure mock server is min=2&lt;br/&gt;
  Default min/maxWireVersion when non provided for mock server&lt;br/&gt;
  Remove dead write_concern parameter&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; _mongoc_topology_description_check_compatible doesn&apos;t allow for unknown states&lt;br/&gt;
  Allow error to be NULL&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Skip skipif, wire version is always 2 or more&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Drop references and tests to 2.4&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Bump minimum required wire protocol version&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Only use OP_&lt;span class=&quot;error&quot;&gt;&amp;#91;INSERT|UPDATE|DELETE&amp;#93;&lt;/span&gt; for w=0&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Remove support for omit_nModified&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Remove support for aggregate-not-as-cursor&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Drop support for system.users&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Stop testing on MongoDB 2.4&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Drop support for system.indexes&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2243&quot; title=&quot;Drop support for MongoDB 2.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2243&quot;&gt;&lt;del&gt;CDRIVER-2243&lt;/del&gt;&lt;/a&gt; Drop support for 2.4 GLE&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a3c4fb65b97b7a1fc4bd412fbe4f398254137c0c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a3c4fb65b97b7a1fc4bd412fbe4f398254137c0c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1676023" author="xgen-internal-githook" created="Mon, 18 Sep 2017 22:08:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;bjori&apos;, &apos;name&apos;: &apos;Hannes Magnusson&apos;, &apos;email&apos;: &apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; Fix possible primary&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/52eae75dbf98d65eb2b7113f68de36c2f1ffdfef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/52eae75dbf98d65eb2b7113f68de36c2f1ffdfef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1676022" author="xgen-internal-githook" created="Mon, 18 Sep 2017 22:08:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;bjori&apos;, &apos;name&apos;: &apos;Hannes Magnusson&apos;, &apos;email&apos;: &apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; _mongoc_topology_description_check_compatible doesn&apos;t allow for unknown states&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/832bba96dd9411c38fb68439384b7f884affb0fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/832bba96dd9411c38fb68439384b7f884affb0fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1672234" author="bjori" created="Wed, 13 Sep 2017 19:26:22 +0000"  >&lt;p&gt;There is still a bug, where a segfault will occur if the topology is incompatible and the optional error was not provided.&lt;/p&gt;

&lt;p&gt;See also: &lt;a href=&quot;https://mongodbcr.appspot.com/162150001/diff/80001/src/mongoc/mongoc-topology.c#newcode433&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/162150001/diff/80001/src/mongoc/mongoc-topology.c#newcode433&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1671416" author="ramon.fernandez" created="Wed, 13 Sep 2017 00:14:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; compatibility logic fix, part 2&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/382334a61e756e5209566612360a2ca2e253eb1c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/382334a61e756e5209566612360a2ca2e253eb1c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1671415" author="ramon.fernandez" created="Wed, 13 Sep 2017 00:14:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; compatibility logic fix, part 2&lt;br/&gt;
Branch:r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4746b65b978177b9de44728914b96ac8163dce4a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4746b65b978177b9de44728914b96ac8163dce4a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1670891" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:32:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; compatibility logic fix&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/590cdfe1fa7d5c299db1d1ca25f8c86f7b31bde2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/590cdfe1fa7d5c299db1d1ca25f8c86f7b31bde2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1670890" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:32:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2270&quot; title=&quot;_mongoc_topology_description_check_compatible doesn&amp;#39;t allow for unknown states &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2270&quot;&gt;&lt;del&gt;CDRIVER-2270&lt;/del&gt;&lt;/a&gt; compatibility logic fix&lt;br/&gt;
Branch:r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7d761a0fb4d00492e23f30441c3d0cc1c547eae4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7d761a0fb4d00492e23f30441c3d0cc1c547eae4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1670810" author="jesse" created="Tue, 12 Sep 2017 18:10:38 +0000"  >&lt;p&gt;Ooh nice catch.&lt;/p&gt;</comment>
                            <comment id="1670767" author="bjori" created="Tue, 12 Sep 2017 17:55:26 +0000"  >&lt;p&gt;I think this is still Open.&lt;/p&gt;

&lt;p&gt;We aggressively call &lt;tt&gt;_mongoc_topology_description_check_compatible&lt;/tt&gt;, every time we get a ismaster response in fact.&lt;/p&gt;

&lt;p&gt;In replicaset mode, when seeding with just a secondary, we get that result back, iterate over the hosts add them to the topology and mark the primary (as reported by this node) as MONGOC_SERVER_POSSIBLE_PRIMARY.&lt;br/&gt;
We then continue to check the compatibility of the topology, before ever actually having recieved ismaster from that node.&lt;br/&gt;
Other secondaries we discovered are in the state of &lt;tt&gt;MONGOC_SERVER_UNKNOWN&lt;/tt&gt; so we skip them now, but the likely primary is &lt;tt&gt;MONGOC_SERVER_POSSIBLE_PRIMARY&lt;/tt&gt; so we deem the topology as a whole as incompatible&lt;/p&gt;</comment>
                            <comment id="1669672" author="jesse" created="Mon, 11 Sep 2017 18:49:07 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/590cdfe1fa7d5c299db1d1ca25f8c86f7b31bde2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/590cdfe1fa7d5c299db1d1ca25f8c86f7b31bde2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1.8: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7d761a0fb4d00492e23f30441c3d0cc1c547eae4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7d761a0fb4d00492e23f30441c3d0cc1c547eae4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1669164" author="jesse" created="Mon, 11 Sep 2017 12:47:27 +0000"  >&lt;p&gt;Oh, I was confused. 1.8.0 works despite the logic bug because 1.8.0 is still compatible with servers that have maxWireVersion 0. Let&apos;s fix it in 1.8.0 anyway since that&apos;s got the latest update to this compatibility logic. It wouldn&apos;t actually affect behavior until we bump &lt;tt&gt;WIRE_VERSION_MIN&lt;/tt&gt; in 1.9.0.&lt;/p&gt;</comment>
                            <comment id="1667988" author="bjori" created="Fri, 8 Sep 2017 14:40:50 +0000"  >&lt;p&gt;I think so, I haven&apos;t dug way to deep into this yet, just applied the above patch to fix this for the mock server tests&lt;/p&gt;</comment>
                            <comment id="1667942" author="jesse" created="Fri, 8 Sep 2017 14:27:36 +0000"  >&lt;p&gt;This needs to be fixed in 1.8, right? Otherwise 1.8 will fail with an &quot;incompatible&quot; error when connected to a replica set with some unavailable members.&lt;/p&gt;</comment>
                            <comment id="1667685" author="bjori" created="Fri, 8 Sep 2017 04:48:11 +0000"  >&lt;p&gt;It looks like&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;diff --git a/src/mongoc/mongoc-topology-description.c b/src/mongoc/mongoc-topology-description.c&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;index 94b260ffe..a87a98835 100644&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;--- a/src/mongoc/mongoc-topology-description.c&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;+++ b/src/mongoc/mongoc-topology-description.c&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;@@ -1704,6 +1704,9 @@ _mongoc_topology_description_check_compatible (&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    for (i = 0; i &amp;lt; td-&amp;gt;servers-&amp;gt;items_len; i++) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;       sd = (mongoc_server_description_t *) mongoc_set_get_item (td-&amp;gt;servers,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                                                 (int) i);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;+      if (sd-&amp;gt;type == MONGOC_SERVER_UNKNOWN) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;+         continue;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;+      }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;is sufficient and seems correct.&lt;/p&gt;

&lt;p&gt;I&apos;m still going through a ton of mockserver tests though &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="206453">CDRIVER-689</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht6bg7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>