<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:35:43 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-14708] A mixed single node &amp; replicaset set sharded cluster can wait for replication on the single node when moving chunks, if secondaryThrottle is enabled</title>
                <link>https://jira.mongodb.org/browse/SERVER-14708</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you have a sharded cluster:&lt;br/&gt;
A - a single node&lt;br/&gt;
B - a replicaset of 3 data bearing nodes.&lt;/p&gt;

&lt;p&gt;When performing a moveChunk the secondaryThrottle flag is checked against the target shard and used if there are multiple nodes in the target shard. This setting is used for both the move to the target shard, and the remove from the source shard.&lt;/p&gt;

&lt;p&gt;When moving from A-&amp;gt;B&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The target shard has multiple nodes, so secondaryThrottle is used. I.e. the remove from A is performed with a {&lt;tt&gt;w:2&lt;/tt&gt;} and timeout of 60 seconds, thereby waiting for 60 seconds for each moveChunk.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Also, when moving from B-&amp;gt;A&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The target shard has only a single node, so no secondaryThrottle is used. I.e. the remove from B does not wait for replication, though that may be what is intended.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This can cause large delays.&lt;/p&gt;</description>
                <environment></environment>
        <key id="149458">SERVER-14708</key>
            <summary>A mixed single node &amp; replicaset set sharded cluster can wait for replication on the single node when moving chunks, if secondaryThrottle is enabled</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="randolph@mongodb.com">Randolph Tan</assignee>
                                    <reporter username="alan.spencer">Alan Spencer</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Jul 2014 14:00:52 +0000</created>
                <updated>Wed, 10 Dec 2014 23:06:03 +0000</updated>
                            <resolved>Wed, 6 Aug 2014 18:33:59 +0000</resolved>
                                    <version>2.4.3</version>
                                                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="683039" author="renctan" created="Wed, 6 Aug 2014 18:33:16 +0000"  >&lt;p&gt;Fixed by more defensive checks and code refactor work done in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14041&quot; title=&quot;enhance secondaryThrottle parameter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14041&quot;&gt;&lt;del&gt;SERVER-14041&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="673531" author="asya" created="Mon, 28 Jul 2014 14:19:23 +0000"  >&lt;p&gt;Work-arounds available:&lt;/p&gt;

&lt;p&gt;1. have every shard configured with same majority value (specifically do not mix majority=1 on some shards with majority&amp;gt;1 on others)&lt;/p&gt;

&lt;p&gt;2. &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/configure-sharded-cluster-balancer/#sharded-cluster-config-secondary-throttle&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;turn off secondaryThrottle option cluster wide&lt;/a&gt; if somehow 1. cannot be avoided&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="137856">SERVER-14041</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="72392">SERVER-9407</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="137856">SERVER-14041</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="145505">SERVER-14465</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 28 Jul 2014 14:19:23 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 28 weeks 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>alan.spencer</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlqwf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>129602</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

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

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