<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:14 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-1285] Force frequent connection attempts when waiting for cluster description</title>
                <link>https://jira.mongodb.org/browse/JAVA-1285</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The method BaseCluster.getDescription() should mimic the behavior of BaseCluster.selectServer() to force more frequent connection attempts in the case where the cluster description is not yet known.  This is important because in many cases getDescription() is called before calling selectServer().&lt;/p&gt;</description>
                <environment></environment>
        <key id="142891">JAVA-1285</key>
            <summary>Force frequent connection attempts when waiting for cluster description</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="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jun 2014 20:09:30 +0000</created>
                <updated>Fri, 30 Jan 2015 18:38:14 +0000</updated>
                            <resolved>Tue, 24 Jun 2014 16:30:39 +0000</resolved>
                                                    <fixVersion>2.12.3</fixVersion>
                    <fixVersion>3.0.0</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="817737" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:38:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1217&quot; title=&quot;Increase retry frequency of heartbeat only when necessary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1217&quot;&gt;&lt;del&gt;JAVA-1217&lt;/del&gt;&lt;/a&gt;: Instead of increasing the retry frequency for an unreachable server, always use the same frequency, and force an attempt to connect only when there is a failure of the server selector to find a matching server.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1284&quot; title=&quot;Include full wait time in timeout exceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1284&quot;&gt;&lt;del&gt;JAVA-1284&lt;/del&gt;&lt;/a&gt;: MongoTimeoutException should include the total time waited before timing out, not just the last time through the loop&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When server selection fails to find a match, await only for connectRetryFrequency, instead of maxWaitTime, so that attempts to re-connect to each server happen more frequently.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4f969b79d955bb5b90e1db947a7e1f682b19f918&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4f969b79d955bb5b90e1db947a7e1f682b19f918&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="678704" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:37:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: formatting&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9a5554950292b8944ba3c86b8fa33f4a2a8043e3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9a5554950292b8944ba3c86b8fa33f4a2a8043e3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="678703" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:37:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: Await the minimum of the connect retry frequency and the remaining wait time&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0ad15654b785723cfd84735c2e2505bd3e838a34&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0ad15654b785723cfd84735c2e2505bd3e838a34&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="678702" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:37:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: Take two&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/5bcd2f805901842f300012473e35f5ba10ed82a6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/5bcd2f805901842f300012473e35f5ba10ed82a6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="678701" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:37:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When server selection fails to find a match, await only for connectRetryFrequency, instead of maxWaitTime, so that attempts to re-connect to each server happen more frequently.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/06e567ca394691d7b1f4774f50358a2b02158e05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/06e567ca394691d7b1f4774f50358a2b02158e05&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="678700" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:37:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When waiting for the cluster description, force a connection attempt each time through the loop&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e10b6d7373ae9a95c0f6d1afcf8102714ede7e6b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e10b6d7373ae9a95c0f6d1afcf8102714ede7e6b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="632731" author="xgen-internal-githook" created="Tue, 24 Jun 2014 16:29:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1217&quot; title=&quot;Increase retry frequency of heartbeat only when necessary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1217&quot;&gt;&lt;del&gt;JAVA-1217&lt;/del&gt;&lt;/a&gt;: Instead of increasing the retry frequency for an unreachable server, always use the same frequency, and force an attempt to connect only when there is a failure of the server selector to find a matching server.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1284&quot; title=&quot;Include full wait time in timeout exceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1284&quot;&gt;&lt;del&gt;JAVA-1284&lt;/del&gt;&lt;/a&gt;: MongoTimeoutException should include the total time waited before timing out, not just the last time through the loop&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When server selection fails to find a match, await only for connectRetryFrequency, instead of maxWaitTime, so that attempts to re-connect to each server happen more frequently.&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4f969b79d955bb5b90e1db947a7e1f682b19f918&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4f969b79d955bb5b90e1db947a7e1f682b19f918&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="629542" author="jeff.yemin" created="Fri, 20 Jun 2014 20:34:28 +0000"  >&lt;p&gt;Pushed to 2.12.x, still need to port to 3.0.x.&lt;/p&gt;</comment>
                            <comment id="629064" author="xgen-internal-githook" created="Fri, 20 Jun 2014 15:15:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: formatting&lt;br/&gt;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9a5554950292b8944ba3c86b8fa33f4a2a8043e3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9a5554950292b8944ba3c86b8fa33f4a2a8043e3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="629063" author="xgen-internal-githook" created="Fri, 20 Jun 2014 15:15:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: Await the minimum of the connect retry frequency and the remaining wait time&lt;br/&gt;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0ad15654b785723cfd84735c2e2505bd3e838a34&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0ad15654b785723cfd84735c2e2505bd3e838a34&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="629062" author="xgen-internal-githook" created="Fri, 20 Jun 2014 15:15:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: Take two&lt;br/&gt;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/5bcd2f805901842f300012473e35f5ba10ed82a6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/5bcd2f805901842f300012473e35f5ba10ed82a6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="629061" author="xgen-internal-githook" created="Fri, 20 Jun 2014 15:14:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When server selection fails to find a match, await only for connectRetryFrequency, instead of maxWaitTime, so that attempts to re-connect to each server happen more frequently.&lt;br/&gt;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/06e567ca394691d7b1f4774f50358a2b02158e05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/06e567ca394691d7b1f4774f50358a2b02158e05&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="629060" author="xgen-internal-githook" created="Fri, 20 Jun 2014 15:14:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1285&quot; title=&quot;Force frequent connection attempts when waiting for cluster description&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1285&quot;&gt;&lt;del&gt;JAVA-1285&lt;/del&gt;&lt;/a&gt;: When waiting for the cluster description, force a connection attempt each time through the loop&lt;br/&gt;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e10b6d7373ae9a95c0f6d1afcf8102714ede7e6b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e10b6d7373ae9a95c0f6d1afcf8102714ede7e6b&lt;/a&gt;&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|hrg9i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8445</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="202">Sprint 4 - June 16 - July 3</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>