<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:30 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>[GODRIVER-2846] Make expected TCP KeepAlive behavior explicit</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2846</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The Go driver currently omits a &lt;tt&gt;KeepAlive&lt;/tt&gt; configuration on the dialer used to dial new TCP connections, allowing the Go &lt;tt&gt;net&lt;/tt&gt; package to use the default &lt;tt&gt;KeepAlive&lt;/tt&gt; configuration (the default &lt;a href=&quot;https://github.com/golang/go/issues/23459&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;since Go 1.11&lt;/a&gt; is &lt;tt&gt;KeepAlive&lt;/tt&gt; enabled with an interval of 15s). Using the default was introduced with &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-37&quot; title=&quot;Set TCP keep alive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-37&quot;&gt;&lt;del&gt;GODRIVER-37&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-383&quot; title=&quot;Enable and configure TCP Keepalive by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-383&quot;&gt;&lt;del&gt;DRIVERS-383&lt;/del&gt;&lt;/a&gt; (see &lt;a href=&quot;https://mongodbcr.appspot.com/165290001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;code review&lt;/a&gt;) and has been the behavior of the Go driver since v1.0&lt;/p&gt;

&lt;p&gt;However, there are proposals to change the default &lt;tt&gt;KeepAlive&lt;/tt&gt; behavior, either for all applications or in specific circumstances, like when the compile target is Android or iOS (see relevant &lt;a href=&quot;https://github.com/golang/go/issues/48622&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;issue&lt;/a&gt;). We should consider setting an explicit &lt;tt&gt;KeepAlive&lt;/tt&gt; or continue using the default and document the rationale and desired behavior.&lt;/p&gt;

&lt;p&gt;Definition of done:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Investigate the pros/cons of explicitly setting TCP KeepAlive in the Go driver.&lt;/li&gt;
	&lt;li&gt;If we decide to not explicitly enable KeepAlive in the Go driver, document the rationale here and in a comment in the code where the default dialer is constructed (&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/06996d46a31a2c076bb1b3d123564f44370143eb/x/mongo/driver/topology/connection_options.go#L86&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2340138">GODRIVER-2846</key>
            <summary>Make expected TCP KeepAlive behavior explicit</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="qingyang.hu@mongodb.com">Qingyang Hu</assignee>
                                    <reporter username="matt.dale@mongodb.com">Matt Dale</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 May 2023 20:42:35 +0000</created>
                <updated>Wed, 8 Nov 2023 03:32:08 +0000</updated>
                            <resolved>Tue, 1 Aug 2023 19:21:58 +0000</resolved>
                                                    <fixVersion>1.12.2</fixVersion>
                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5863067" author="xgen-internal-githook" created="Wed, 8 Nov 2023 03:32:08 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Qingyang Hu&apos;, &apos;email&apos;: &apos;103950869+qingyang-hu@users.noreply.github.com&apos;, &apos;username&apos;: &apos;qingyang-hu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2846&quot; title=&quot;Make expected TCP KeepAlive behavior explicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2846&quot;&gt;&lt;del&gt;GODRIVER-2846&lt;/del&gt;&lt;/a&gt; Update comments on ClientOptions.SetDialer(). (#1337)&lt;br/&gt;
Branch: release/1.12&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/d2f83166ef3e6b4a00c536f8b8e83c9050946ec4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/d2f83166ef3e6b4a00c536f8b8e83c9050946ec4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5605881" author="xgen-internal-githook" created="Tue, 1 Aug 2023 19:21:27 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Qingyang Hu&apos;, &apos;email&apos;: &apos;103950869+qingyang-hu@users.noreply.github.com&apos;, &apos;username&apos;: &apos;qingyang-hu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2846&quot; title=&quot;Make expected TCP KeepAlive behavior explicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2846&quot;&gt;&lt;del&gt;GODRIVER-2846&lt;/del&gt;&lt;/a&gt; Update comments on ClientOptions.SetDialer(). (#1337)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/08a5474569f279047aa89090b4b4a3509566966e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/08a5474569f279047aa89090b4b4a3509566966e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="387929">GODRIVER-37</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="384910">DRIVERS-383</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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

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