<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:24 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-4254] Prohibit construction of invalid topology in mongoc_topology_new</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4254</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;After &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3723&quot; title=&quot;Validate URI options on client/client pool creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3723&quot;&gt;&lt;del&gt;CDRIVER-3723&lt;/del&gt;&lt;/a&gt;, it will no longer be possible to construct a client or pool with an invalid topology (i.e. SRV lookup or URI finalization failed). Previously, clients and pools could be created with an invalid topology and errors would not be relayed until the first instance of server selection.&lt;/p&gt;

&lt;p&gt;Consider refactoring &lt;tt&gt;mongoc_topology_new&lt;/tt&gt; to take an optional &lt;tt&gt;bson_error_t&lt;/tt&gt; and return &lt;tt&gt;NULL&lt;/tt&gt; if the topology would be considered invalid.&lt;/p&gt;

&lt;p&gt;Once it is no longer possible to construct an invalid topology, checks for &lt;tt&gt;topology-&amp;gt;valid&lt;/tt&gt; (e.g. &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2d944671703171165b4505cdfef55450f2cf0fa0#diff-4d352b5fb8005dad3ed217a7f735d79c3cd1096d89132bcbc6b915a55e631c05R567&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;2d94467&lt;/a&gt; from &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4184&quot; title=&quot;Assert in invalid topology in load balanced mode topology closed callback&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4184&quot;&gt;&lt;del&gt;CDRIVER-4184&lt;/del&gt;&lt;/a&gt;) can also be removed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1956981">CDRIVER-4254</key>
            <summary>Prohibit construction of invalid topology in mongoc_topology_new</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Dec 2021 18:42:30 +0000</created>
                <updated>Thu, 31 Mar 2022 13:51:18 +0000</updated>
                                                                            <component>libmongoc</component>
                    <component>SDAM</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1384145">CDRIVER-3723</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1384145">CDRIVER-3723</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1895816">CDRIVER-4184</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzyv4v:</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>