<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:27 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-1588] mongodump/mongoexport should issue its own lock command</title>
                <link>https://jira.mongodb.org/browse/SERVER-1588</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Mongodump and mongoexport have two forms of operation. They either connect to a running mongod instance or they operate directly on a mongo data directory. What I learned recently from Kristinia&apos;s blog (&lt;a href=&quot;http://www.snailinaturtleneck.com/blog/2010/07/26/mongodb-backups-corn-on-the-cob-in-10-minutes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.snailinaturtleneck.com/blog/2010/07/26/mongodb-backups-corn-on-the-cob-in-10-minutes/&lt;/a&gt;) was that it does not lock the database before dumping for ensure consistency. &lt;/p&gt;

&lt;p&gt;There should be a switch to opt into a locking the database, I propose &lt;del&gt;l/&lt;/del&gt;-lockDatabases.This will simplify backup scripts.&lt;/p&gt;</description>
                <environment>All environments</environment>
        <key id="12704">SERVER-1588</key>
            <summary>mongodump/mongoexport should issue its own lock command</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="3">Duplicate</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="zippy1981">Justin Dearing</reporter>
                        <labels>
                    </labels>
                <created>Sat, 7 Aug 2010 15:20:12 +0000</created>
                <updated>Sat, 15 Dec 2012 15:03:47 +0000</updated>
                            <resolved>Sat, 15 Dec 2012 15:03:35 +0000</resolved>
                                    <version>1.4.0</version>
                    <version>1.4.1</version>
                    <version>1.4.2</version>
                    <version>1.4.3</version>
                    <version>1.4.4</version>
                    <version>1.5.0</version>
                    <version>1.5.1</version>
                    <version>1.5.2</version>
                    <version>1.5.3</version>
                    <version>1.5.4</version>
                    <version>1.5.5</version>
                    <version>1.5.6</version>
                    <version>1.5.7</version>
                    <version>1.5.8</version>
                    <version>1.6.0</version>
                                                                        <votes>3</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="215852" author="eliot" created="Sat, 15 Dec 2012 15:03:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-131&quot; title=&quot;mongodump/mongoexport should have a --lock option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-131&quot;&gt;&lt;del&gt;SERVER-2279&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="215809" author="jesse" created="Sat, 15 Dec 2012 13:49:31 +0000"  >&lt;p&gt;This ticket is similar to &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-131&quot; title=&quot;mongodump/mongoexport should have a --lock option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-131&quot;&gt;&lt;del&gt;SERVER-2279&lt;/del&gt;&lt;/a&gt;, and similarly depends on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1423&quot; title=&quot;reads often aren&amp;#39;t possible while in fsync and lock mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1423&quot;&gt;&lt;del&gt;SERVER-1423&lt;/del&gt;&lt;/a&gt; being fixed first.&lt;/p&gt;</comment>
                            <comment id="124899" author="kenn" created="Thu, 31 May 2012 20:13:10 +0000"  >&lt;p&gt;Found this ticket while I&apos;m looking for this --lock option. +1.&lt;/p&gt;

&lt;p&gt;I think mongodump is typically used by small-scale use cases, where --oplog is probably unavailable. Once you&apos;re in the scale that you need a replica set, you wouldn&apos;t need mongodump for daily backups, rather use LVM snapshot, etc.&lt;/p&gt;

&lt;p&gt;People are either doing lock-fsync-mongodump-unlock dance, or just backing up non-point-in-time backups, and right now the complexity of the former discourages people to do it right, IMO.&lt;/p&gt;</comment>
                            <comment id="29664" author="eliot" created="Tue, 26 Apr 2011 18:33:18 +0000"  >&lt;p&gt;It only works if you have an oplog, so either any replica set member, or a regular master.&lt;/p&gt;</comment>
                            <comment id="29660" author="zippy1981" created="Tue, 26 Apr 2011 17:52:05 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;I didn&apos;t know about --oplog until just now. If --oplog will work on a standalone server, or the slave of a master slave pair (my particular use case) then I guess you can close.&lt;/p&gt;</comment>
                            <comment id="29658" author="eliot" created="Tue, 26 Apr 2011 17:14:15 +0000"  >&lt;p&gt;Is this really needed now that the --oplog feature exists?&lt;/p&gt;</comment>
                            <comment id="16582" author="eliot" created="Sat, 7 Aug 2010 17:19:51 +0000"  >&lt;p&gt;No new cases are going into 1.7 unless they are bugs or widely asked for.&lt;br/&gt;
There are already a lot of important/highly voted cases, so have to cut, not add.&lt;/p&gt;

&lt;p&gt;If you coded it, we wouldn&apos;t have a problem merging it in.&lt;/p&gt;</comment>
                            <comment id="16581" author="zippy1981" created="Sat, 7 Aug 2010 17:15:31 +0000"  >&lt;p&gt;Thanks for clarifying my verbiage.&lt;/p&gt;

&lt;p&gt;Why is this targeted for 1.9 and not 1.7? Is it just time frame, or planned architectural changes.&lt;/p&gt;

&lt;p&gt;Specifically, if I wanted to start coding this feature myself right now (which I&apos;m not) is there a reason I shouldn&apos;t.&lt;/p&gt;</comment>
                            <comment id="16579" author="eliot" created="Sat, 7 Aug 2010 17:01:02 +0000"  >&lt;p&gt;I think there is a bit of confusion.&lt;/p&gt;

&lt;p&gt;mongodump is consistent and safe, but not a point in time snapshot.&lt;/p&gt;

&lt;p&gt;for example if you add or delete objects while the dump is running, the dump may or may not get those changes.&lt;/p&gt;

&lt;p&gt;So it kind of make ssense to have a write lock mode for a point in time snapshot&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="12449">SERVER-1423</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 7 Aug 2010 17:01:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 9 weeks, 4 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-1423'>SERVER-1423</a></s>]]></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, 9 weeks, 4 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_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>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>zippy1981</customfieldvalue>
            <customfieldvalue>kenn</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrphnj:</customfieldvalue>

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

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

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