<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24: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>[DRIVERS-2108] Clarify the precedence and scope of options resolved from TXT records</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2108</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;As part of &lt;a href=&quot;https://github.com/mongodb/specifications/blob/c219951e0c45344bc6cd0b17ce45de74003e754a/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.rst#default-connection-string-options&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initial seedlist and discovery&lt;/a&gt;, drivers are required to &lt;a href=&quot;https://github.com/mongodb/specifications/blob/c219951e0c45344bc6cd0b17ce45de74003e754a/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.rst#default-connection-string-options&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;query TXT records for certain default options&lt;/a&gt;. Because of the requirement that the MongoClient constructor perform no I/O, this can, at worst, defer the processing of URI and user options until the first instance of I/O on the MongoClient. Further complicating this is that any userDefined options specified locally must override the TXT record options.&lt;/p&gt;

&lt;p&gt;For example: the &lt;tt&gt;authSource&lt;/tt&gt; is currently an option that can be set in the TXT record. Because of this:&lt;/p&gt;

&lt;p&gt;1. A driver cannot be fully aware of the credentials of the user until I/O is performed.&lt;br/&gt;
2. A driver needs to track awareness of whether or not the current value of &lt;tt&gt;authSource&lt;/tt&gt; is a user specified value or a default value.&lt;/p&gt;

&lt;p&gt;I believe some drivers get around this problem by performing the TXT lookup during MongoClient construction.&lt;/p&gt;

&lt;p&gt;We should clarify:&lt;/p&gt;

&lt;p&gt;1. Can drivers perform TXT lookup during MongoClient construction&lt;br/&gt;
2. Must drivers assume that any option in the future can be set via TXT record?&lt;/p&gt;</description>
                <environment></environment>
        <key id="917782">DRIVERS-2108</key>
            <summary>Clarify the precedence and scope of options resolved from TXT records</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="daniel.aprahamian@mongodb.com">Daniel Aprahamian</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Sep 2019 17:10:02 +0000</created>
                <updated>Thu, 31 Mar 2022 13:59:59 +0000</updated>
                                                                <component>Initial DNS Seedlist Discovery</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2505221" author="daniel.aprahamian" created="Mon, 28 Oct 2019 17:30:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt; yes, that definitely addresses concern #1. I think it would still be nice to clarify how fearful we should be of future options being set via TXT records, as it may inform the choice of a driver to do TXT lookup in the constructor. For example, if we think we will support more options from TXT records, it might be a good idea to go even further and say that Drivers SHOULD do a TXT lookup in the constructor / ASAP.&lt;/p&gt;</comment>
                            <comment id="2505167" author="jeff.yemin" created="Mon, 28 Oct 2019 17:01:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.aprahamian&quot; class=&quot;user-hover&quot; rel=&quot;daniel.aprahamian&quot;&gt;daniel.aprahamian&lt;/a&gt;, does the recent change from &lt;a href=&quot;https://github.com/mongodb/specifications/commit/17ce7db5f402dac174d962092e08b366cb6aa54c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/17ce7db5f402dac174d962092e08b366cb6aa54c&lt;/a&gt; address some or all of your concerns?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvdekf:</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>