<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:18: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-8685] mongorestore oplogReplay + oplogLimit should not be compatible with any other collections</title>
                <link>https://jira.mongodb.org/browse/SERVER-8685</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you are replaying the oplog.bson file with --oplogLimit no other databases/collections should be restored, and an error should tell you that you should remove the collections before restoring with those options. This feature was meant to just apply to oplog replay exclusively.&lt;/p&gt;

&lt;p&gt;In addition the timestamp (from --oplogLimit &amp;lt;ts&amp;gt;) will be validated to be greater than the top (latest) oplog entry.&lt;/p&gt;</description>
                <environment></environment>
        <key id="66182">SERVER-8685</key>
            <summary>mongorestore oplogReplay + oplogLimit should not be compatible with any other collections</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                            <label>mongorestore</label>
                            <label>oplog</label>
                            <label>oplogLimit</label>
                            <label>tools</label>
                    </labels>
                <created>Fri, 22 Feb 2013 22:23:54 +0000</created>
                <updated>Mon, 11 Jul 2016 17:57:50 +0000</updated>
                            <resolved>Thu, 28 Feb 2013 22:36:22 +0000</resolved>
                                                    <fixVersion>2.2.4</fixVersion>
                    <fixVersion>2.4.0-rc2</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="290235" author="auto" created="Fri, 15 Mar 2013 16:58:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-15T16:11:57Z&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8685&quot; title=&quot;mongorestore oplogReplay + oplogLimit should not be compatible with any other collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8685&quot;&gt;&lt;del&gt;SERVER-8685&lt;/del&gt;&lt;/a&gt; - use old style append for OpTime&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4873c2bd64b71af9713eb75b222a7e13c6c4e747&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4873c2bd64b71af9713eb75b222a7e13c6c4e747&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="289724" author="auto" created="Fri, 15 Mar 2013 00:08:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-01T13:04:19Z&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8685&quot; title=&quot;mongorestore oplogReplay + oplogLimit should not be compatible with any other collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8685&quot;&gt;&lt;del&gt;SERVER-8685&lt;/del&gt;&lt;/a&gt; Fix gcc compile&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/32fe4cd8fd541e0c14fd28ac17096e9ff76ba726&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/32fe4cd8fd541e0c14fd28ac17096e9ff76ba726&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="289723" author="auto" created="Fri, 15 Mar 2013 00:08:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-02-28T22:34:30Z&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8685&quot; title=&quot;mongorestore oplogReplay + oplogLimit should not be compatible with any other collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8685&quot;&gt;&lt;del&gt;SERVER-8685&lt;/del&gt;&lt;/a&gt;: mongorestore oplogLimit fixes&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;/p&gt;

&lt;p&gt;	src/mongo/tools/restore.cpp&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/49cb7cab30855e58ef506c97d1280f2ca7d4dc6e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/49cb7cab30855e58ef506c97d1280f2ca7d4dc6e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="278987" author="auto" created="Fri, 1 Mar 2013 13:41:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-01T13:04:19Z&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8685&quot; title=&quot;mongorestore oplogReplay + oplogLimit should not be compatible with any other collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8685&quot;&gt;&lt;del&gt;SERVER-8685&lt;/del&gt;&lt;/a&gt; Fix gcc compile&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f84a8a92cd95dc925d7285564bbce56efb73ba3b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f84a8a92cd95dc925d7285564bbce56efb73ba3b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="278554" author="auto" created="Thu, 28 Feb 2013 22:34:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-02-28T22:34:30Z&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8685&quot; title=&quot;mongorestore oplogReplay + oplogLimit should not be compatible with any other collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8685&quot;&gt;&lt;del&gt;SERVER-8685&lt;/del&gt;&lt;/a&gt;: mongorestore oplogLimit fixes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e63cc1987e8e69e53158a02f393b5a8c8993f492&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e63cc1987e8e69e53158a02f393b5a8c8993f492&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="278103" author="scotthernandez" created="Thu, 28 Feb 2013 14:34:21 +0000"  >&lt;p&gt;What about just skipping any oplog entry which has already been applied &amp;#8211; older that the newest oplog entry. So the entries applied are the range of current oplog head to oploglimit.&lt;/p&gt;</comment>
                            <comment id="277601" author="dan@10gen.com" created="Wed, 27 Feb 2013 23:38:18 +0000"  >&lt;p&gt;If we&apos;re checking that the --oplogLimit argument is after the last oplog entry timestamp in the destination, we should also check that the first source entry we restore is before the last oplog entry in the destination.&lt;/p&gt;</comment>
                            <comment id="273515" author="richard@10gen.com" created="Fri, 22 Feb 2013 22:42:38 +0000"  >&lt;p&gt;For future reference, several pairs of us discussed some options here: one way to not be compatible is to error out of the dump folder contains more things than just the oplog bson file; another is to ignore everything but the oplog bson file.&lt;/p&gt;

&lt;p&gt;Another feature that Scott and Dan independently proposed was to have mongorestore --oplogReplay look around for an oplog file at $dump/oplog.bson, $dump/local/oplog.rs.bson, $dump/local/oplog.$main.bson.&lt;/p&gt;

&lt;p&gt;Also --oplogLimit should check to see that the last entry in the oplog of the node being populated is strictly older than the timestamp specified to oplogLimit.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="18312">SERVER-3265</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Feb 2013 22:42:38 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 48 weeks, 5 days 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>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn51z:</customfieldvalue>

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

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

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