<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:10:49 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-25986] Failed chunk moves should not leave behind files on disk</title>
                <link>https://jira.mongodb.org/browse/SERVER-25986</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When a chunk move fails, mongo leaves behind files named &quot;preCleanup.$timestamp.bson&quot; inside the $DBPATH/moveChunk. Often times, the reason why the chunk move fails is not a transient condition, causing the move to fail again if attempted, until the root cause is fixed. When the balancer is enabled, it will choose to move the same chunk to the same destination over and over, failing each time, causing these preCleanup files to be placed on disk and never getting reaped. Over a short period of time (say, a day), this can easily use up all of the available inodes on that filesystem.&lt;/p&gt;

&lt;p&gt;We had this happen over the weekend, and once all the inodes are used, the mongoD will exit and will fail to restart until there are available inodes again. This seems like non ideal behavior, and I think it would be much better if the preCleanup files would also get cleaned up after a failed chunk move instead of allowing them to accumulate on disk.&lt;/p&gt;</description>
                <environment></environment>
        <key id="314475">SERVER-25986</key>
            <summary>Failed chunk moves should not leave behind files on disk</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-sharding-emea">[DO NOT USE] Backlog - Sharding EMEA</assignee>
                                    <reporter username="dai@foursquare.com">Dai Shi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Sep 2016 00:28:45 +0000</created>
                <updated>Tue, 6 Dec 2022 04:17:23 +0000</updated>
                            <resolved>Fri, 17 Dec 2021 14:43:39 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="4256548" author="kaloian.manassiev" created="Fri, 17 Dec 2021 14:43:39 +0000"  >&lt;p&gt;We will not invest time in improving the &lt;tt&gt;moveParanoia&lt;/tt&gt; so closing as Won&apos;t Do.&lt;/p&gt;</comment>
                            <comment id="1380905" author="thomas.schubert" created="Fri, 9 Sep 2016 20:12:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dai%40foursquare.com&quot; class=&quot;user-hover&quot; rel=&quot;dai@foursquare.com&quot;&gt;dai@foursquare.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for confirming that you want to to keep &lt;tt&gt;moveParanoia&lt;/tt&gt; enabled. I&apos;m marking this ticket to be considered by our Sharding team. Please continue to watch for updates.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1380893" author="dai@foursquare.com" created="Fri, 9 Sep 2016 20:06:31 +0000"  >&lt;p&gt;Thomas,&lt;/p&gt;

&lt;p&gt;So, I realize that turning off moveParanoia will stop these files from being created. However, we do not want to do that, as the post-cleanup files are still useful in recovering data in cases where we suspect data loss has occurred (most recently due to this bug: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23425&quot; title=&quot;Inserts and updates during chunk migration get deleted in 3.0.9, 3.0.10&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23425&quot;&gt;&lt;del&gt;SERVER-23425&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;The behavior that we would like to see is that if the chunk move failed, it should clean up any of the preCleanup files created. If the chunk move succeeded, then it should preserve the post-cleanup files.&lt;/p&gt;</comment>
                            <comment id="1380886" author="thomas.schubert" created="Fri, 9 Sep 2016 20:00:43 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dai%40foursquare.com&quot; class=&quot;user-hover&quot; rel=&quot;dai@foursquare.com&quot;&gt;dai@foursquare.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for reporting this behavior. As you likely know, these files not written by default in MongoDB 3.2. I would recommend turning off &lt;a href=&quot;https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption--noMoveParanoia&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;moveParanoia&lt;/a&gt; to address this issue. &lt;/p&gt;

&lt;p&gt;Best regards,&lt;br/&gt;
Thomas&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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25133"><![CDATA[Sharding EMEA]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 9 Sep 2016 20:00:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 7 weeks, 5 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>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, 7 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding-emea</customfieldvalue>
            <customfieldvalue>dai@foursquare.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjwsv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsphlj:</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_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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsekpb:</customfieldvalue>

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