<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:45 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-2282] Test that mongoc_topology_compatible accepts null bson_error_t pointer</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2282</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;An incompatible topology is possible beginning in 1.9.0 when we bump our min wire version to 2 (dropping support for MongoDB 2.4 and older).&lt;/p&gt;

&lt;p&gt;We have a risky convention throughout our code that bson_error_t pointers can be NULL, which sometimes bites us. There was a latent bug in mongoc_topology_compatible that tried to memcpy topology-&amp;gt;compatibility_error to the bson_error_t out-pointer even if the latter was NULL, fixed as part of &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;. Write a test to prevent regression.&lt;/p&gt;</description>
                <environment></environment>
        <key id="427410">CDRIVER-2282</key>
            <summary>Test that mongoc_topology_compatible accepts null bson_error_t pointer</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Sep 2017 12:47:48 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:28 +0000</updated>
                            <resolved>Mon, 2 Oct 2017 23:02:23 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.8.1</fixVersion>
                    <fixVersion>1.9.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1698400" author="xgen-internal-githook" created="Fri, 13 Oct 2017 16:06:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2282&quot; title=&quot;Test that mongoc_topology_compatible accepts null bson_error_t pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2282&quot;&gt;&lt;del&gt;CDRIVER-2282&lt;/del&gt;&lt;/a&gt; test NULL error and mongoc_topology_compatible&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 7e8c82d&lt;/p&gt;

&lt;p&gt;I forgot that on the 1.8 branch, a maxWireVersion 1 server is still&lt;br/&gt;
considered compatible.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/bfcd1a4cd2aee39ec56cca365bd6e90dcf65e6af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/bfcd1a4cd2aee39ec56cca365bd6e90dcf65e6af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1697364" author="xgen-internal-githook" created="Thu, 12 Oct 2017 16:37:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2282&quot; title=&quot;Test that mongoc_topology_compatible accepts null bson_error_t pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2282&quot;&gt;&lt;del&gt;CDRIVER-2282&lt;/del&gt;&lt;/a&gt; test NULL error and mongoc_topology_compatible&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7e8c82db0a5f748c43439415d01a5e97e6512bfe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7e8c82db0a5f748c43439415d01a5e97e6512bfe&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1687247" author="xgen-internal-githook" created="Mon, 2 Oct 2017 23:02:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2282&quot; title=&quot;Test that mongoc_topology_compatible accepts null bson_error_t pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2282&quot;&gt;&lt;del&gt;CDRIVER-2282&lt;/del&gt;&lt;/a&gt; test NULL error and mongoc_topology_compatible&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7e8c82db0a5f748c43439415d01a5e97e6512bfe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7e8c82db0a5f748c43439415d01a5e97e6512bfe&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1686896" author="xgen-internal-githook" created="Mon, 2 Oct 2017 18:55:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2282&quot; title=&quot;Test that mongoc_topology_compatible accepts null bson_error_t pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2282&quot;&gt;&lt;del&gt;CDRIVER-2282&lt;/del&gt;&lt;/a&gt; test NULL error and mongoc_topology_compatible&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/20f983378b7690df3a2ce26f2304b32d29244dfc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/20f983378b7690df3a2ce26f2304b32d29244dfc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1673118" author="jesse" created="Thu, 14 Sep 2017 18:11:34 +0000"  >&lt;p&gt;Also backport to r1.8 branch in case there&apos;s a 1.8.1 release - it would deserve to have the fix and this test too.&lt;/p&gt;</comment>
                    </comments>
                    <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|ht6nbr:</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>