<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:32:26 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-76336] Default index build commit quorum to &quot;majority&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-76336</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The commit quorum currently defaults to &quot;votingMembers&quot;. This ticket is to evaluate changing the default to &quot;majority&quot;, which is more in line with the default write concern.&lt;/p&gt;

&lt;p&gt;Some applications depend on being able to build an index while a member of the replica set is undergoing maintenance. A &quot;votingMember&quot; quorum would be too stringent in this case, as it would stall the index build until the replica completes maintenance.&lt;br/&gt;
Off the top of my head, I&apos;m not aware of a reason why we should allow writes to complete but not index builds in this scenario. &lt;/p&gt;

&lt;p&gt;Although I haven&apos;t verified it, I also suspect that the &quot;votingMember&quot; commit quorum can result in additional delays when building an index if a delayed replica set member is present.&lt;/p&gt;

&lt;p&gt;cc: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=irwin.dolobowsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;irwin.dolobowsky@mongodb.com&quot;&gt;irwin.dolobowsky@mongodb.com&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2319469">SERVER-76336</key>
            <summary>Default index build commit quorum to &quot;majority&quot;</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="josef.ahmad@mongodb.com">Josef Ahmad</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Apr 2023 08:07:43 +0000</created>
                <updated>Fri, 28 Jul 2023 17:22:35 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="5599091" author="JIRAUSER1272879" created="Fri, 28 Jul 2023 17:19:47 +0000"  >&lt;p&gt;Spoke with Josef.&#160; We believe the best path would be to add an option for this and leave the default as is.&#160; We&apos;d also need to provide guidance on the implications of changing the setting.&#160; Should do more investigation before exposing the option.&lt;/p&gt;</comment>
                            <comment id="5378219" author="JIRAUSER1272879" created="Wed, 26 Apr 2023 16:48:05 +0000"  >&lt;p&gt;Ah, so its a majority of voting members. That makes sense, thanks!&lt;/p&gt;</comment>
                            <comment id="5375051" author="shelia.doyle" created="Tue, 25 Apr 2023 19:50:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=irwin.dolobowsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;irwin.dolobowsky@mongodb.com&quot;&gt;irwin.dolobowsky@mongodb.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Majority is always less than voting nodes  (unless replica set is just 1 node) and can be calculated using this formula:&lt;/p&gt;

&lt;p&gt;min( floor(votingNodes/2) + 1 , votingNodes - arbiters)&lt;/p&gt;</comment>
                            <comment id="5374837" author="JIRAUSER1272879" created="Tue, 25 Apr 2023 18:56:11 +0000"  >&lt;p&gt;What is the difference between &quot;votingmembers&quot; and &quot;majority&quot; in terms of quorum?&#160; Does this mean that you can have members of the replica set that are not voting members?&lt;/p&gt;</comment>
                            <comment id="5365313" author="louis.williams" created="Fri, 21 Apr 2023 13:01:44 +0000"  >&lt;p&gt;Also should consider exposing a server parameter to change the default.&lt;/p&gt;</comment>
                            <comment id="5362905" author="JIRAUSER1265133" created="Thu, 20 Apr 2023 15:47:12 +0000"  >&lt;p&gt;We should consider that index builds are only resumable when the commit quorum is the default voting members. Not sure if this is something that we could somehow fix, haven&apos;t looked much into it.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/10gen/mongo/blob/137661d326c6108c0b271a0b8be167ae3fbfea03/src/mongo/db/index_builds_coordinator.cpp#L429-L437&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/blob/137661d326c6108c0b271a0b8be167ae3fbfea03/src/mongo/db/index_builds_coordinator.cpp#L429-L437&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the ticket which introduced this limitation: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50519&quot; title=&quot;resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50519&quot;&gt;&lt;del&gt;SERVER-50519&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5362214" author="milkie" created="Thu, 20 Apr 2023 13:07:28 +0000"  >&lt;p&gt;Keep in mind this only affects index builds on &lt;em&gt;nonempty&lt;/em&gt; collections.  Arguably, running automated index builds on non-empty collections without manual control isn&apos;t such a great idea.  Changing this global default for everyone to accommodate these users doesn&apos;t sound like a fair trade, since the alternative proposed in this ticket is to introduce possibly crippling replication delays to some number of nodes less than the majority.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001sCvdRQAS]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 20 Apr 2023 13:07:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        27 weeks, 5 days 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>irwin.dolobowsky@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            27 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>irwin.dolobowsky@mongodb.com</customfieldvalue>
            <customfieldvalue>josef.ahmad@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>sheila.doyle@mongodb.com</customfieldvalue>
            <customfieldvalue>yujin.kang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i25j3z:</customfieldvalue>

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

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