<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:06 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-1298] Panic in topology/pool.go:416</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1298</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;During some investigation on another issue we were testing the current master branch (22646d953d8106e567b1da9aab98b627a2fb204f) with some of our loadtests and we receive panics from here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/pool.go#L416&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/pool.go#L416&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{&quot;app&quot;:&quot;matchmaking-api&quot;,&quot;env&quot;:&quot;test&quot;,&quot;error&quot;:&quot;connection() : auth error: sasl conversation error: unable to authenticate using mechanism \&quot;SCRAM-SHA-1\&quot;: context canceled&quot;,&quot;game&quot;:&quot;&quot;,&quot;message&quot;:&quot;could not return all matchmakings for filter [map[game:pubg region:EU] map[game:csgo region:EU]]&quot;,&quot;severity&quot;:&quot;ERROR&quot;,&quot;showAllGames&quot;:false,&quot;timestamp&quot;:{&quot;seconds&quot;:1567596173,&quot;nanos&quot;:165825408},&quot;userID&quot;:&quot;admin&quot;,&quot;version&quot;:&quot;SNAPSHOT&quot;}{&quot;app&quot;:&quot;matchmaking-api&quot;,&quot;env&quot;:&quot;test&quot;,&quot;error&quot;:&quot;connection() : auth error: sasl conversation error: unable to authenticate using mechanism \&quot;SCRAM-SHA-1\&quot;: context canceled&quot;,&quot;game&quot;:&quot;&quot;,&quot;message&quot;:&quot;could not return all matchmakings for filter [map[game:pubg region:EU] map[game:csgo region:EU]]&quot;,&quot;severity&quot;:&quot;ERROR&quot;,&quot;showAllGames&quot;:false,&quot;timestamp&quot;:{&quot;seconds&quot;:1567596173,&quot;nanos&quot;:165825408},&quot;userID&quot;:&quot;admin&quot;,&quot;version&quot;:&quot;SNAPSHOT&quot;}panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xb4b970] goroutine 2848 [running]:go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).closeConnection(0xc0000c5080, 0xc0008fd600, 0x0, 0x0) /home/bwilsonhunt/go/pkg/mod/go.mongodb.org/mongo-driver@v1.1.1-0.20190903130008-22646d953d81/x/mongo/driver/topology/pool.go:416 +0xb0go.mongodb.org/mongo-driver/x/mongo/driver/topology.connectionCloseFunc.func1(0xc0008fd600) /home/bwilsonhunt/go/pkg/mod/go.mongodb.org/mongo-driver@v1.1.1-0.20190903130008-22646d953d81/x/mongo/driver/topology/pool.go:119 +0x37created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.connectionCloseFunc /home/bwilsonhunt/go/pkg/mod/go.mongodb.org/mongo-driver@v1.1.1-0.20190903130008-22646d953d81/x/mongo/driver/topology/pool.go:119 +0x61&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;It happens consistently accross all the pods.&lt;/p&gt;

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

&lt;p&gt;This is the mongo connection string used:&lt;/p&gt;

&lt;p&gt;```&lt;/p&gt;

&lt;p&gt;mongodb://xx:xxxx@xxx:27017,xxx:27017,xxxx:27017/matchmaking-service?ssl=true&amp;amp;authSource=admin&amp;amp;maxPoolSize=100&amp;amp;minPoolSize=10&lt;/p&gt;

&lt;p&gt;```&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="916667">GODRIVER-1298</key>
            <summary>Panic in topology/pool.go:416</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="isabella.siu@mongodb.com">Isabella Siu</assignee>
                                    <reporter username="b.wilsonhunt@faceit.com">Bradley Wilson-Hunt</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Sep 2019 13:28:07 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:34 +0000</updated>
                            <resolved>Thu, 12 Sep 2019 21:26:13 +0000</resolved>
                                                    <fixVersion>1.1.2</fixVersion>
                                    <component>Core API</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2421062" author="b.wilsonhunt@faceit.com" created="Mon, 16 Sep 2019 11:21:11 +0000"  >&lt;p&gt;I can confirm pulling from master that this fix is working! &lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="2418758" author="xgen-internal-githook" created="Thu, 12 Sep 2019 21:24:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;iwysiu&apos;, &apos;email&apos;: &apos;isabella.siu@10gen.com&apos;, &apos;name&apos;: &apos;iwysiu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1298&quot; title=&quot;Panic in topology/pool.go:416&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1298&quot;&gt;&lt;del&gt;GODRIVER-1298&lt;/del&gt;&lt;/a&gt; fix panic from closing disconnected connection&lt;/p&gt;

&lt;p&gt;Change-Id: I3ae9b0aca1c40c4a1ee3a672b249fabc4ec8b3ad&lt;br/&gt;
Branch: release/1.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/b89d991fcaf79bcea8218a5e9b387bc64d50500a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/b89d991fcaf79bcea8218a5e9b387bc64d50500a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2418613" author="xgen-internal-githook" created="Thu, 12 Sep 2019 20:01:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;iwysiu&apos;, &apos;username&apos;: &apos;iwysiu&apos;, &apos;email&apos;: &apos;isabella.siu@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1298&quot; title=&quot;Panic in topology/pool.go:416&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1298&quot;&gt;&lt;del&gt;GODRIVER-1298&lt;/del&gt;&lt;/a&gt; fix panic from closing disconnected connection&lt;/p&gt;

&lt;p&gt;Change-Id: I3ae9b0aca1c40c4a1ee3a672b249fabc4ec8b3ad&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/e8c2926d73bdb525c0620eeed7d12f368eaa74aa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/e8c2926d73bdb525c0620eeed7d12f368eaa74aa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2411435" author="isabella.siu" created="Fri, 6 Sep 2019 20:48:11 +0000"  >&lt;p&gt;code review url:&#160;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/467710&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/+/467710&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2409053" author="b.wilsonhunt@faceit.com" created="Thu, 5 Sep 2019 15:35:06 +0000"  >&lt;p&gt;Im also able to reproduce this same issue in the latest release/1.1 branch (4028be8728b2b5ab8b02c9c5660eff657280f0a3)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/229703/229703_image-2019-09-05-16-23-39-008.png&quot; height=&quot;471&quot; width=&quot;2554&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;If minPoolSize is removed from the uri i can&apos;t replicate the issue. However when minPoolSize is removed the application can&apos;t handle that many RPS and ends up with even more ctx cancelled.&lt;/p&gt;</comment>
                            <comment id="2407012" author="b.wilsonhunt@faceit.com" created="Wed, 4 Sep 2019 13:47:50 +0000"  >&lt;p&gt;I appologize for the formatting but it does not seem like i can edit the issue after its been created..&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="916657">GODRIVER-1297</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="229703" name="image-2019-09-05-16-23-39-008.png" size="190057" author="b.wilsonhunt@faceit.com" created="Thu, 5 Sep 2019 15:23:40 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000gkaogQAA]]]></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|hvd8an:</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>