<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:25 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-2176] Enable and configure TCP Keepalive by default</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2176</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>

&lt;ol&gt;
	&lt;li&gt;A driver MUST enable TCP keepalive by default.  This matches the behavior of the MongoDB server.&lt;/li&gt;
	&lt;li&gt;A driver MUST deprecate TCP keepalive-related options in the connection string (and any other way that it is configured), as there is no demonstrated benefit to allowing it to be disabled.  This also matches the behavior of the server.&lt;/li&gt;
	&lt;li&gt;A driver SHOULD set tcp_keepalive_time to 300 seconds unless it determines that the system default is already less than that. If the driver is unable to determine the system default at all it should not attempt to change it.  This matches the behavior of the server as well.&lt;/li&gt;
	&lt;li&gt;A driver SHOULD set tcp_keepalive_intvl to 10 seconds unless it determines that the system default is already less than that.   If the driver is unable to determine the system default at all it should not attempt to change it.  This is not the current behavior of the server, but if accepted here it will be recommended.  The reasoning is that with the default of 75 seconds for this value and a default of 9 probes, the actual time to failure is 300 + (75 * 9) = 975 sec = 16.25 minutes.  With a 10 second interval between probes it becomes a more reasonable 6.5 minutes.&lt;/li&gt;
	&lt;li&gt;A driver SHOULD set tcp_keepalive_cnt to 9 probes unless it determines that the system default is already less than that. If the driver is unable to determine the system default at all it should not attempt to change it.&lt;/li&gt;
	&lt;li&gt;A driver MUST document how keepalive-related options are configured.  Drivers that can set tcp_keepalive_time and tcp_keepalive_intvl to the values mandated above MUST document that they do so.  Drivers that can not MUST document that they do not and link to appropriate &lt;a href=&quot;https://docs.mongodb.com/manual/faq/diagnostics/#does-tcp-keepalive-time-affect-mongodb-deployments&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Diagnostics FAQ keepalive section&lt;/a&gt; for instructions on setting these values at the system level.&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;As part of this change, drivers should include in their documentation a link to the &lt;a href=&quot;https://docs.mongodb.com/v3.2/faq/diagnostics/#does-tcp-keepalive-time-affect-mongodb-deployments&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Diagnostics FAQ keepalive section&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="390754">CDRIVER-2176</key>
            <summary>Enable and configure TCP Keepalive by default</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="13201">Fixed</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Jun 2017 19:29:58 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:39 +0000</updated>
                            <resolved>Thu, 17 Aug 2017 21:29:48 +0000</resolved>
                                                    <fixVersion>1.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1670915" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:33:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;bjori&apos;, &apos;name&apos;: u&apos;Hannes Magnusson&apos;, &apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message:Merge branch &apos;doc-keepalive&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;doc-keepalive:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2176&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2176&quot;&gt;&lt;del&gt;CDRIVER-2176&lt;/del&gt;&lt;/a&gt; Document keepalive options&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f929c7cea31ebe136a9127cc19a65949c0bdd2d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f929c7cea31ebe136a9127cc19a65949c0bdd2d9&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1670914" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:33:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;bjori&apos;, &apos;name&apos;: u&apos;Hannes Magnusson&apos;, &apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2176&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2176&quot;&gt;&lt;del&gt;CDRIVER-2176&lt;/del&gt;&lt;/a&gt; Document keepalive options&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/bccc0245795f9da26770a44f6a88fe2e8d0ceb31&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/bccc0245795f9da26770a44f6a88fe2e8d0ceb31&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1670911" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:32:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:Merge remote-tracking branch &apos;upstream/master&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;upstream/master:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-672&quot; title=&quot;Delete supplemental tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-672&quot;&gt;&lt;del&gt;CDRIVER-672&lt;/del&gt;&lt;/a&gt; Remove supplemental tests and cleanup the test directory&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2176&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2176&quot;&gt;&lt;del&gt;CDRIVER-2176&lt;/del&gt;&lt;/a&gt; Enable and configure TCP Keepalive on macOS&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4628a23a998ed57330ea917c2397cf860dfbf4d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4628a23a998ed57330ea917c2397cf860dfbf4d9&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1650964" author="xgen-internal-githook" created="Thu, 17 Aug 2017 21:28:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;bjori&apos;, &apos;email&apos;: &apos;bjori@php.net&apos;, &apos;name&apos;: &apos;Hannes Magnusson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2176&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2176&quot;&gt;&lt;del&gt;CDRIVER-2176&lt;/del&gt;&lt;/a&gt; Enable and configure TCP Keepalive on macOS&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6f538bc1a23f7282b2c313af53be0dddd59c89b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6f538bc1a23f7282b2c313af53be0dddd59c89b4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649131" author="bjori" created="Tue, 15 Aug 2017 23:17:42 +0000"  >&lt;p&gt;This is insufficient on macOS, which calls &lt;tt&gt;TCP_KEEPIDLE&lt;/tt&gt; &lt;tt&gt;TCP_KEEPALIVE&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="1646338" author="bjori" created="Fri, 11 Aug 2017 15:56:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f929c7cea31ebe136a9127cc19a65949c0bdd2d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f929c7cea31ebe136a9127cc19a65949c0bdd2d9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1645403" author="bjori" created="Thu, 10 Aug 2017 18:09:15 +0000"  >&lt;p&gt;need to add docs&lt;/p&gt;</comment>
                            <comment id="1645194" author="xgen-internal-githook" created="Thu, 10 Aug 2017 15:04:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;bjori&apos;, &apos;email&apos;: &apos;bjori@php.net&apos;, &apos;name&apos;: &apos;Hannes Magnusson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2176&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2176&quot;&gt;&lt;del&gt;CDRIVER-2176&lt;/del&gt;&lt;/a&gt; Enable and configure TCP Keepalive by default&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/fe3fd392dbc684fc2b89099ae3e53679e7e296b1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/fe3fd392dbc684fc2b89099ae3e53679e7e296b1&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="390752">CXX-1363</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="384910">DRIVERS-383</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="390753">PHPC-969</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|ht0pcv:</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>