<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:42:39 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-57738] sharding cluster, clients cannot connect to mongos successfully </title>
                <link>https://jira.mongodb.org/browse/SERVER-57738</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I found my clients or mongo shell cannot connect to mongos&#160;occasionally.&lt;/p&gt;

&lt;p&gt;Mongo shell showed that it was connecting, but timed out.&lt;/p&gt;

&lt;p&gt;After I stepDown config server primary, all the clients can immediately connected.&lt;/p&gt;

&lt;p&gt;Is this a bug which had been fix in 4.4.6 or some of my configurations aren&apos;t correct?&lt;/p&gt;

&lt;p&gt;Log of mongos or config server seems nothing wrong.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1784945">SERVER-57738</key>
            <summary>sharding cluster, clients cannot connect to mongos successfully </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="3">Duplicate</resolution>
                                        <assignee username="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="xanawang@gmail.com">Xana Wang</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jun 2021 08:32:21 +0000</created>
                <updated>Tue, 22 Jun 2021 20:47:58 +0000</updated>
                            <resolved>Tue, 22 Jun 2021 20:47:58 +0000</resolved>
                                    <version>4.4.1</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3892677" author="eric.sedor" created="Tue, 22 Jun 2021 20:47:22 +0000"  >&lt;p&gt;Happy to help, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xanawang%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;xanawang@gmail.com&quot;&gt;xanawang@gmail.com&lt;/a&gt;!&lt;/p&gt;</comment>
                            <comment id="3887689" author="JIRAUSER1260727" created="Mon, 21 Jun 2021 01:07:38 +0000"  >&lt;p&gt;It seems my problem was caused by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52654&quot; title=&quot;new signing keys not generated by the monitoring-keys-for-HMAC thread&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52654&quot;&gt;&lt;del&gt;SERVER-52654&lt;/del&gt;&lt;/a&gt; because my 4 different clusters came up with mongos connection failure one by one in two days. Thank you for your information!&lt;/p&gt;</comment>
                            <comment id="3882355" author="eric.sedor" created="Wed, 16 Jun 2021 20:33:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xanawang%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;xanawang@gmail.com&quot;&gt;xanawang@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;What you describe could be caused by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52654&quot; title=&quot;new signing keys not generated by the monitoring-keys-for-HMAC thread&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52654&quot;&gt;&lt;del&gt;SERVER-52654&lt;/del&gt;&lt;/a&gt;, fixed in 4.4.3. Can you take a look at the description of that ticket and see if the expiration of HMAC keys coincides with the occasional issues you have noticed?&lt;/p&gt;

&lt;p&gt;If not, then we&apos;ll need more information:&lt;/p&gt;

&lt;p&gt;I&apos;ve created a secure &lt;a href=&quot;https://amphora.corp.mongodb.com/public/upload/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb2xkZXJfaWQiOiIxMzkzMzQwNTg3NDciLCJleHAiOjE2MjY0NjE2MjN9.u2O9uXYQ3OxHyctt5QoRI6kYDFAkI8pQIcxM1bDI8cM&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload portal&lt;/a&gt; for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;1) Select a specific mongos to connect to, and obtain the timeout errors and timestamps (with time zone) for failed connection attempts to that mongos&lt;br/&gt;
2) Initiate the CSRS failover to correct the issue.&lt;br/&gt;
3) Connect successfully to the same mongos and provide that timestamp (with timezone)&lt;br/&gt;
4) Then, collect and upload information from the following nodes in your cluster:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The mongos that produced the timeout error&lt;/li&gt;
	&lt;li&gt;Each node of the config server replica set&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For all four of these nodes spanning a time period that includes the unsuccessful connection, the failover, and the successful connection, would you please archive (tar or zip) and upload to the above link:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;the mongod logs&lt;/li&gt;
	&lt;li&gt;the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3880451" author="JIRAUSER1260727" created="Wed, 16 Jun 2021 08:37:29 +0000"  >&lt;p&gt;in addition, mongos did not exit, it just can&apos;t be connected and accepted the connection just after the stepDown of config server.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1535407">SERVER-52654</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 16 Jun 2021 20:33:56 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 33 weeks, 1 day 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_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>eric.sedor@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 33 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>xanawang@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzmhs7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz70ov:</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_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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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