<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:33:41 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-14047] endless &quot;moveChunk failed, because  there are still n deletes from previous migration&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-14047</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Our mongodb cluster was unable to move chunks during 2 days until we restarted the whole cluster. The logs stated always the same error: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;moveChunk failed to engage TO-shard in the data transfer: can&amp;#39;t accept new chunks because  there are still 81 deletes from previous migration&amp;quot;&amp;#93;&lt;/span&gt;&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;mongos&amp;gt; sh.moveChunk(&quot;offerStore.offer&quot;, { _id: 540867465 }, &quot;offerStoreIT2&quot;);&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;{&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;        &quot;cause&quot; : {&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;                &quot;cause&quot; : {&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;                        &quot;ok&quot; : 0,&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;                        &quot;errmsg&quot; : &quot;can&apos;t accept new chunks because  there are still 81 deletes from previous migration&quot;&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;                },&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;                &quot;ok&quot; : 0,&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;                &quot;errmsg&quot; : &quot;moveChunk failed to engage TO-shard in the data transfer: can&apos;t accept new chunks because  there are still 81 deletes from previous migration&quot;&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;        },&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;        &quot;ok&quot; : 0,&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;        &quot;errmsg&quot; : &quot;move failed&quot;&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;}&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;
&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;mongos&amp;gt; db.changelog.find().sort({time:-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;   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;{ &quot;_id&quot; : &quot;s163-2014-05-25T21:59:45-538267d121bb6c9634f5a4c0&quot;, &quot;server&quot; : &quot;s163&quot;, &quot;clientAddr&quot; : &quot;172.16.66.17:56136&quot;, &quot;time&quot; : ISODate(&quot;2014-05-25T21:59:45.234Z&quot;), &quot;what&quot; : &quot;moveChunk.from&quot;, &quot;ns&quot; : &quot;offerStore.offer&quot;, &quot;details&quot; : { &quot;min&quot; : { &quot;_id&quot; : NumberLong(540867465) }, &quot;max&quot; : { &quot;_id&quot; : NumberLong(541166222) }, &quot;step 1 of 6&quot; : 0, &quot;step 2 of 6&quot; : 286, &quot;note&quot; : &quot;aborted&quot; } }&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;{ &quot;_id&quot; : &quot;s163-2014-05-25T21:59:45-538267d121bb6c9634f5a4bf&quot;, &quot;server&quot; : &quot;s163&quot;, &quot;clientAddr&quot; : &quot;172.16.66.17:56136&quot;, &quot;time&quot; : ISODate(&quot;2014-05-25T21:59:45.061Z&quot;), &quot;what&quot; : &quot;moveChunk.start&quot;, &quot;ns&quot; : &quot;offerStore.offer&quot;, &quot;details&quot; : { &quot;min&quot; : { &quot;_id&quot; : NumberLong(540867465) }, &quot;max&quot; : { &quot;_id&quot; : NumberLong(541166222) }, &quot;from&quot; : &quot;offerStoreIT&quot;, &quot;to&quot; : &quot;offerStoreIT2&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;</description>
                <environment>64 Bit, wheezy</environment>
        <key id="138032">SERVER-14047</key>
            <summary>endless &quot;moveChunk failed, because  there are still n deletes from previous migration&quot;</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="thomas.rueckstiess@mongodb.com">Thomas Rueckstiess</assignee>
                                    <reporter username="kay.agahd@idealo.de">Kay Agahd</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 May 2014 09:14:29 +0000</created>
                <updated>Wed, 10 Feb 2016 23:00:44 +0000</updated>
                            <resolved>Tue, 8 Jul 2014 16:34:26 +0000</resolved>
                                    <version>2.6.1</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="742484" author="lu" created="Thu, 16 Oct 2014 02:22:10 +0000"  >&lt;p&gt;hi,&lt;br/&gt;
What about this problem,my mongo cluster has restarted some mongods for it many times!!!&lt;/p&gt;

&lt;p&gt;thanks.&lt;br/&gt;
lu zi&lt;/p&gt;</comment>
                            <comment id="651834" author="thomasr" created="Tue, 8 Jul 2014 16:34:14 +0000"  >&lt;p&gt;Hi Kay,&lt;/p&gt;

&lt;p&gt;It looks like Siyuan and Randolph provided the answers you were looking for, and the desired features are already covered with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3090&quot; title=&quot;Add the ability to list open cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3090&quot;&gt;&lt;del&gt;SERVER-3090&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13648&quot; title=&quot;better stats from migration cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13648&quot;&gt;&lt;del&gt;SERVER-13648&lt;/del&gt;&lt;/a&gt; and in the pipline.&lt;/p&gt;

&lt;p&gt;I&apos;m closing this ticket now. If you have further support questions please post on the mongodb-users group (&lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user&lt;/a&gt;) or Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag. &lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="627662" author="kay.agahd@idealo.de" created="Thu, 19 Jun 2014 16:14:04 +0000"  >&lt;p&gt;Thanks Randolph for the helpful info. I just voted for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3090&quot; title=&quot;Add the ability to list open cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3090&quot;&gt;&lt;del&gt;SERVER-3090&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="627643" author="renctan" created="Thu, 19 Jun 2014 16:00:55 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Since no-timeout cursors are not bound to a socket/connection they will live forever if the application died before reaching the end of the resultset of the cursor. &lt;br/&gt;
How to deal with?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Unfortunately, the only option for the moment is to restart the mongod to make it &apos;forget&apos; about the cursors.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Should I open a feature request to be able to delete inactive no-timeout cursors or is it planned already?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The server can&apos;t tell if a no timeout cursor is actually inactive or the client who opened it is still interested in it, so it has to be manually killed by the client who created it (otherwise, the client should have used a cursor with a timeout, which is 10 min by default). On the other hand, you might find this ticket helpful - &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3090&quot; title=&quot;Add the ability to list open cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3090&quot;&gt;&lt;del&gt;SERVER-3090&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Does mongodb has an option to interdict no-timeout cursors?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Currently none. The mongo also use no timeout cursors internally, so this can be tricky.&lt;/p&gt;

&lt;p&gt;For the mean time, the initial commit from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13648&quot; title=&quot;better stats from migration cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13648&quot;&gt;&lt;del&gt;SERVER-13648&lt;/del&gt;&lt;/a&gt; will display cursor ids the cleanup process is waiting for.&lt;/p&gt;</comment>
                            <comment id="626779" author="kay.agahd@idealo.de" created="Wed, 18 Jun 2014 22:58:05 +0000"  >&lt;p&gt;Randolph, ok, I understand. I thought the no-timeout cursors were created by the process of chunk migration, where I don&apos;t have any chance to know which cursors were created. &lt;br/&gt;
However, you say that the no-timeout cursors were created by our applications and that we have to kill them by ourselves, right? &lt;/p&gt;

&lt;p&gt;Since no-timeout cursors are not bound to a socket/connection they will live forever if the application died before reaching the end of the resultset of the cursor. &lt;br/&gt;
How to deal with? &lt;/p&gt;

&lt;p&gt;Should I open a feature request to be able to delete inactive no-timeout cursors or is it planned already? &lt;/p&gt;

&lt;p&gt;Does mongodb has an option to interdict no-timeout cursors?&lt;/p&gt;
</comment>
                            <comment id="626188" author="renctan" created="Wed, 18 Jun 2014 15:10:29 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The drivers should know the cursor ids since they use it to call getMore - so you can indirectly close it by calling close on the cursor object (not all drivers provide this api though). I am not familiar with your setup, but this option is most likely realistically harder to do than just restarting the server. The only server you need to restart is the server waiting for open cursors, which in your case is offerStoreIT2.&lt;/p&gt;</comment>
                            <comment id="626051" author="kay.agahd@idealo.de" created="Wed, 18 Jun 2014 13:55:27 +0000"  >&lt;p&gt;Randolph, what do you mean with &quot;restart the server&quot;? Which server(s) do I have to restart? The router(s), or just one primary or the whole replSet (which one?) or all primaries or all nodes of all replSets or all three configservers?&lt;/p&gt;</comment>
                            <comment id="625999" author="kay.agahd@idealo.de" created="Wed, 18 Jun 2014 13:32:41 +0000"  >&lt;p&gt;Randolph, how can I close a cursor when I don&apos;t know the cursor ID?&lt;/p&gt;</comment>
                            <comment id="623131" author="renctan" created="Mon, 16 Jun 2014 17:02:04 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;There is currently no direct way to know the cursor IDs. The work on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13648&quot; title=&quot;better stats from migration cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13648&quot;&gt;&lt;del&gt;SERVER-13648&lt;/del&gt;&lt;/a&gt; will include showing the ids of the cursors the server is waiting for. For the mean time, things you can do to unblock is either close/deplete the cursors  (note that new cursors created after the cleanup started can be ignored.) or restart the server (this will result in orphaned documents).&lt;/p&gt;</comment>
                            <comment id="621251" author="kay.agahd@idealo.de" created="Sat, 14 Jun 2014 08:56:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou@10gen.com&quot;&gt;siyuan.zhou@10gen.com&lt;/a&gt;, indeed, we see &quot;rangeDeleter waiting for n cursors...&quot; in our logs, whereas n is never below 10, so it&apos;s waiting forever. Also, we see the stats of open cursors (many of them are notimeout curors) &lt;b&gt;but&lt;/b&gt; we don&apos;t see how to kill these cursors since we don&apos;t have the ID for them.&lt;/p&gt;

&lt;p&gt;So my question is still the same: how to deblock the deletion from previous migration?&lt;br/&gt;
Thanks!&lt;/p&gt;</comment>
                            <comment id="617454" author="siyuan.zhou@10gen.com" created="Wed, 11 Jun 2014 18:42:28 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kay.agahd%40idealo.de&quot; class=&quot;user-hover&quot; rel=&quot;kay.agahd@idealo.de&quot;&gt;kay.agahd@idealo.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;If you are using v2.6.1, the logs from the primary should be enough to observe the open cursors blocking migration cleanup, like &quot;rangeDeleter waiting for XXX cursors in &amp;lt;XXX namespace&amp;gt; to finish&quot;. &lt;tt&gt;currentOp()&lt;/tt&gt; cannot provide the information about cursors, but &lt;tt&gt;serverStatus()&lt;/tt&gt; gives back &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/serverStatus/#serverStatus.metrics.cursor.open&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the stats of open cursors&lt;/a&gt;, especially those with no timeout. We are working on improving the logs and stats of migration cleanup. You can follow &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13648&quot; title=&quot;better stats from migration cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13648&quot;&gt;&lt;del&gt;SERVER-13648&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;</comment>
                            <comment id="609778" author="kay.agahd@idealo.de" created="Thu, 5 Jun 2014 16:24:36 +0000"  >&lt;p&gt;Thank you very much Siyuan for coming back. Do you need the logs from both primary and secondaries or only from the primary?&lt;/p&gt;

&lt;p&gt;Shouldn&apos;t we find all open cursors by executing &lt;tt&gt;db.currentOp()&lt;/tt&gt; which have high &lt;tt&gt;secs_runing&lt;/tt&gt; values, so we could kill them? However, I couldn&apos;t find any of such operations.&lt;/p&gt;

&lt;p&gt;How to proceed? Just restarting all servers is not a viable solution.&lt;/p&gt;

&lt;p&gt;Thanks for your help!&lt;/p&gt;</comment>
                            <comment id="608425" author="siyuan.zhou@10gen.com" created="Wed, 4 Jun 2014 18:26:47 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kay.agahd%40idealo.de&quot; class=&quot;user-hover&quot; rel=&quot;kay.agahd@idealo.de&quot;&gt;kay.agahd@idealo.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The chunk deletion on FROM-shard is asynchronous. In your case, &lt;tt&gt;offerStoreIT2&lt;/tt&gt; has 81 chunks pending for deletion. It is not allowed to move chunks to this shard if the shard is waiting for deletion, since we may lose the new migrated data during the deletion from previous migration. Usually, the deletion should be very fast, but an open cursor during the time of deletion can block it. If the cursor has no timeout, the deletion will be blocked until the cursor gets closed or the mongod restarts.&lt;/p&gt;

&lt;p&gt;To help us diagnose this issue, it would be very helpful if we can have the log on &lt;tt&gt;offerStoreIT2&lt;/tt&gt; during these 2 days.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Siyuan&lt;/p&gt;</comment>
                            <comment id="607993" author="kay.agahd@idealo.de" created="Wed, 4 Jun 2014 16:50:05 +0000"  >&lt;p&gt;Is there any progress on this issue?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="17023">SERVER-3090</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="260560">SERVER-22290</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="175740">DOCS-4575</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>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 4 Jun 2014 18:26:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 18 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-3090'>SERVER-3090</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>kelsey.schubert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kay.agahd@idealo.de</customfieldvalue>
            <customfieldvalue>lu</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlug7:</customfieldvalue>

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

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

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