<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:50 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-1173] Add connected status to connection to avoid race conditions</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1173</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;If &lt;tt&gt;Disconnect&lt;/tt&gt; is called without a deadline while a connection is still checked out, we will aggressively close connections, which involves setting the underlying &lt;tt&gt;net.Conn&lt;/tt&gt; to nil. This can cause a race condition if the checked out connection is in the middle of a network read.&lt;/p&gt;

&lt;p&gt;We can fix this by adding a atomic int32 status to the connection type to test if a connection is open/closed instead of checking if &lt;tt&gt;c.nc == nil&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="828293">GODRIVER-1173</key>
            <summary>Add connected status to connection to avoid race conditions</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="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="divjot.arora@mongodb.com">Divjot Arora</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Jun 2019 19:25:21 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:43 +0000</updated>
                            <resolved>Mon, 1 Jul 2019 22:42:22 +0000</resolved>
                                                    <fixVersion>1.1.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2310547" author="xgen-internal-githook" created="Wed, 3 Jul 2019 00:18:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: Revendor driver for &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1173&quot; title=&quot;Add connected status to connection to avoid race conditions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1173&quot;&gt;&lt;del&gt;GODRIVER-1173&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-tools-common/commit/c766505dab5850697619aa45342863d6c763f82f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-tools-common/commit/c766505dab5850697619aa45342863d6c763f82f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2307707" author="xgen-internal-githook" created="Mon, 1 Jul 2019 22:42:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;username&apos;: &apos;divjotarora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;}
&lt;p&gt;Message: Add connected status to connection type.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1173&quot; title=&quot;Add connected status to connection to avoid race conditions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1173&quot;&gt;&lt;del&gt;GODRIVER-1173&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: I324fcba31c4065091a3449930fdbf88dc6b14afc&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/bab1629324fde2fccd78e20eb1267eac59b6a297&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/bab1629324fde2fccd78e20eb1267eac59b6a297&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2305275" author="divjot.arora" created="Fri, 28 Jun 2019 19:29:38 +0000"  >&lt;p&gt;cr:&#160;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/459840&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/459840&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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|huylpr:</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>