<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:50:17 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-38868] Db.mycoll.drop() cannot release table spaces</title>
                <link>https://jira.mongodb.org/browse/SERVER-38868</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Db.mycoll.drop() cannot release table spaces&lt;/p&gt;

&lt;p&gt;And when I restart the mongod service, the space is released.&lt;/p&gt;</description>
                <environment></environment>
        <key id="666769">SERVER-38868</key>
            <summary>Db.mycoll.drop() cannot release table spaces</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="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="hiller2">hiller1</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Jan 2019 13:52:23 +0000</created>
                <updated>Tue, 15 Jan 2019 18:37:14 +0000</updated>
                            <resolved>Tue, 15 Jan 2019 18:37:13 +0000</resolved>
                                    <version>3.2.11</version>
                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2115249" author="hiller1" created="Tue, 15 Jan 2019 09:51:35 +0000"  >&lt;p&gt;3.4 is OK.&#160; thanks!&lt;/p&gt;</comment>
                            <comment id="2111470" author="daniel.hatcher" created="Thu, 10 Jan 2019 19:00:38 +0000"  >&lt;p&gt;You may be experiencing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31101&quot; title=&quot;WT table not dropped after collection is dropped due to long-running OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31101&quot;&gt;&lt;del&gt;SERVER-31101&lt;/del&gt;&lt;/a&gt; or &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26870&quot; title=&quot;Sometimes collection data file is not removed even though collection is dropped&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26870&quot;&gt;&lt;del&gt;SERVER-26870&lt;/del&gt;&lt;/a&gt;. If you upgrade to 3.4.18 do you still have this problem?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2111390" author="daniel.hatcher" created="Thu, 10 Jan 2019 18:25:36 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;MongoDB will not release disk space except in a few special circumstances. If you are using WiredTiger as your storage engine, you can use the &lt;a href=&quot;https://docs.mongodb.com/manual/faq/storage/index.html#how-do-i-reclaim-disk-space-in-wiredtiger&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;compact command&lt;/a&gt; or perform an &lt;a href=&quot;https://docs.mongodb.com/manual/faq/storage/index.html#how-do-i-reclaim-disk-space&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initial sync from another member of the replica set&lt;/a&gt;. If you are using MMAPv1 as your storage engine, the only option is to perform an &lt;a href=&quot;https://docs.mongodb.com/manual/faq/storage/index.html#how-do-i-reclaim-disk-space&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initial sync from another member of the replica set&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you believe the situation you are encountering is a true bug, please provide the version of MongoDB, the storage engine, the replica set configuration, and the full reproduction steps.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2110824" author="hiller1" created="Thu, 10 Jan 2019 09:25:07 +0000"  >&lt;p&gt;I executed my.coll.drop(), After I recreated an empty collection and insert new data.&lt;/p&gt;

&lt;p&gt;I Can be accessed with the mongo shell, and synchronous replication is OK.&lt;/p&gt;

&lt;p&gt;However, this drop collection on the secondary, disk space is not released.&lt;/p&gt;</comment>
                            <comment id="2110349" author="daniel.hatcher" created="Wed, 9 Jan 2019 19:38:46 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Can you please describe in further detail what you mean when you say &quot;release table spaces&quot;? When you drop a collection, can you still access that collection through the &lt;tt&gt;mongo&lt;/tt&gt; shell until you restart? If you have reproduction steps please provide them.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2106996" author="hiller2" created="Mon, 7 Jan 2019 13:57:06 +0000"  >&lt;p&gt;Primary can release table spaces, but secondary can&apos;t release table spaces.&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 9 Jan 2019 19:38:46 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 4 weeks, 1 day 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>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>hiller1</customfieldvalue>
            <customfieldvalue>hiller2</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huie8f:</customfieldvalue>

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

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