<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:00:45 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-22562] Protocol Version 1 causes very very slow chunk migrations</title>
                <link>https://jira.mongodb.org/browse/SERVER-22562</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;(6th bug found in 3.2.1 this week and counting)&lt;/p&gt;

&lt;p&gt;After upgrading our cluster to pv1 - we noticed that chunk migrations were extremely slow. 20 documents per second. We have 10TB of data and can&apos;t afford this speeds. Especially when the cluster can only move a single chunk at time (scalable architecture).&lt;/p&gt;

&lt;p&gt;Cancelling _secondaryThrottle fixed it, so we figured out it has something to do with replication.&lt;/p&gt;

&lt;p&gt;We reverted to pv0 and it was fixed. &lt;/p&gt;

&lt;p&gt;To prove that it was the case, we even &lt;b&gt;changed the pv in the middle of a single chunk migration&lt;/b&gt; - the first half (pv1) was super slow, the second was fast as always (pv0). &lt;/p&gt;

&lt;p&gt;We&apos;re guessing it has something to do with the way you implemented majority writes in pv1, which is inefficient.&lt;/p&gt;

&lt;p&gt;This is one of many issues with pv1, and 3.2.1 in general. &lt;/p&gt;

&lt;p&gt;Mongodb seems unusable as a database in its current form.&lt;/p&gt;</description>
                <environment></environment>
        <key id="264508">SERVER-22562</key>
            <summary>Protocol Version 1 causes very very slow chunk migrations</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="-1">Unassigned</assignee>
                                    <reporter username="yonido">Yoni Douek</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Feb 2016 20:22:38 +0000</created>
                <updated>Thu, 10 Mar 2016 12:11:23 +0000</updated>
                            <resolved>Sat, 13 Feb 2016 14:16:27 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="1198894" author="ramon.fernandez" created="Thu, 10 Mar 2016 12:11:23 +0000"  >&lt;p&gt;Thanks for the feedback &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yonido&quot; class=&quot;user-hover&quot; rel=&quot;yonido&quot;&gt;yonido&lt;/a&gt;, glad to hear 3.2.4 is helping with your use case.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1198703" author="yonido" created="Thu, 10 Mar 2016 05:08:54 +0000"  >&lt;p&gt;Looks much better on 3.2.4. Thanks.&lt;/p&gt;</comment>
                            <comment id="1172647" author="ramon.fernandez" created="Sat, 13 Feb 2016 14:16:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yonido&quot; class=&quot;user-hover&quot; rel=&quot;yonido&quot;&gt;yonido&lt;/a&gt;, you&apos;re right that in PV1 it&apos;s the majority writes that cause the slowdown &amp;#8211; because the writes are waiting for stronger safety guarantees.&lt;/p&gt;

&lt;p&gt;There&apos;s ongoing work to address this slowdown: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22276&quot; title=&quot;implement &amp;quot;j&amp;quot; flag in write concern apply to secondary as well as primary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22276&quot;&gt;&lt;del&gt;SERVER-22276&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22233&quot; title=&quot;Reduce the secondary throttling during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22233&quot;&gt;&lt;del&gt;SERVER-22233&lt;/del&gt;&lt;/a&gt;. In the mean time you can use PV0 if your use case does not require those stronger safety guarantees.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1169775" author="ramon.fernandez" created="Wed, 10 Feb 2016 20:35:59 +0000"  >&lt;p&gt;Thanks for your report &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yonido&quot; class=&quot;user-hover&quot; rel=&quot;yonido&quot;&gt;yonido&lt;/a&gt;, we&apos;ll investigate. It seems that you&apos;ve found a workaround, so please continue to use pv0 for the time being until we can find the source of the slowness in pv1 chunk migrations.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="259454">SERVER-22233</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="260227">SERVER-22276</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 10 Feb 2016 20:35:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 48 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/SERVER-22233'>SERVER-22233</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-477</customfieldvalue>
                        </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>
                            7 years, 48 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>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>yonido</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkhin:</customfieldvalue>

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

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