<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:01:16 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-22730] MongoDB becomes really slow after changes on Replica Set</title>
                <link>https://jira.mongodb.org/browse/SERVER-22730</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have the following Replica Set&lt;/p&gt;

&lt;p&gt;Server/Member 1 - Primary&lt;br/&gt;
Server/Member 2 - Secondary (can become primary)&lt;br/&gt;
Server/Member 3 - Secondary (cannot become primary, just using for backup purposes)&lt;br/&gt;
Arbiter 1 - not in Replica Set, I just use it sometimes when I need to remove one of the members from the replica set&lt;/p&gt;

&lt;p&gt;After my primary member crashed (bug reported: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22617&quot; title=&quot;SnapshotThread hits invariant due to reading oplog entries out of order&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22617&quot;&gt;&lt;del&gt;SERVER-22617&lt;/del&gt;&lt;/a&gt;), I needed to shutdown member 3 to copy all files and restore my primary server without an initial sync (the oplog window wasn&apos;t enough, the server stood down for 12h+).&lt;/p&gt;

&lt;p&gt;I followed this steps:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;remove member 1 from replica set (member 2 was the primary server for the past 12 hours)&lt;/li&gt;
	&lt;li&gt;add arbiter 1 to the replica set&lt;/li&gt;
	&lt;li&gt;shutdown member 3&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;After 1 or 2 minutes, my primary server became REALLY slow, I started member 3 and it didn&apos;t fix the slowness. I waited for 5 minutes after starting the member 3 to the replica to check if it was going to become normal again, but only after restarting the service (member 2 - primary) it fixed the slowness.&lt;/p&gt;

&lt;p&gt;If you need any logs or information, I&apos;ll be happy to upload it for you, if possible on a private location&lt;/p&gt;
</description>
                <environment></environment>
        <key id="266533">SERVER-22730</key>
            <summary>MongoDB becomes really slow after changes on Replica Set</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ricardo_fanatee">Ricardo Hilsenrath</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Feb 2016 18:37:42 +0000</created>
                <updated>Sat, 5 Mar 2016 15:14:01 +0000</updated>
                            <resolved>Sat, 5 Mar 2016 15:14:01 +0000</resolved>
                                    <version>3.2.1</version>
                                                    <component>Admin</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1194010" author="ramon.fernandez" created="Sat, 5 Mar 2016 15:13:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ricardo_fanatee&quot; class=&quot;user-hover&quot; rel=&quot;ricardo_fanatee&quot;&gt;ricardo_fanatee&lt;/a&gt;, without logs or the contents of the &lt;tt&gt;diagnostic.data&lt;/tt&gt; there&apos;s not much we can do to investigate this issue, so I&apos;m going to close this ticket for the time being. If you manage to either reproduce the problem or gather useful information please &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/71aa02f1-8640-4768-8cf8-1f206d89de4b.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;send it via the private upload portal&lt;/a&gt; and we&apos;ll reopen the ticket to investigate further.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1183677" author="ricardo_fanatee" created="Wed, 24 Feb 2016 20:56:52 +0000"  >&lt;p&gt;Thomas,&lt;/p&gt;

&lt;p&gt;I&apos;m not able to easily reproduce this issue, since I need to use my secondary server as primary on my production environment&lt;/p&gt;

&lt;p&gt;Maybe it&apos;ll take some time to gather all this data from my production servers&lt;/p&gt;</comment>
                            <comment id="1181162" author="thomas.schubert" created="Mon, 22 Feb 2016 22:16:12 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ricardo_fanatee&quot; class=&quot;user-hover&quot; rel=&quot;ricardo_fanatee&quot;&gt;ricardo_fanatee&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for opening this ticket. To continue to investigate this behavior, can you provide the following information?&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;the output of &lt;a href=&quot;https://docs.mongodb.org/manual/reference/method/db.currentOp/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;db.currentOp()&lt;/a&gt; on your primary server when you are observing this issue&lt;/li&gt;
	&lt;li&gt;the logs of each member of the replica set during this issue&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;diagnostic.data&lt;/tt&gt; from the dbpath of the primary&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I have created a secure upload portal &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/71aa02f1-8640-4768-8cf8-1f206d89de4b.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. As before, the files you upload will only be visible to MongoDB employees investigating this issue.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1177853" author="ricardo_fanatee" created="Thu, 18 Feb 2016 20:03:13 +0000"  >&lt;p&gt;I just tried again to turn off a member, but this time I didn&apos;t add an arbiter and didn&apos;t remove a server, I just shutdown the secondary server and the same slowness happened. Restarting mongod service on the primary member fixed the issue&lt;/p&gt;

&lt;p&gt;This time I didn&apos;t start the server I removed before restart the primary member, so my replica set is working normally with an unavailable member&lt;/p&gt;</comment>
                    </comments>
                    <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>Mon, 22 Feb 2016 22:16:12 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 49 weeks, 4 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>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>ricardo_fanatee</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkftz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsik07:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;I&apos;m not sure, but I think that having an unavailable member causes some extra load on the primary server, causing a huge decrease on the performance of the server&lt;/p&gt;</customfieldvalue>

                        </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|hsf7sn:</customfieldvalue>

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