<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:05 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-1217] Increase retry frequency of heartbeat only when necessary</title>
                <link>https://jira.mongodb.org/browse/JAVA-1217</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;If the driver is unable to connect to a server that it&apos;s supposed to be monitoring, the current behavior is to retry with a frequency governed by MongoClientOptions.heartbeatConnectRetryFrequency.   But it&apos;s not always necessary to do this.  For example, it&apos;s normal for a server to go down for maintenance, and there is no reason to retry connecting to it so long as there are other servers available that are reachable.&lt;/p&gt;

&lt;p&gt;Instead, the driver should always retry connecting at the normal frequency, governed by MongoClientOptions.heartbeatFrequency, even if the server is unreachable.  The driver should then increase the frequency only when it is asked to execute an operation and is unable to find an appropriate server to use.&lt;/p&gt;</description>
                <environment></environment>
        <key id="136232">JAVA-1217</key>
            <summary>Increase retry frequency of heartbeat only when necessary</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="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 May 2014 15:52:02 +0000</created>
                <updated>Tue, 31 Mar 2015 20:09:28 +0000</updated>
                            <resolved>Wed, 14 May 2014 18:07:51 +0000</resolved>
                                    <version>2.12.0</version>
                                    <fixVersion>2.12.2</fixVersion>
                    <fixVersion>3.0.0</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="869332" author="jeff.yemin" created="Tue, 31 Mar 2015 20:09:28 +0000"  >&lt;p&gt;Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.&lt;/p&gt;</comment>
                            <comment id="817735" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:38:12 +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="678691" author="xgen-internal-githook" created="Fri, 1 Aug 2014 14:36:46 +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;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0e20f72226a0d68d0f20eb63a417ba4040b2045a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0e20f72226a0d68d0f20eb63a417ba4040b2045a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="632729" author="xgen-internal-githook" created="Tue, 24 Jun 2014 16:29:30 +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="583896" author="xgen-internal-githook" created="Wed, 14 May 2014 18:03:38 +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;
Branch: 2.12.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0e20f72226a0d68d0f20eb63a417ba4040b2045a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0e20f72226a0d68d0f20eb63a417ba4040b2045a&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|hrg9bb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8414</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="161">Sprint 2 - May 5 - May 23</customfieldvalue>

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