<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:29 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-3937] Allow mongorestore to be throttled</title>
                <link>https://jira.mongodb.org/browse/SERVER-3937</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It can restore docs faster than they can be replicated, leading to stale slaves.  Maybe something like a --getLastError option so you could pass in &lt;/p&gt;
{w:3}
&lt;p&gt; or something and it would do that periodically. &lt;/p&gt;</description>
                <environment></environment>
        <key id="22742">SERVER-3937</key>
            <summary>Allow mongorestore to be throttled</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="brandon">Brandon Diamond</assignee>
                                    <reporter username="kristina">Kristina Chodorow</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Sep 2011 16:08:04 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:18 +0000</updated>
                            <resolved>Mon, 13 Feb 2012 22:20:30 +0000</resolved>
                                                    <fixVersion>2.1.0</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="88290" author="auto" created="Tue, 14 Feb 2012 17:57:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Brandon Diamond&apos;, u&apos;email&apos;: u&apos;brandon@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3937&quot; title=&quot;Allow mongorestore to be throttled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3937&quot;&gt;&lt;del&gt;SERVER-3937&lt;/del&gt;&lt;/a&gt;: recommit of restore throttling test&lt;/p&gt;

&lt;p&gt;Commit by another contributor accidentally clobbered earlier changes.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/35cdfe783700a5ce95805d18b30402374ec4cdf4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/35cdfe783700a5ce95805d18b30402374ec4cdf4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="88052" author="brandon" created="Mon, 13 Feb 2012 22:20:30 +0000"  >&lt;p&gt;Added basic test ensuring that mongorestore works with write concern (though the test does not verify that the write concern itself is respected).&lt;/p&gt;

&lt;p&gt;By inspection, running with write concern set is much slower than running without &amp;#8211; which seems to indicate that the process is throttled as expected.&lt;/p&gt;</comment>
                            <comment id="88048" author="auto" created="Mon, 13 Feb 2012 22:17:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Brandon Diamond&apos;, u&apos;email&apos;: u&apos;brandon@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3937&quot; title=&quot;Allow mongorestore to be throttled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3937&quot;&gt;&lt;del&gt;SERVER-3937&lt;/del&gt;&lt;/a&gt;: Basic test for mongorestore with wc&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/11578fe802e6c2b990cb47e7782182cfbd5096ca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/11578fe802e6c2b990cb47e7782182cfbd5096ca&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59765" author="auto" created="Tue, 11 Oct 2011 13:52:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Brandon Diamond&apos;, u&apos;email&apos;: u&apos;brandon@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3937&quot; title=&quot;Allow mongorestore to be throttled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3937&quot;&gt;&lt;del&gt;SERVER-3937&lt;/del&gt;&lt;/a&gt;: Only call GLE if w &amp;gt; 1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/31bb33c1207a288c49748c869681d96be808622b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/31bb33c1207a288c49748c869681d96be808622b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59595" author="eliot" created="Mon, 10 Oct 2011 21:22:54 +0000"  >&lt;p&gt;Yes - only call getLastError at all if w &amp;gt; 1&lt;/p&gt;</comment>
                            <comment id="59593" author="brandon" created="Mon, 10 Oct 2011 21:15:48 +0000"  >&lt;p&gt;This can be added quite easily; rather than issuing the calls on w &amp;lt;= 1, we can simply skip that logic. There&apos;s still a slowdown for the branch, but that&apos;s nothing compared to the GLE call. Shall I?&lt;/p&gt;</comment>
                            <comment id="59537" author="spencer" created="Mon, 10 Oct 2011 18:47:06 +0000"  >&lt;p&gt;This doesn&apos;t look like this provides a way to do the import without calling getLastError at all, in the cases when fire-and-forget writes are fine.  This could wind up slowing down imports that don&apos;t need the write concern.  There should also probably be an option to continue the import when some of the inserts fail (similar to the continueOnError flag for bulk inserts).&lt;/p&gt;</comment>
                            <comment id="59223" author="auto" created="Fri, 7 Oct 2011 22:11:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Brandon Diamond&apos;, u&apos;email&apos;: u&apos;brandon@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3937&quot; title=&quot;Allow mongorestore to be throttled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3937&quot;&gt;&lt;del&gt;SERVER-3937&lt;/del&gt;&lt;/a&gt;: Added write concern support to mongoimport&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6fee908ce602f3f6b7763f21ca35dca3766d7443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6fee908ce602f3f6b7763f21ca35dca3766d7443&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58811" author="brandon" created="Thu, 6 Oct 2011 15:30:26 +0000"  >&lt;p&gt;I&apos;m going to take a crack at this today. Any decision on the options to be supported?&lt;/p&gt;</comment>
                            <comment id="56627" author="scotthernandez" created="Mon, 26 Sep 2011 14:24:03 +0000"  >&lt;p&gt;It does seem natural that you could pass in &quot;&lt;/p&gt;
{w:2}
&lt;p&gt;&quot; or &quot;&lt;/p&gt;
{w:&apos;majority&apos;, wtimeout:500}
&lt;p&gt;&quot;.&lt;/p&gt;</comment>
                            <comment id="56619" author="kristina" created="Mon, 26 Sep 2011 14:09:00 +0000"  >&lt;p&gt;What about j?  (And we&apos;re only going to have more getLastError options in the future.)  I think that, if we want to minimize number of options, we should let people pass in any getLastError args (not just w).&lt;/p&gt;</comment>
                            <comment id="56233" author="eliot" created="Fri, 23 Sep 2011 18:18:59 +0000"  >&lt;p&gt;More options != good.&lt;br/&gt;
We should start with just --w and no frequency option, just choose something&lt;/p&gt;</comment>
                            <comment id="56224" author="scotthernandez" created="Fri, 23 Sep 2011 17:54:56 +0000"  >&lt;p&gt;It would be good to able to specify all gle options, and frequency in doc or bytes&lt;/p&gt;</comment>
                            <comment id="56209" author="eliot" created="Fri, 23 Sep 2011 17:25:32 +0000"  >&lt;p&gt;Maybe just --w 2&lt;br/&gt;
So you can specify actually how many you want it go to &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 23 Sep 2011 17:25:32 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 1 week, 1 day 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>auto</customfieldvalue>
            <customfieldvalue>brandon</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hropqv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9402</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></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>
                                

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

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