<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:12:29 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>[SERVER-69063] Fix TCP keepalive option setting</title>
                <link>https://jira.mongodb.org/browse/SERVER-69063</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It seems that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57466&quot; title=&quot;Swallow connection reset-related errors received during ASIO session establishment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57466&quot;&gt;&lt;del&gt;SERVER-57466&lt;/del&gt;&lt;/a&gt; broke the TCP Keepalive parameter settings on Linux.&lt;/p&gt;

&lt;p&gt;I&apos;m looking at this &lt;tt&gt;optval&lt;/tt&gt; variable.&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo/pull/695/files#diff-19e9e1bf9007ae5e281e4d8f2c2b4704547ad7917c3557867bf91fdc45e18601L155&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/pull/695/files#diff-19e9e1bf9007ae5e281e4d8f2c2b4704547ad7917c3557867bf91fdc45e18601L155&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Previously it was set to 1 and then overwritten by getsockopt.&lt;br/&gt;
The value retrieved by getsockopt is compared against a &lt;tt&gt;maxval&lt;/tt&gt; to determine if clipping is necessary, and if so, a setsockopt overwrites the value attached to the socket.&lt;/p&gt;

&lt;p&gt;But in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57466&quot; title=&quot;Swallow connection reset-related errors received during ASIO session establishment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57466&quot;&gt;&lt;del&gt;SERVER-57466&lt;/del&gt;&lt;/a&gt;, the &lt;tt&gt;rawOptVal&lt;/tt&gt; read by getsockopt is discarded.&lt;br/&gt;
The &lt;tt&gt;optVal&lt;/tt&gt; variable is never rewritten at all, and the clipping never occurs because 1 second is never greater than the maxVal variable, which is a constant that&apos;s either 300 or 1 second depending on the call site.&lt;/p&gt;

&lt;p&gt;So the setsockopt to configure TCP_KEEPIDLE and TCP_KEEPINTVL never happen.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2119515">SERVER-69063</key>
            <summary>Fix TCP keepalive option setting</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="billy.donahue@mongodb.com">Billy Donahue</assignee>
                                    <reporter username="billy.donahue@mongodb.com">Billy Donahue</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Aug 2022 22:05:00 +0000</created>
                <updated>Thu, 14 Dec 2023 21:46:10 +0000</updated>
                            <resolved>Tue, 21 Mar 2023 00:38:33 +0000</resolved>
                                                    <fixVersion>7.0.0-rc0</fixVersion>
                    <fixVersion>5.0.24</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5952265" author="xgen-internal-githook" created="Thu, 14 Dec 2023 21:38:53 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69063&quot; title=&quot;Fix TCP keepalive option setting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69063&quot;&gt;&lt;del&gt;SERVER-69063&lt;/del&gt;&lt;/a&gt; fix the setting of TCP keepalive parameters&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 41a284c937e2bbc6dd1e505b7e5c3e783325f24b&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/af365a30af4cd6205f686f9658daea4d6034c332&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/af365a30af4cd6205f686f9658daea4d6034c332&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5286822" author="xgen-internal-githook" created="Tue, 21 Mar 2023 00:35:14 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69063&quot; title=&quot;Fix TCP keepalive option setting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69063&quot;&gt;&lt;del&gt;SERVER-69063&lt;/del&gt;&lt;/a&gt; fix the setting of TCP keepalive parameters&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/80f4b5acfbcfea25d24ae6d78988da7b90f1d46b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/80f4b5acfbcfea25d24ae6d78988da7b90f1d46b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5245108" author="billy.donahue" created="Thu, 2 Mar 2023 21:16:28 +0000"  >&lt;p&gt;reviving code review and merging current master branch into it.&lt;br/&gt;
Will retest as well.&lt;/p&gt;</comment>
                            <comment id="4778187" author="billy.donahue" created="Thu, 25 Aug 2022 22:10:59 +0000"  >&lt;p&gt;I think it could be useful to have JUST this fix as a standalone commit.&lt;br/&gt;
I&apos;ll break off the piece of my PR for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57466&quot; title=&quot;Swallow connection reset-related errors received during ASIO session establishment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57466&quot;&gt;&lt;del&gt;SERVER-57466&lt;/del&gt;&lt;/a&gt; that applies to this and make it a PR for this ticket.&lt;/p&gt;</comment>
                            <comment id="4768785" author="billy.donahue" created="Mon, 22 Aug 2022 22:07:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=blake.oler%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;blake.oler@mongodb.com&quot;&gt;blake.oler@mongodb.com&lt;/a&gt; can you confirm my reading of this code?&lt;br/&gt;
It looks like a mistake arising from converting Seconds to unsigned and back.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1769487">SERVER-57468</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="1769458">SERVER-57466</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001xJdSuQAK]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 25 Aug 2022 16:16:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i17aof:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0q2b4:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6160">Service Arch 2022-12-26</customfieldvalue>
    <customfieldvalue id="6495">Service Arch 2022-09-05</customfieldvalue>
    <customfieldvalue id="6501">Service Arch 2022-09-19</customfieldvalue>
    <customfieldvalue id="6574">Service Arch 2022-10-03</customfieldvalue>
    <customfieldvalue id="6575">Service Arch 2022-10-17</customfieldvalue>
    <customfieldvalue id="6576">Service Arch 2022-10-31</customfieldvalue>
    <customfieldvalue id="6577">Service Arch 2022-11-14</customfieldvalue>
    <customfieldvalue id="6578">Service Arch 2022-11-28</customfieldvalue>
    <customfieldvalue id="6746">Service Arch 2022-12-12</customfieldvalue>
    <customfieldvalue id="6747">Service Arch 2023-01-09</customfieldvalue>
    <customfieldvalue id="6748">Service Arch 2023-01-23</customfieldvalue>
    <customfieldvalue id="6749">Service Arch 2023-02-06</customfieldvalue>
    <customfieldvalue id="6750">Service Arch 2023-02-20</customfieldvalue>
    <customfieldvalue id="6751">Service Arch 2023-03-06</customfieldvalue>
    <customfieldvalue id="6752">Service Arch 2023-03-20</customfieldvalue>
    <customfieldvalue id="6753">Service Arch 2023-04-03</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i16wtr:</customfieldvalue>

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