<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:43:19 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-17110] Dropping 95G collection on VM crashes DB</title>
                <link>https://jira.mongodb.org/browse/SERVER-17110</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Dropped a 92G collection on VM. It crashed the database.Database never came up after crash. Replication Secondary also failed to come up.&lt;br/&gt;
Please refer the Log file Mongodb_Droptable_issue_log.txt&lt;/p&gt;

&lt;p&gt;Note:&lt;br/&gt;
Overcommit_Memory and transparent_hugepage was not set to the recommended values 0 and never.&lt;/p&gt;</description>
                <environment></environment>
        <key id="181448">SERVER-17110</key>
            <summary>Dropping 95G collection on VM crashes DB</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="9">Done</resolution>
                                        <assignee username="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="lnarayanan">Lakshminarayanan S Iyer</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Jan 2015 11:13:28 +0000</created>
                <updated>Wed, 15 Apr 2015 17:46:48 +0000</updated>
                            <resolved>Wed, 15 Apr 2015 14:57:18 +0000</resolved>
                                    <version>2.8.0-rc2</version>
                                                    <component>Diagnostics</component>
                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="881956" author="samk" created="Wed, 15 Apr 2015 17:46:48 +0000"  >&lt;p&gt;Sorry for earlier confusion and the earlier delay (a previous commented referenced a related memory issue that is not applicable in this case.) &lt;/p&gt;

&lt;p&gt;I still think that it makes sense to leave this ticket closed until we reproduce it on a current production version of the software (e.g. 3.0.2 or later).&lt;/p&gt;</comment>
                            <comment id="818843" author="lnarayanan" created="Mon, 2 Feb 2015 05:35:18 +0000"  >&lt;p&gt;Hi Eoin,&lt;/p&gt;

&lt;p&gt;I have attached the mdiag report for your review.Please Let us know if any changes has to be done on VM nodes.Also I have asked my deployment team to look into VM&apos;s recommendations given by you.&lt;/p&gt;

&lt;p&gt;I will test the same scenrio on 2.6.7 stable version  today.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Lakshminarayanan&lt;/p&gt;</comment>
                            <comment id="816967" author="ramon.fernandez" created="Thu, 29 Jan 2015 22:21:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lnarayanan&quot; class=&quot;user-hover&quot; rel=&quot;lnarayanan&quot;&gt;lnarayanan&lt;/a&gt;, are you able to observer the same behavior on 3.0.0-rc7? There&apos;s been quite a bit of stabilization work done since rc2.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="63164" name="Mongodb_Droptable_issue_log.txt" size="11729" author="lnarayanan" created="Thu, 29 Jan 2015 11:13:28 +0000"/>
                            <attachment id="63452" name="mdiag-bapdmong-14.nova.dev.txt.gz" size="64151" author="lnarayanan" created="Mon, 2 Feb 2015 05:35:18 +0000"/>
                            <attachment id="63163" name="retail_customer_request_json.txt" size="91864" author="lnarayanan" created="Thu, 29 Jan 2015 11:13:28 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 29 Jan 2015 22:21:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 44 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>sam.kleinman</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 44 weeks 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>lnarayanan</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrldd3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>159413</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;--Started mongod in 3 nodes&lt;/p&gt;

&lt;p&gt;mongod --dbpath /u01/data --logpath /u01/logs/log.rep01 --logappend --journal --fork --replSet repl0&lt;/p&gt;

&lt;p&gt;--on firstnode&lt;br/&gt;
1) mongo&lt;br/&gt;
2) Replica configuration&lt;br/&gt;
	config = {_id: &quot;repl0&quot;, &lt;br/&gt;
		members:[&lt;br/&gt;
		{_id: 0, host: &apos;172.20.43.14:27017&apos;},&lt;br/&gt;
		{_id: 1, host: &apos;172.20.43.15:27017&apos;},&lt;br/&gt;
		{_id: 2, host: &apos;172.20.43.16:27017&apos;}],&lt;br/&gt;
		&quot;settings&quot; : {&lt;br/&gt;
			&quot;chainingAllowed&quot; : true,&lt;br/&gt;
			&quot;heartbeatTimeoutSecs&quot; : 10,&lt;br/&gt;
			&quot;getLastErrorModes&quot; : {&lt;/p&gt;

&lt;p&gt;			},&lt;br/&gt;
			&quot;getLastErrorDefaults&quot; : &lt;/p&gt;
{
				&quot;w&quot; : 1,
				&quot;wtimeout&quot; : 0
			}
&lt;p&gt;		}&lt;br/&gt;
	}&lt;/p&gt;

&lt;p&gt;3) Initiate the replica server&lt;/p&gt;

&lt;p&gt;	rs.initiate(config);&lt;/p&gt;

&lt;p&gt;4) Check the status &lt;/p&gt;

&lt;p&gt;	rs.status()&lt;/p&gt;

&lt;p&gt;5) use clm&lt;/p&gt;

&lt;p&gt;6)import the table customer using retail_customer_request_json.txt&lt;/p&gt;

&lt;p&gt;7) Duplicate the data for 92 GB&lt;br/&gt;
nohup mongo clm --eval &apos;var copy = db.customer.findOne();for (var i = 0; i&amp;lt; 3000000; i++)&lt;/p&gt;
{copy._id = new ObjectId();j = &quot;PC00&quot; + i;copy.profileDetails.basicDetails.customerCode=j;db.customer.insert(copy);}
&lt;p&gt;&apos; &amp;amp;&lt;/p&gt;

&lt;p&gt;8) drop the table using&lt;/p&gt;

&lt;p&gt;db.customer.drop() or drop the database clm&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|hsg9xz:</customfieldvalue>

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