<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:37:29 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-34684] --maxConns parameter limit both client and replica connections</title>
                <link>https://jira.mongodb.org/browse/SERVER-34684</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In the case when `mongod` hits connection limit it stops accepting connection both from clients and from other replicas in its replicaset.&lt;br/&gt;
When something particularily bad happens on MongoDB replicaset and `mongod` exhausts connection limit, the only way to restore replicaset service is to restart all `mongod` processes.&lt;br/&gt;
I consider `--maxConns` in its current state harmful for replicasets. I propose two ways for fixing the issue:&lt;br/&gt;
1. Either reserve some quota for replicas or by any other means move connections from replicas out of connection limit.&lt;br/&gt;
2. Forbid usage of `--maxConns` for replicasets.&lt;/p&gt;</description>
                <environment></environment>
        <key id="534440">SERVER-34684</key>
            <summary>--maxConns parameter limit both client and replica connections</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="sz">Sergey Zagursky</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Apr 2018 08:01:17 +0000</created>
                <updated>Tue, 6 Dec 2022 03:31:12 +0000</updated>
                            <resolved>Tue, 9 Nov 2021 18:54:22 +0000</resolved>
                                                                    <component>Networking</component>
                    <component>Replication</component>
                                        <votes>1</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="4179693" author="sz" created="Wed, 10 Nov 2021 08:18:27 +0000"  >&lt;p&gt;@Lauren Lewis, your link leads to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31541&quot; title=&quot;Measure CPU utilization for specific thread / connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31541&quot;&gt;&lt;del&gt;SERVER-31541&lt;/del&gt;&lt;/a&gt; &quot;Measure CPU utilization for specific thread / connection&quot;. Is this the way to address the issue? It is closed with &quot;Won&apos;t Do&quot; btw. I suggest you&apos;ve provided wrong link.&lt;/p&gt;</comment>
                            <comment id="4178490" author="JIRAUSER1262719" created="Tue, 9 Nov 2021 18:54:22 +0000"  >&lt;p&gt;We, the Server Team, plan to address this through a related initiative. Closing &amp;amp; will investigate further through the initiative.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/secure/AddComment!default.jspa?id=444741&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/secure/AddComment!default.jspa?id=444741&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2643179" author="petr.ivanov.s@gmail.com" created="Wed, 18 Dec 2019 12:46:34 +0000"  >&lt;p&gt;Are there any current development plans relevant to this issue?&lt;/p&gt;</comment>
                            <comment id="1886335" author="jason.carey" created="Tue, 8 May 2018 20:31:56 +0000"  >&lt;p&gt;There are a few issues at play with limiting the number of connections to a mongod in a replicaset:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Heartbeats between nodes.&#160; These you want to avoid privileging, because you probably don&apos;t want a node as primary that can&apos;t accept new writes.&lt;/li&gt;
	&lt;li&gt;Reserving a way to connect to run administrative commands.&#160; These seem fine to reserve.&lt;/li&gt;
	&lt;li&gt;Reserving a way to connect for secondaries that are replicating from the primary.&#160; This seems important for ensuring that when an election does happen, as many non-majority writes as possible are preserved.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;This is a reasonable ask, and we&apos;ll look into providing a way to ensure that cases 2 and 3 work if --maxConns is reached.&lt;/p&gt;</comment>
                            <comment id="1876011" author="sz" created="Fri, 27 Apr 2018 13:08:59 +0000"  >&lt;p&gt;It looks like Fortnite suffered from this issue too: &lt;a href=&quot;https://www.epicgames.com/fortnite/en-US/news/postmortem-of-service-outage-4-12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.epicgames.com/fortnite/en-US/news/postmortem-of-service-outage-4-12&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="540645">SERVER-34884</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 8 May 2018 20:31:56 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 13 weeks 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 13 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>lauren.lewis@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
            <customfieldvalue>petr.ivanov.s@gmail.com</customfieldvalue>
            <customfieldvalue>sz</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htwhrj:</customfieldvalue>

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

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