<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:25:33 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-30952] Initial (re)sync never completes, stuck in a loop</title>
                <link>https://jira.mongodb.org/browse/SERVER-30952</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a 3-node replicaset running v3.4.7, the primary is running 6 map/reduce jobs every minute or so and due to circumstances we had to re-sync one of the secondary nodes. However at one of the last steps of the re-sync we get the following error:&lt;/p&gt;


&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2017-09-05T17:56:04.348+0000 E REPL     [repl writer worker 5] Error applying operation: OplogOperationUnsupported: Applying renameCollection not supported in initial sync: { ts: Timestamp 1504588941000|592, h: 4948566672906734558, v: 2, op: &quot;c&quot;, ns: &quot;graphs.$cmd&quot;, o: { renameCollection: &quot;graphs.tmp.agg_out.989&quot;, to: &quot;graphs.graphs_temp&quot;, stayTemp: false, dropTarget: true } } ({ ts: Timestamp 1504588941000|592, h: 4948566672906734558, v: 2, op: &quot;c&quot;, ns: &quot;graphs.$cmd&quot;, o: { renameCollection: &quot;graphs.tmp.agg_out.989&quot;, to: &quot;graphs.graphs_temp&quot;, stayTemp: false, dropTarget: true } })&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2017-09-05T17:56:04.348+0000 E REPL     [replication-168] Failed to apply batch due to &apos;OplogOperationUnsupported: error applying batch: Applying renameCollection not supported in initial sync: { ts: Timestamp 1504588941000|592, h: 4948566672906734558, v: 2, op: &quot;c&quot;, ns: &quot;graphs.$cmd&quot;, o: { renameCollection: &quot;graphs.tmp.agg_out.989&quot;, to: &quot;graphs.graphs_temp&quot;, stayTemp: false, dropTarget: true } }&apos;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2017-09-05T17:56:04.348+0000 I ASIO     [NetworkInterfaceASIO-RS-0] Ending connection to host graphs1-mongo3:27017 due to bad connection status; 2 connections to that host remain open&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2017-09-05T17:56:04.348+0000 I REPL     [replication-167] Finished fetching oplog during initial sync: CallbackCanceled: Callback canceled. Last fetched optime and hash: { ts: Timestamp 1504634159000|4672, t: -1 }[-4041766555669726456]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2017-09-05T17:56:04.348+0000 I REPL     [replication-168] Initial sync attempt finishing up.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;After this, MongoDB cleans up the files and starts the re-sync again, it&apos;s now basically stuck in a very big loop. This used to work fine with 2.x, when we re-synced quite a few times. &lt;/p&gt;

&lt;p&gt;I&apos;m not sure what to do about this, we can&apos;t stop the map/reduce jobs for the duration of the resync as it takes about 8 hours to get to this point. &lt;/p&gt;

</description>
                <environment></environment>
        <key id="423746">SERVER-30952</key>
            <summary>Initial (re)sync never completes, stuck in a loop</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="robert@appsignal.com">Robert Beekman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Sep 2017 19:44:03 +0000</created>
                <updated>Fri, 7 Apr 2023 16:19:45 +0000</updated>
                            <resolved>Tue, 5 Sep 2017 19:55:28 +0000</resolved>
                                    <version>3.4.7</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1667544" author="spencer" created="Thu, 7 Sep 2017 22:24:12 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=thijs&quot; class=&quot;user-hover&quot; rel=&quot;thijs&quot;&gt;thijs&lt;/a&gt;,&lt;br/&gt;
I agree with you that this was poorly messaged.  I have updated the ticket description to include more information and link to the underlying issue it is trying to avoid.  I have also filed &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10763&quot; title=&quot;Document that upgrading to 3.2.12 and 3.4.0 may cause initial sync to fail if collection renames are happening&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10763&quot;&gt;&lt;del&gt;DOCS-10763&lt;/del&gt;&lt;/a&gt; to update our documentation and release notes to make clear this compatibility change.  I also agree that that it was a pretty big change to make in a point release, but at the time it was decided that avoiding potential data corruption was more important than ensuring no users ability to perform initial syncs was broken.  The discovery of this issue was a large motivator behind spending a significant portion of the 3.6 development effort towards adding UUIDs to collections so that collection renames could be handled properly.&lt;/p&gt;

&lt;p&gt;For now I encourage you to try out Ramon&apos;s workaround, it seems the lowest impact way to work around this issue, although unfortunately it only works for avoiding the renames in mapReduce $out, it doesn&apos;t work for aggregations with $out.&lt;/p&gt;

&lt;p&gt;If you&apos;d like help figuring out the issue with indexes that are preventing you from completing initial sync on 3.2.11, please let us know and we&apos;d be happy to work with you to understand what&apos;s happening there.&lt;/p&gt;

&lt;p&gt;Sorry again for the difficulties this issue has caused you.&lt;/p&gt;

&lt;p&gt;-Spencer&lt;/p&gt;</comment>
                            <comment id="1667528" author="ramon.fernandez" created="Thu, 7 Sep 2017 21:43:15 +0000"  >&lt;p&gt;I think there&apos;s a better workaround than downgrading (which may have other issues). You can use &lt;a href=&quot;https://docs.mongodb.com/manual/reference/method/db.collection.mapReduce/#output-to-a-collection-with-an-action&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;output to a collection with an action&lt;/a&gt;. For example:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.outputcollection.drop()&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// The output collection can&apos;t be empty, so insert a marker document&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.outputcollection.insert({marker:1})&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.mycollection.mapReduce(myMapFunction, myReduceFunction, { out: { merge : &quot;outputcollection&quot; } })&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Using this approach avoids the implicit &lt;tt&gt;renameCollection&lt;/tt&gt; operation used by the &lt;tt&gt;out&lt;/tt&gt; option of &lt;tt&gt;mapReduce&lt;/tt&gt; altogether and should help with the initial sync issue originally reported.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1666696" author="thijs" created="Thu, 7 Sep 2017 11:03:18 +0000"  >&lt;p&gt;Unfortunately we can&apos;t seem to sync a 3.2.11 node, the sync fails with an error message about missing indexes. We&apos;ve started work on a solution to completely move away from using aggregations in our processing pipeline.&lt;/p&gt;

&lt;p&gt;I think this change was communicated extremely poorly. It was introduced in 3.2.12 with benign sounding description &quot;renameCollection &#8216;c&#8217; op should restart initial sync upon application&quot;. Also it&apos;s not even mentioned in the overview page here (&lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/3.2/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/release-notes/3.2/&lt;/a&gt;), you have to click to the detailed list to even find it.&lt;/p&gt;

&lt;p&gt;There is no mention at all that this change would break initial syncs when you use big aggregations. This is a change with huge impact. I really don&apos;t understand that this change was made in a point release and didn&apos;t come with a huge warning in the change log.&lt;/p&gt;</comment>
                            <comment id="1665928" author="dan@10gen.com" created="Wed, 6 Sep 2017 18:40:12 +0000"  >&lt;p&gt;Glad you have an escape valve.  Please look through the caveats Spencer called out and remember that the version must be 3.2.11 or lower.&lt;/p&gt;</comment>
                            <comment id="1665915" author="thijs" created="Wed, 6 Sep 2017 18:27:13 +0000"  >&lt;p&gt;Thanks for the thoughtful reply Spencer.&lt;/p&gt;

&lt;p&gt;Great news that this can be mitigated by running 3.2 We were under the impression that this issue was also present in 3.2. We can still run 3.2 since we haven&apos;t performed the auth upgrade yet. We are trying the downgrade approach now, will let you know how it goes.&lt;/p&gt;</comment>
                            <comment id="1665672" author="spencer" created="Wed, 6 Sep 2017 16:04:09 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=thijs&quot; class=&quot;user-hover&quot; rel=&quot;thijs&quot;&gt;thijs&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert%4080beans.com&quot; class=&quot;user-hover&quot; rel=&quot;robert@80beans.com&quot;&gt;robert@80beans.com&lt;/a&gt;,&lt;br/&gt;
To provide some more context here, the underlying problem is that aggregation and mapReduce with $out perform a rename collection internally to rename the output collection from a temporary name to its final name.  Unfortunately due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4941&quot; title=&quot;collection rename may not replicate / clone properly during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4941&quot;&gt;&lt;del&gt;SERVER-4941&lt;/del&gt;&lt;/a&gt; any collection that is renamed while it is being initial sync&apos;ed can wind up with incomplete or incorrect data on the node that did the initial sync.  Earlier versions of mongodb (&amp;lt;3.2.12) would allow initial sync to complete in these cases, leading to different members of the replica set potentially winding up with different data for the same collection.  In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26117&quot; title=&quot;renameCollection &amp;#39;c&amp;#39; op should restart initial sync upon application &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26117&quot;&gt;&lt;del&gt;SERVER-26117&lt;/del&gt;&lt;/a&gt; we changed initial sync to no longer allow processing a renameCollection and to instead fail and restart the initial sync, to avoid possible data corruption.  3.6 will avoid this problem by using new features from the storage engine to ensure that initial sync can properly handle renameCollection without losing data.  &lt;/p&gt;

&lt;p&gt;Until 3.6 is released, however, I understand you are in a tricky situation.  The best thing to do is one of the workarounds that Thomas describes - either cease running the aggregations and mapReduces causing the problem for the duration of the initial sync, or rework the app to not use $out to have the agg or m/r write directly to the output collection, but instead get the results streamed back to your app then have your app manually write the data out to the output collection.&lt;/p&gt;

&lt;p&gt;If neither of those are an option, you can downgrade the initially syncing node to 3.2.11 or wait for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29772&quot; title=&quot;Provide option to 3.2 and 3.4 to allow initial sync to complete even when it encounters renameCollection entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29772&quot;&gt;&lt;del&gt;SERVER-29772&lt;/del&gt;&lt;/a&gt; to be completed, backported, and released.  Both options will allow the initial sync to complete even if it encounters a renameCollection.  In that case, however, the data for any collections that were renamed during the initial sync may be corrupt (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4941&quot; title=&quot;collection rename may not replicate / clone properly during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4941&quot;&gt;&lt;del&gt;SERVER-4941&lt;/del&gt;&lt;/a&gt; for more details).  So if you were to do this, you would need to make sure to drop any collections generated by an agg or m/r as soon as the initial sync completes.  You would also want to ensure that you&apos;re not reading from any of those collections to guarantee the integrity of the data returned.  Once the initial sync is complete and all the agg and m/r output collections dropped, it would then be safe to run new aggregations or mapReduces and use the resulting data.&lt;/p&gt;

&lt;p&gt;I hope this clarifies the issue and the steps to work around it.  I recognize that this is a difficult bug to work around and can cause real operational hurdles for you, and for that I sincerely apologize on behalf of MongoDB.  We are working hard to get this fixed for 3.6.&lt;/p&gt;

&lt;p&gt;-Spencer&lt;/p&gt;</comment>
                            <comment id="1665297" author="thijs" created="Wed, 6 Sep 2017 12:17:08 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;We&apos;re in a very tight spot at the moment because of this issue:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;We cannot stop the aggregations and/or map reduces that are creating the temporary collections.&lt;/li&gt;
	&lt;li&gt;When not allowing disk usage on aggregations our jobs cannot complete.&lt;/li&gt;
	&lt;li&gt;Making a filesystem snapshot takes more than an hour which also breaks everything.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Basically we need a fix for this otherwise we have to do an extremely hasty project to take this entire system out of commission &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. Do you have any other suggestions? Are nodes running WiredTiger also affected by this?&lt;/p&gt;

&lt;p&gt;To me it seems like this issue is not a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4941&quot; title=&quot;collection rename may not replicate / clone properly during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4941&quot;&gt;&lt;del&gt;SERVER-4941&lt;/del&gt;&lt;/a&gt;. We&apos;re not renaming any collections or databases. The aggregation system creates temporary collections which I imagine don&apos;t even need to be synced to the secondaries. I therefore feel it makes more sense to keep this issue open.&lt;/p&gt;

&lt;p&gt;Why is a fix for this issue that causes a real risk of data-loss not given more priority?&lt;/p&gt;

&lt;p&gt;Thijs&lt;/p&gt;</comment>
                            <comment id="1664972" author="thomas.schubert" created="Tue, 5 Sep 2017 21:38:21 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert%4080beans.com&quot; class=&quot;user-hover&quot; rel=&quot;robert@80beans.com&quot;&gt;robert@80beans.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Unfortunately, there is no simple workaround for this issue. There are two possible workarounds, the first you&apos;ve already identified and ruled out:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Disable whatever application/process runs the map-reduce commands until the initial sync can complete&lt;/li&gt;
	&lt;li&gt;Update the application/process that&apos;s running the map-reduce to not use &lt;tt&gt;out&lt;/tt&gt;, but instead to get the results via a cursor and manually write the results back out to the output collection.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1664855" author="robert@appsignal.com" created="Tue, 5 Sep 2017 20:00:55 +0000"  >&lt;p&gt;Will do, but that issue looks unresolved. In the meantime we&apos;re down one replicaset member. Is there any workaround to get an initial sync to complete? &lt;/p&gt;</comment>
                            <comment id="1664846" author="thomas.schubert" created="Tue, 5 Sep 2017 19:55:16 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert%4080beans.com&quot; class=&quot;user-hover&quot; rel=&quot;robert@80beans.com&quot;&gt;robert@80beans.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the report, this issue is being tracked under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4941&quot; title=&quot;collection rename may not replicate / clone properly during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4941&quot;&gt;&lt;del&gt;SERVER-4941&lt;/del&gt;&lt;/a&gt; and the fix will be included in MongoDB 3.6.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1664828" author="robert@appsignal.com" created="Tue, 5 Sep 2017 19:46:01 +0000"  >&lt;p&gt;Additional information: The map/reduce jobs are preceded by an aggregation that also creates a temp collection, this because the aggregation is a lot faster then the map/reduce jobs. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="30465">SERVER-4941</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>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Sep 2017 19:55:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 22 weeks, 6 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/WRITING-2171'>WRITING-2171</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 22 weeks, 6 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>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>robert@appsignal.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>thijs</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hte89b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht60br:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ul&gt;
	&lt;li&gt;Run a 3-node cluster&lt;/li&gt;
	&lt;li&gt;Run map/reduce jobs that require a temp collection&lt;/li&gt;
	&lt;li&gt;Re-sync one of the nodes, the re-sync will fail and start again&lt;/li&gt;
&lt;/ul&gt;
</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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

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

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