<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:27:52 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-31688] W SHARDING [conn161595] can&apos;t accept new chunks because  there are still 1 deletes from previous migration</title>
                <link>https://jira.mongodb.org/browse/SERVER-31688</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;b&gt;in mongo cluster have 8 shard, As the &quot;chunk&quot; distribution is uneven, so i check mongos log or mongod log, found the following messages:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;2017-10-24T14:36:54.135+0800 W SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161595&amp;#93;&lt;/span&gt; can&apos;t accept new chunks because  there are still 1 deletes from previous migration&lt;br/&gt;
2017-10-24T14:36:54.318+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161595&amp;#93;&lt;/span&gt; Refreshing chunks for collection appdata.App based on version 2133|4||5731b54b1f4029ea4c489504&lt;br/&gt;
2017-10-24T14:36:54.321+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;CatalogCacheLoader-16123&amp;#93;&lt;/span&gt; Refresh for collection appdata.App took 2 ms and found version 2133|4||5731b54b1f4029ea4c489504&lt;br/&gt;
2017-10-24T14:36:54.321+0800 W SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161595&amp;#93;&lt;/span&gt; can&apos;t accept new chunks because  there are still 1 deletes from previous migration&lt;br/&gt;
2017-10-24T14:36:54.328+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161599&amp;#93;&lt;/span&gt; Refreshing chunks for collection appdata.AppTrend based on version 3933|22||5731b7bc1f4029ea4c48954e&lt;br/&gt;
2017-10-24T14:36:54.330+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;CatalogCacheLoader-16125&amp;#93;&lt;/span&gt; Refresh for collection appdata.AppTrend took 2 ms and found version 3933|22||5731b7bc1f4029ea4c48954e&lt;br/&gt;
2017-10-24T14:36:54.332+0800 W SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161599&amp;#93;&lt;/span&gt; can&apos;t accept new chunks because  there are still 1 deletes from previous migration&lt;br/&gt;
2017-10-24T14:36:54.386+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161597&amp;#93;&lt;/span&gt; Refreshing chunks for collection appdata.SearchWordHistoryUS based on version 1216|256||59360a83e1421c1ec352de6f&lt;br/&gt;
2017-10-24T14:36:54.391+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;CatalogCacheLoader-16123&amp;#93;&lt;/span&gt; Refresh for collection appdata.SearchWordHistoryUS took 4 ms and found version 1216|256||59360a83e1421c1ec352de6f&lt;br/&gt;
2017-10-24T14:36:54.393+0800 W SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161597&amp;#93;&lt;/span&gt; can&apos;t accept new chunks because  there are still 1 deletes from previous migration&lt;br/&gt;
2017-10-24T14:36:54.530+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161598&amp;#93;&lt;/span&gt; Refreshing chunks for collection appdata.ASORank based on version 233434|5215||56f8eab11f4029ea4c3d4ccc&lt;br/&gt;
2017-10-24T14:36:54.547+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;conn161599&amp;#93;&lt;/span&gt; Refreshing chunks for collection appdata.ASORankUS based on version 49871|5445||594901feaa03025ae98e1d0c&lt;br/&gt;
2017-10-24T14:36:54.588+0800 I SHARDING &lt;span class=&quot;error&quot;&gt;&amp;#91;CatalogCacheLoader-16123&amp;#93;&lt;/span&gt; Refresh for collection appdata.ASORankUS took 40 ms and found version 49871|5445||594901feaa03025ae98e1d0c&lt;/p&gt;

&lt;p&gt;so how can i found the previous migration chunk and deletes it with manually, and is there any way to solve this problem without restart a shard?&lt;/p&gt;</description>
                <environment>Centos7.2</environment>
        <key id="449809">SERVER-31688</key>
            <summary>W SHARDING [conn161595] can&apos;t accept new chunks because  there are still 1 deletes from previous migration</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="13203">Gone away</resolution>
                                        <assignee username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</assignee>
                                    <reporter username="vegaoqiang">vegaoqiang</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Oct 2017 07:15:18 +0000</created>
                <updated>Fri, 27 Oct 2023 20:43:49 +0000</updated>
                            <resolved>Wed, 25 Oct 2017 13:03:15 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1708360" author="kaloian.manassiev" created="Wed, 25 Oct 2017 13:02:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vegaoqiang&quot; class=&quot;user-hover&quot; rel=&quot;vegaoqiang&quot;&gt;vegaoqiang&lt;/a&gt;, no problem. I presume your shards each are replica sets - is that correct? If so, this may potentially be related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27009&quot; title=&quot;Replication initial sync creates cursors with no timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27009&quot;&gt;&lt;del&gt;SERVER-27009&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The message in question should look something like this:&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;   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;2016-11-09T16:09:06.572+0000 I SHARDING [RangeDeleter] waiting for open cursors before removing range [{ build_id: &quot;337bc5b6432ea606a010e4c95a5e5f9a&quot;, test_id: ObjectId(&apos;57f3eb919041302d8b03ffdf&apos;), seq: 1 }, { build_id: &quot;337c88bdf0f88e7c95d9ba482d042e71&quot;, test_id: ObjectId(&apos;57d1b969be07c42b9805e57f&apos;), seq: 2 }) in buildlogs.logs, elapsed secs: 499819, cursor ids: [45904553724]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="1708145" author="vegaoqiang" created="Wed, 25 Oct 2017 01:24:14 +0000"  >&lt;p&gt;Hi  Mr. Kal,&lt;br/&gt;
Thank for you reply. sorry, i can&apos;t attach the complete log, because  it is GB level. In the last night, I have to restart the problem shard, but next time I will use your solution, thank you!&lt;/p&gt;</comment>
                            <comment id="1707258" author="kaloian.manassiev" created="Tue, 24 Oct 2017 14:40:14 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vegaoqiang&quot; class=&quot;user-hover&quot; rel=&quot;vegaoqiang&quot;&gt;vegaoqiang&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The most likely reason for the outstanding deletes from a previous migration is that the orphan cleanup process is blocked behind open cursors. Finding and killing this cursor should unblock orphan cleanup.&lt;/p&gt;

&lt;p&gt;Would it be possible to attach the complete log from the same shard node? There should be a message from the &lt;tt&gt;[RangeDeleter]&lt;/tt&gt; thread, which indicates the cursors on which it is blocked.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br/&gt;
-Kal.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="331361">SERVER-27009</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 24 Oct 2017 14:40:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 16 weeks 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>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, 16 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>vegaoqiang</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htijuv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htadkv:</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_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|hti5yn:</customfieldvalue>

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