<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:02:39 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>[DOCS-11360] [TOOLS] Clarify that mongorestore does not support concurrent restoration</title>
                <link>https://jira.mongodb.org/browse/DOCS-11360</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Use mongodump/mongorestore to migrate data from many standalone mongod instances to a central replica set.&lt;br/&gt;
The dump/restore processes are on the air by using --archive option, and all processes run simultaneously.&lt;br/&gt;
Below error may raised by mongorestore occasionally but not always.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Failed: xxdb.xxcollection: error running create command: collection already exists&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment>mongorestore version: r3.4.10&lt;br/&gt;
git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9&lt;br/&gt;
Go version: go1.7&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;os: linux&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;arch: amd64&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;compiler: gc&lt;br/&gt;
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013</environment>
        <key id="494175">DOCS-11360</key>
            <summary>[TOOLS] Clarify that mongorestore does not support concurrent restoration</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="huyingming">Alex Hu</reporter>
                        <labels>
                            <label>backlog</label>
                            <label>replication</label>
                            <label>request</label>
                    </labels>
                <created>Thu, 8 Feb 2018 01:42:49 +0000</created>
                <updated>Mon, 22 Jan 2024 16:19:11 +0000</updated>
                                                                            <component>Server</component>
                    <component>tools</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5304235" author="JIRAUSER1264464" created="Mon, 27 Mar 2023 20:43:50 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tim.fogarty%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;tim.fogarty@mongodb.com&quot;&gt;tim.fogarty@mongodb.com&lt;/a&gt;, could you confirm this is still relevant? Otherwise we&apos;ll close. Thanks!&lt;/p&gt;</comment>
                            <comment id="5268647" author="david.golden" created="Mon, 13 Mar 2023 18:26:28 +0000"  >&lt;p&gt;Defering to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tim.fogarty%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;tim.fogarty@mongodb.com&quot;&gt;tim.fogarty@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5268622" author="JIRAUSER1264464" created="Mon, 13 Mar 2023 18:19:48 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.golden%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;david.golden@mongodb.com&quot;&gt;david.golden@mongodb.com&lt;/a&gt;, is this still relevant? If not, we&apos;ll close. Thanks!&lt;/p&gt;</comment>
                            <comment id="1817131" author="david.golden" created="Tue, 27 Feb 2018 14:33:30 +0000"  >&lt;p&gt;Hi, Alex.  We don&apos;t support concurrent restoration.  I&apos;m going to move this to the docs project so that can be clarified.&lt;/p&gt;</comment>
                            <comment id="1802466" author="huyingming" created="Mon, 12 Feb 2018 08:16:34 +0000"  >&lt;p&gt;Hi Mark,&lt;br/&gt;
I couldn&apos;t forward you the raw output of this case, because I miss to save the logs and after many retries, cannot reproduce it.&lt;/p&gt;

&lt;p&gt;I think the reason maybe createCollection + insertData is not in a server side transaction.&lt;/p&gt;

&lt;p&gt;The scenario is:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;There is no target database, target collection (&lt;em&gt;db.collection&lt;/em&gt;) in the target mongo replica set.&lt;/li&gt;
	&lt;li&gt;To restore data to the &lt;em&gt;db.collection&lt;/em&gt; simultaneously.&lt;/li&gt;
	&lt;li&gt;This error raised.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I suspect that one instance checked and found &lt;em&gt;db.collection&lt;/em&gt; didn&apos;t exist, then try to create it before insert data while another instance try to do the same thing. Since &lt;b&gt;check + create&lt;/b&gt; is neither &lt;b&gt;a server-side transaction&lt;/b&gt; nor &lt;b&gt;in a critical section&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="1801476" author="mark.agarunov" created="Fri, 9 Feb 2018 21:14:21 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=huyingming&quot; class=&quot;user-hover&quot; rel=&quot;huyingming&quot;&gt;huyingming&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for the report. To get a better idea of what may be causing this, could you please provide the complete logs from the affected &lt;tt&gt;mongod&lt;/tt&gt; node(s) as well as the complete output from &lt;tt&gt;mongorestore&lt;/tt&gt;? This should give us some insight into what may be causing this behavior.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Mark&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 9 Feb 2018 21:14:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        45 weeks, 2 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            45 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>huyingming</customfieldvalue>
            <customfieldvalue>ashley.brown@mongodb.com</customfieldvalue>
            <customfieldvalue>david.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.agarunov</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htpvyv:</customfieldvalue>

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

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