<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:24 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-1439] Only close heartbeat connections after they&apos;re opened</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1439</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;When mongod is started after a client using SSL, heartbeat connections never succeed. When SSL is not used, the heartbeats correctly pick up once mongod is ready to receive connections.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/pmeredit/sqlproxy/tree/BI-2413&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/pmeredit/sqlproxy/tree/BI-2413&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Is a branch of sqlproxy with a repro of this issue.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/pmeredit/sqlproxy/blob/BI-2413/REPRO_README.txt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/pmeredit/sqlproxy/blob/BI-2413/REPRO_README.txt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Describes how to run the repro.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;EDIT: The root cause of this issue is that custom dialers return connections that appear to be non-nil but have a nil value due to the nil interface issue (&lt;a href=&quot;https://golang.org/doc/faq#nil_error&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://golang.org/doc/faq#nil_error&lt;/a&gt;). In the heartbeat code, the driver should only call &lt;tt&gt;nc.Close&lt;/tt&gt; if the branch that executes a heartbeat is taken (&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server.go#L543&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server.go#L543&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="1052016">GODRIVER-1439</key>
            <summary>Only close heartbeat connections after they&apos;re opened</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="patrick.meredith@mongodb.com">Patrick Meredith</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Dec 2019 15:50:37 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:23 +0000</updated>
                            <resolved>Tue, 17 Dec 2019 18:30:07 +0000</resolved>
                                    <version>1.1.3</version>
                                    <fixVersion>1.2.1</fixVersion>
                    <fixVersion>1.1.4</fixVersion>
                                    <component>Connections</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="2638301" author="xgen-internal-githook" created="Tue, 17 Dec 2019 18:27:58 +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: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1439&quot; title=&quot;Only close heartbeat connections after they&amp;#39;re opened&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1439&quot;&gt;&lt;del&gt;GODRIVER-1439&lt;/del&gt;&lt;/a&gt; Only close connections for heartbeat errors (#261)&lt;br/&gt;
Branch: release/1.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/5a263a721f0b21d1c5cccd4288b29e53987eb590&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/5a263a721f0b21d1c5cccd4288b29e53987eb590&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2638203" author="xgen-internal-githook" created="Tue, 17 Dec 2019 18:13:51 +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: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1439&quot; title=&quot;Only close heartbeat connections after they&amp;#39;re opened&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1439&quot;&gt;&lt;del&gt;GODRIVER-1439&lt;/del&gt;&lt;/a&gt; Only close connections for heartbeat errors (#261)&lt;br/&gt;
Branch: release/1.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/9ec31735693ac6bfe39c7e641ac9483561c95c09&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/9ec31735693ac6bfe39c7e641ac9483561c95c09&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2636558" author="xgen-internal-githook" created="Tue, 17 Dec 2019 15:28:08 +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: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1439&quot; title=&quot;Only close heartbeat connections after they&amp;#39;re opened&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1439&quot;&gt;&lt;del&gt;GODRIVER-1439&lt;/del&gt;&lt;/a&gt; Only close connections for heartbeat errors (#261)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/d563ba36192e780d2f6a491e120a409eebf8b626&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/d563ba36192e780d2f6a491e120a409eebf8b626&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2635004" author="divjot.arora" created="Mon, 16 Dec 2019 20:39:48 +0000"  >&lt;p&gt;PR for the documentation changes in the driver:&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/260&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/260&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2633966" author="jeff.yemin" created="Mon, 16 Dec 2019 14:24:11 +0000"  >&lt;ol&gt;
	&lt;li&gt;Yes, we should fix this bug but, as discussed privately, let&apos;s open another JIRA issue to track this work.&lt;/li&gt;
	&lt;li&gt;Agreed.  I also wonder if the driver could check for a nil value (using reflection, I think?) in order to avoid the panic, since it seems to be a fairly common programming error for clients to make.&lt;/li&gt;
	&lt;li&gt;BIC could add a test, too, I would imagine.&lt;/li&gt;
&lt;/ol&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1056083">GODRIVER-1442</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2051824">GODRIVER-2432</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000iz4K0QAI, 5002K00000jd3e8QAA]]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvyy3j:</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>