<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:39:38 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-78922] logicalSessionRecordCache.activeSessionsCount is not getting flushed and not able to open the config.system.sessions collection and over period of time sessions are getting filled and Which leading to QR node crash</title>
                <link>https://jira.mongodb.org/browse/SERVER-78922</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a shard cluster with 3 QR nodes, one PSS config setup and 1 shard setup(1 primary and 4 secondary servers) with 5.0.7 version on all the nodes.&lt;br/&gt;
We can see the &apos;logicalSessionRecordCache.activeSessionsCount&apos; is increasing frequently and not getting cleared on all the QR and the data nodes. While checking from the serverStatus, it shows the number of sessions refreshed and the number of sessions ended during the last refresh was 0.&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://mail.google.com/mail/u/0?ui=2&amp;amp;ik=c8656cbc2b&amp;amp;attid=0.1&amp;amp;permmsgid=msg-f:1771300569149271334&amp;amp;th=1894ec7b9e96ed26&amp;amp;view=fimg&amp;amp;fur=ip&amp;amp;sz=s0-l75-ft&amp;amp;attbid=ANGjdJ-8dP4CFBUcCUvPB4zqbi_lNG9mHsYcckCB75xxkMqz7lrhX7-SYMMHYDnsCcEkeEvh-Hn-FXh62l3aGH8in1AEiMWTJFW7jROtlAEy_6CtXxHUbfolSN2fCcs&amp;amp;disp=emb&amp;amp;realattid=ii_lk0z02q80&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
So we checked the &apos;config.system.sessions&apos; collections and it showed an error &quot;No chunks were found for the collection config.system.sessions&quot; and we are getting the same error message in the log also.&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://mail.google.com/mail/u/0?ui=2&amp;amp;ik=c8656cbc2b&amp;amp;attid=0.2&amp;amp;permmsgid=msg-f:1771300569149271334&amp;amp;th=1894ec7b9e96ed26&amp;amp;view=fimg&amp;amp;fur=ip&amp;amp;sz=s0-l75-ft&amp;amp;attbid=ANGjdJ9CniahFguTJ2me2pHG7hLTR8LIa1JHtCLSIIJHR4YDlq0POUZUjE40spAUHLcbRSgBmc7-HzRqCa0veK7og1pH8nPagWqt6_tcduE4rK6bg12a-sin3p9I0fA&amp;amp;disp=emb&amp;amp;realattid=ii_lk0zlzg61&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
We faced the connection increase in shard setup and the LogicalSessionRecordCache.activeSessions increased to the max limit and mongo became unresponsive. (limit 1000000).&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;b&gt;&lt;ins&gt;Connections:&lt;/ins&gt;&lt;/b&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://mail.google.com/mail/u/0?ui=2&amp;amp;ik=c8656cbc2b&amp;amp;attid=0.3&amp;amp;permmsgid=msg-f:1771300569149271334&amp;amp;th=1894ec7b9e96ed26&amp;amp;view=fimg&amp;amp;fur=ip&amp;amp;sz=s0-l75-ft&amp;amp;attbid=ANGjdJ-lhOc3CtRYTieu-XRMJmacoQzxhdxA9AjSAkPk0qEHSfju-F_EB5bvMBo0ufJcUvpo7axSGsXjibZ_xppoytnEoVSRdIdGHHlH3ww7AW20wAd8G_-shVbxDls&amp;amp;disp=emb&amp;amp;realattid=ii_lk0zvzun3&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
*+LogicalSessionRecordCache.activeSessions :&lt;br/&gt;
+*&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://mail.google.com/mail/u/0?ui=2&amp;amp;ik=c8656cbc2b&amp;amp;attid=0.4&amp;amp;permmsgid=msg-f:1771300569149271334&amp;amp;th=1894ec7b9e96ed26&amp;amp;view=fimg&amp;amp;fur=ip&amp;amp;sz=s0-l75-ft&amp;amp;attbid=ANGjdJ_chIh6D90AL8oHHxPQVg2nRBJxu_QYreJCKJtbSBbAarF8h3LUmqk68LiR6wy23bj0I12HVS_rUmMesmpfMQc6Cunu7ZviBR5khhPuCbUqQyE6oMLgJkwhrsk&amp;amp;disp=emb&amp;amp;realattid=ii_lk0zxlmk4&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
To check the session related details we need to access the&#160; &apos;config.system.sessions&apos; collection. Which is not accessible and giving the error as mentioned.&#160;&lt;br/&gt;
Need the solution to access the &apos;config.system.sessions&apos; collection.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2390786">SERVER-78922</key>
            <summary>logicalSessionRecordCache.activeSessionsCount is not getting flushed and not able to open the config.system.sessions collection and over period of time sessions are getting filled and Which leading to QR node crash</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="-1">Unassigned</assignee>
                                    <reporter username="balaji@mafiree.com">Selva &#223;alaji</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Jul 2023 14:16:15 +0000</created>
                <updated>Wed, 19 Jul 2023 19:27:53 +0000</updated>
                            <resolved>Thu, 13 Jul 2023 18:35:43 +0000</resolved>
                                    <version>5.0.7</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2390851">SERVER-78923</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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        29 weeks, 6 days 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>yuan.fang@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            29 weeks, 6 days 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>balaji@mafiree.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2hqhz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1zvm8:</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>
                                

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

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