<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:23 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>[JAVA-2927] Support polling SRV records for mongos discovery</title>
                <link>https://jira.mongodb.org/browse/JAVA-2927</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;We provide mongodb sharded cluster as&#160; a cloud service.We suggest tenant use &quot;mongodb+srv://&quot; as the connection string prefix.&lt;/p&gt;

&lt;p&gt;We insert a SRV record into DNS when tenant scale out a mongos node.We want driver auto discovery this node and then apply new connection to it.&lt;/p&gt;

&lt;p&gt;Actually this new mongos node does not appear in the topology before the app with driver restart.&lt;/p&gt;

&lt;p&gt;I know the &quot;DNS Seed List&quot; feature is aimed to&#160;decrease app&apos;s maintenance load.It would be better if driver could monitor the change of dns seed list and reset the topology in time.&lt;/p&gt;</description>
                <environment></environment>
        <key id="588603">JAVA-2927</key>
            <summary>Support polling SRV records for mongos discovery</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="benwuhua">xuran</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Aug 2018 03:12:04 +0000</created>
                <updated>Sat, 28 Oct 2023 11:22:45 +0000</updated>
                            <resolved>Wed, 9 Jan 2019 18:06:06 +0000</resolved>
                                                    <fixVersion>3.10.0</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>2</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2499031" author="jeff.yemin" created="Thu, 24 Oct 2019 13:23:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=wangzicong%40bytedance.com&quot; class=&quot;user-hover&quot; rel=&quot;wangzicong@bytedance.com&quot;&gt;wangzicong@bytedance.com&lt;/a&gt; looks like we don&apos;t have any test cases that don&apos;t use the default port.  If you have tried it and it&apos;s not working, please open a new JAVA issue.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="2499002" author="wangzicong@bytedance.com" created="Thu, 24 Oct 2019 13:05:50 +0000"  >&lt;p&gt;Hi&#160;Jeffrey,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I have a quick question regarding this change. It seems to me that &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/29edbd42c9acce4e197e764c481b58808bb45f73/driver-core/src/main/com/mongodb/internal/connection/DefaultDnsSrvRecordMonitor.java#L124&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; the java driver will only resolve the hostname from the SRV record and always assume the mongos server on the host is running under the default port 27017.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Is this by design or am I missing something?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks a lot,&lt;/p&gt;

&lt;p&gt;Atwood&lt;/p&gt;</comment>
                            <comment id="2113588" author="xgen-internal-githook" created="Mon, 14 Jan 2019 01:19:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Move StableMultiServerCluster to MultiServerCluster&lt;/p&gt;

&lt;p&gt;Did this in two steps so that we wouldn&apos;t lose the history&lt;br/&gt;
on the former MultiServerCluster class (which is now&lt;br/&gt;
called AbstractMultiServerCluster)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2927&quot; title=&quot;Support polling SRV records for mongos discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2927&quot;&gt;&lt;del&gt;JAVA-2927&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.10.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/53bf5b550f1853c939e30ddbcf380e1f6d8026be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/53bf5b550f1853c939e30ddbcf380e1f6d8026be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2113587" author="xgen-internal-githook" created="Mon, 14 Jan 2019 01:19:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Poll for DNS SRV record updates&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2927&quot; title=&quot;Support polling SRV records for mongos discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2927&quot;&gt;&lt;del&gt;JAVA-2927&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.10.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/3b215b5bc39d5ddd3e9b6fc8e494b2fa41d82c9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/3b215b5bc39d5ddd3e9b6fc8e494b2fa41d82c9d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2110204" author="xgen-internal-githook" created="Wed, 9 Jan 2019 18:06:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Move StableMultiServerCluster to MultiServerCluster&lt;/p&gt;

&lt;p&gt;Did this in two steps so that we wouldn&apos;t lose the history&lt;br/&gt;
on the former MultiServerCluster class (which is now&lt;br/&gt;
called AbstractMultiServerCluster)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2927&quot; title=&quot;Support polling SRV records for mongos discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2927&quot;&gt;&lt;del&gt;JAVA-2927&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4f02a9757b7995caff63ba4f26c2121c50d90036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4f02a9757b7995caff63ba4f26c2121c50d90036&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2110203" author="xgen-internal-githook" created="Wed, 9 Jan 2019 18:06:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Poll for DNS SRV record updates&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2927&quot; title=&quot;Support polling SRV records for mongos discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2927&quot;&gt;&lt;del&gt;JAVA-2927&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/fc9ab1ac1e43bdbb813dd25fdd32dff345aac2d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/fc9ab1ac1e43bdbb813dd25fdd32dff345aac2d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1976193" author="ross@10gen.com" created="Wed, 15 Aug 2018 10:37:28 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=benwuhua&quot; class=&quot;user-hover&quot; rel=&quot;benwuhua&quot;&gt;benwuhua&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for the ticket.  As you know the current DNS support is only for the initial seedlist discovery and any changes to DNS would require a new MongoClient.&lt;/p&gt;

&lt;p&gt;Supporting DNS monitoring would require some wider architectural changes. The implications of those architectural changes need to be considered across all drivers.  As such I have created &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-561&quot; title=&quot;Support polling SRV records for mongos discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-561&quot;&gt;&lt;del&gt;DRIVERS-561&lt;/del&gt;&lt;/a&gt; to track the conversation about bringing DNS monitoring to all drivers.&lt;/p&gt;

&lt;p&gt;Kind Regards,&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="631581">JAVA-3084</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="588670">DRIVERS-561</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-3081</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7n1z:</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>