<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:36:05 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-34268] The Backup Requirement during Compact Execution-Confirmation</title>
                <link>https://jira.mongodb.org/browse/SERVER-34268</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Dear Team,&lt;br/&gt;
We are using the &lt;b&gt;compact&lt;/b&gt; command  inorder to reduce the storage space of data and index. &lt;br/&gt;
We need your Support to confirm that  &apos;data&apos; folder backup creation is really required or not?&lt;/p&gt;

&lt;p&gt;Below are the environment details &lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;mongodb Journals are enabled by default&lt;/li&gt;
	&lt;li&gt;Mongod server version: db version v3.4.0&lt;/li&gt;
	&lt;li&gt;OS: Windows 7, architecture: &quot;x86&quot;, version: &quot;6.1&quot; , platform: &quot;Java/OracleCorporation/1.8.0_162-b12&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;As per the MongoDB documentation for Compact command, it is recommended to create a backup before performing Compact command. (Ref: &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/compact/#dbcmd.compact&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/command/compact/#dbcmd.compact&lt;/a&gt;) &lt;/p&gt;

&lt;p&gt;However as per the MongoDB documentation, if we terminate the Compact command in between AND if journaling is enabled, it will be restored without any issue and we may have to rebuild the indexes (Ref: &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/compact/#operation-termination&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/command/compact/#operation-termination&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;To ensure that &apos;data&apos; backup is not required , we have terminated the compact Operation while it is executing on the database collections with dataSize=68.8GiB, and observed that the both  &apos;data&apos; and &apos;index&apos; remains valid and usable.&lt;/ins&gt;&lt;/p&gt;

&lt;p&gt;Could you please confirm whether backup is really necessary even if Journaling is enabled or not, Thank you.&lt;/p&gt;

&lt;p&gt;Thanks &amp;amp; Regards&lt;br/&gt;
Sandeep KS&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="521092">SERVER-34268</key>
            <summary>The Backup Requirement during Compact Execution-Confirmation</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="Urs">Sandeep [X]</reporter>
                        <labels>
                            <label>compact</label>
                            <label>mongodb</label>
                            <label>windows</label>
                            <label>wiredtiger</label>
                    </labels>
                <created>Tue, 3 Apr 2018 11:25:13 +0000</created>
                <updated>Tue, 24 Apr 2018 23:54:17 +0000</updated>
                            <resolved>Thu, 12 Apr 2018 17:28:03 +0000</resolved>
                                    <version>3.4.0</version>
                                                    <component>Storage</component>
                                        <votes>1</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1862719" author="thomas.schubert" created="Thu, 12 Apr 2018 17:25:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Urs&quot; class=&quot;user-hover&quot; rel=&quot;Urs&quot;&gt;Urs&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We recommend taking backups as a general good practice, and strongly recommend enabling journalling to ensure writes are not lost in the event of an unclean shutdown and ensure that mongods can quickly make data durable on the primary for requirements like &lt;tt&gt;w:majority&lt;/tt&gt; writes.&lt;/p&gt;

&lt;p&gt;That said, I&apos;m not aware of any issues with running compact on WiredTiger that would necessitate taking a backup.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1862301" author="urs" created="Thu, 12 Apr 2018 10:43:50 +0000"  >&lt;p&gt;Dear Backlog,Storage-Team,&lt;/p&gt;

&lt;p&gt;May I  request you to please confirm whether backup is really necessary even if Journaling is enabled or not Please?&lt;/p&gt;

&lt;p&gt;Thanks &amp;amp; Regards&lt;br/&gt;
Sandeep KS&lt;/p&gt;</comment>
                            <comment id="1856264" author="urs" created="Thu, 5 Apr 2018 14:37:47 +0000"  >&lt;p&gt;Dear Team,&lt;br/&gt;
Could you please confirm whether backup is really necessary even if Journaling is enabled or not&lt;br/&gt;
Thanks &amp;amp; Regards&lt;br/&gt;
Sandeep KS&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 3 Apr 2018 21:45:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 43 weeks, 6 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>
                            5 years, 43 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>Urs</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htu86n:</customfieldvalue>

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

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