<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:23 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-5264] Database crached (out of space while loading data). Killed processes, and retsrated mongo. Still see my database, but can not get rid of it.</title>
                <link>https://jira.mongodb.org/browse/SERVER-5264</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;database crashed (out of disk space) yesterday, then I restarted it. I see nothing loged in the log &lt;br/&gt;
file since the crash.&lt;/p&gt;

&lt;p&gt;See my actions below:&lt;br/&gt;
Set up sharding:oracle@dw07orl57 &amp;gt; mongo&lt;br/&gt;
MongoDB shell version: 2.0.3&lt;br/&gt;
connecting to: test&lt;br/&gt;
mongos&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
mongos&amp;gt; show dbs&lt;br/&gt;
config  0.1875GB&lt;br/&gt;
gis_db  1.953125GB&lt;br/&gt;
mongos&amp;gt; use gis_db&lt;br/&gt;
switched to db gis_db&lt;br/&gt;
mongos&amp;gt; db.dropdatabase()&lt;br/&gt;
Fri Mar  9 10:29:57 TypeError: db.dropdatabase is not a function (shell):1&lt;br/&gt;
mongos&amp;gt; db.dropDatabase()&lt;/p&gt;
{
        &quot;assertion&quot; : &quot;collection&apos;s metadata is undergoing changes. Please try again.&quot;,
        &quot;assertionCode&quot; : 13331,
        &quot;errmsg&quot; : &quot;db assertion failure&quot;,
        &quot;ok&quot; : 0
}
mongos&amp;gt; db.dropDatabase()
{ &quot;dropped&quot; : &quot;gis_db&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;mongos&amp;gt; show dbs&lt;br/&gt;
config  0.1875GB&lt;br/&gt;
gis_db  1.953125GB&lt;/p&gt;</description>
                <environment>Linux 64 bit</environment>
        <key id="32606">SERVER-5264</key>
            <summary>Database crached (out of space while loading data). Killed processes, and retsrated mongo. Still see my database, but can not get rid of it.</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="gregor">Gregor Macadam</assignee>
                                    <reporter username="gnikopo">George Nikopoulos</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Mar 2012 16:48:15 +0000</created>
                <updated>Wed, 15 Aug 2012 14:24:18 +0000</updated>
                            <resolved>Sun, 11 Mar 2012 07:00:51 +0000</resolved>
                                    <version>2.0.3</version>
                                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="100305" author="gnikopo" created="Mon, 19 Mar 2012 19:38:59 +0000"  >&lt;p&gt;Even though within the database I would do, &quot;show dbs&quot;, and then for gis_db database I do a db.dropDatabase() successfully, next time I run &quot;show dbs&quot;  gis_db would still show up (empty). Once I deleted the OS gis_db related files and bounce the database, it cleaned up. Now when I do show dbs, the gis_db does not show up. &lt;/p&gt;</comment>
                            <comment id="97970" author="gnikopo" created="Mon, 12 Mar 2012 19:18:07 +0000"  >&lt;p&gt;Thanks for you responce Eliot. I tried again today and it seems to me that I have the same problem. This is a test database, so I could rebuild/reinstall it, I am just worrying (what if it was production). The behavior is weird: The first time i get the &quot;metadata is undergoing changes&quot; message , then it allows me to drop the database, and then the dataabse still show up. I will attach all three log files from mongos, and shard1, and shard2. The phycical database files are also still on the disk as: oracle@dw07orl57 &amp;gt; pwd&lt;br/&gt;
/app/data/db/shard2&lt;br/&gt;
oracle@dw07orl57 &amp;gt; ls -ltr&lt;br/&gt;
total 2050040&lt;br/&gt;
drwxr-xr-x 3 oracle oinstall       4096 Mar  8 15:45 moveChunk&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall   16777216 Mar  8 16:35 gis_db.ns&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall   67108864 Mar  8 16:35 gis_db.0&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall  134217728 Mar  8 16:35 gis_db.1&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall  268435456 Mar  8 16:45 gis_db.2&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall  536870912 Mar  8 16:45 gis_db.3&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------ 1 oracle oinstall 1073741824 Mar  8 16:47 gis_db.4&lt;br/&gt;
-rwxr-xr-x 1 oracle oinstall          6 Mar 12 13:58 mongod.lock&lt;br/&gt;
drwxr-xr-x 2 oracle oinstall       4096 Mar 12 13:58 journal&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 oracle oinstall       1912 Mar 12 14:05 loging_logs_shard2.log&lt;/p&gt;

&lt;p&gt;Again here is what I did today:&lt;br/&gt;
oracle@dw07orl57 &amp;gt; mongo&lt;br/&gt;
MongoDB shell version: 2.0.3&lt;br/&gt;
connecting to: test&lt;br/&gt;
mongos&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
mongos&amp;gt; db.printShardingStatus();&lt;br/&gt;
&amp;#8212; Sharding Status &amp;#8212;&lt;br/&gt;
  sharding version: &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;version&quot; : 3 }
&lt;p&gt;  shards:&lt;/p&gt;
        {  &quot;_id&quot; : &quot;shard0000&quot;,  &quot;draining&quot; : true,  &quot;host&quot; : &quot;dw07orl57:27018&quot; }
        {  &quot;_id&quot; : &quot;shard0001&quot;,  &quot;draining&quot; : true,  &quot;host&quot; : &quot;dw07orl57:27020&quot; }
&lt;p&gt;  databases:&lt;/p&gt;
        {  &quot;_id&quot; : &quot;admin&quot;,  &quot;partitioned&quot; : false,  &quot;primary&quot; : &quot;config&quot; }
        {  &quot;_id&quot; : &quot;gis_db&quot;,  &quot;partitioned&quot; : false,  &quot;primary&quot; : &quot;shard0000&quot; }

&lt;p&gt;mongos&amp;gt; use gis_db&lt;br/&gt;
switched to db gis_db&lt;br/&gt;
mongos&amp;gt; db.dropDatabase()&lt;/p&gt;
{
        &quot;assertion&quot; : &quot;collection&apos;s metadata is undergoing changes. Please try again.&quot;,
        &quot;assertionCode&quot; : 13331,
        &quot;errmsg&quot; : &quot;db assertion failure&quot;,
        &quot;ok&quot; : 0
}
mongos&amp;gt; show dbs
config  0.1875GB
gis_db  1.953125GB
mongos&amp;gt; show dbs
config  0.1875GB
gis_db  1.953125GB
mongos&amp;gt; use gis_db
switched to db gis_db
mongos&amp;gt; db.dropDatabase()
{ &quot;dropped&quot; : &quot;gis_db&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;mongos&amp;gt; show dbs&lt;br/&gt;
config  0.1875GB&lt;br/&gt;
gis_db  1.953125GB&lt;/p&gt;</comment>
                            <comment id="97573" author="eliot" created="Sun, 11 Mar 2012 07:00:51 +0000"  >&lt;p&gt;That means a migration or split is happening.&lt;br/&gt;
If you try again, it should work.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15320" name="from_config.txt" size="2838" author="gnikopo" created="Mon, 12 Mar 2012 19:13:33 +0000"/>
                            <attachment id="15319" name="from_mongos.txt" size="7056" author="gnikopo" created="Mon, 12 Mar 2012 19:13:33 +0000"/>
                            <attachment id="15321" name="from_shard1.txt" size="1709" author="gnikopo" created="Mon, 12 Mar 2012 19:13:33 +0000"/>
                            <attachment id="15322" name="from_shard2.txt" size="1861" author="gnikopo" created="Mon, 12 Mar 2012 19:13:33 +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>Sun, 11 Mar 2012 07:00:51 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 48 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>gnikopo</customfieldvalue>
            <customfieldvalue>gregor</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroa4f:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22770</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|hsr1mv:</customfieldvalue>

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