<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38: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>[GODRIVER-2218] Update connection idle deadline when checking connection back into pool</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2218</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently a &lt;tt&gt;connection&lt;/tt&gt;&apos;s &quot;idle deadline&quot; is increased in the Go driver only when &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/223854caf2932b7d9aa42d3255eea2cb13acf8f3/x/mongo/driver/topology/connection.go#L432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;reading&lt;/a&gt; &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/223854caf2932b7d9aa42d3255eea2cb13acf8f3/x/mongo/driver/topology/connection.go#L367&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;writing&lt;/a&gt; to the connection. However, the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/5964c134a85707dcfa3c54b7f9f88d3451f4a175/source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.rst#connection-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CMAP spec&lt;/a&gt; defines &quot;idle&quot; as:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;b&gt;Idle&lt;/b&gt;: The Connection is currently &quot;available&quot; (as defined below) and has been for longer than &lt;b&gt;maxIdleTimeMS&lt;/b&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&quot;Available&quot; is defined as:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Connection has been established and is waiting in the pool to be checked out.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;As a result, it&apos;s currently possible to check in a connection to the pool that has not been read from or written to for more than &lt;tt&gt;maxIdleTimeMS&lt;/tt&gt; and it will be considered stale due to idle timeout. According to the definition of &quot;idle&quot; in the CMAP spec, that should be impossible.&lt;/p&gt;

&lt;p&gt;Update the Go driver to increase the &lt;tt&gt;connection&lt;/tt&gt;&apos;s idle deadline when it is checked into the pool.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1918757">GODRIVER-2218</key>
            <summary>Update connection idle deadline when checking connection back into pool</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="matt.dale@mongodb.com">Matt Dale</assignee>
                                    <reporter username="matt.dale@mongodb.com">Matt Dale</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Nov 2021 01:21:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:41 +0000</updated>
                            <resolved>Thu, 17 Mar 2022 05:05:35 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4417449" author="xgen-internal-githook" created="Thu, 17 Mar 2022 05:04:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Dale&apos;, &apos;email&apos;: &apos;9760375+matthewdale@users.noreply.github.com&apos;, &apos;username&apos;: &apos;matthewdale&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2218&quot; title=&quot;Update connection idle deadline when checking connection back into pool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2218&quot;&gt;&lt;del&gt;GODRIVER-2218&lt;/del&gt;&lt;/a&gt; Bump connection idle deadline on pool checkIn. (#869)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/6f63c263421074a709024cedcd2a8d0879b99639&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/6f63c263421074a709024cedcd2a8d0879b99639&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4402538" author="JIRAUSER1259527" created="Thu, 10 Mar 2022 00:25:11 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/869&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/869&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-1799</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY22Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i018qf:4</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>