<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:09:42 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>[DOCS-14177] Provide better clarity over on what timeout setting results in an election, for failover</title>
                <link>https://jira.mongodb.org/browse/DOCS-14177</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;

&lt;p&gt;There is a lot of confusion out there over what replica set config timeout setting causes secondaries to call for an election.&#160; Specifically there is a lack of documentation clarity on the role of the following two parameters:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;settings.&lt;/tt&gt;&lt;tt&gt;heartbeatTimeoutSecs&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;settings.&lt;/tt&gt;&lt;tt&gt;electionTimeoutMillis&lt;/tt&gt;{{}}&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;See docs page: &lt;a href=&quot;https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.settings.electionTimeoutMillis&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.settings.electionTimeoutMillis&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;According to &lt;a href=&quot;https://groups.google.com/g/mongodb-user/c/RwLZvRV7DAg&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/g/mongodb-user/c/RwLZvRV7DAg&lt;/a&gt;&#160;for replication protocol version 1&#160; - pv1, (which, as per &lt;a href=&quot;https://docs.mongodb.com/manual/reference/replica-set-protocol-versions/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/replica-set-protocol-versions/&lt;/a&gt;&#160;was the default from 3.2 and is the only protocol version supported from version 4.0),&#160; &quot;&lt;em&gt;the only knob that controls failover sensitivity in pv1 is electionTimeoutMillis&lt;/em&gt;&quot; and &quot;In v1, you can expect the timeout to be at most electionTimeoutMillis&quot;&lt;/p&gt;

&lt;p&gt;This needs to be made more clear in the docs for&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.settings.electionTimeoutMillis&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.settings.electionTimeoutMillis&lt;/a&gt;&#160; for properties &quot;settings.heartbeatTimeoutSecs&quot; &amp;amp; &quot;settings.electionTimeoutMillis&quot;.&lt;/p&gt;

&lt;p&gt;At the moment, the docs do say &quot;NOTE&#160;For pv1, settings.electionTimeoutMillis has a greater influence on whether the secondary members call for an election than the settings.heartbeatTimeoutSecs&quot;. Unfortunately this is a very woolly and vague statement which provides no concrete actionable value.&lt;/p&gt;

&lt;p&gt;Also of note, is the core server source code README for replication, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/README.md#user-content-communication&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/README.md#user-content-communication&lt;/a&gt;&#160;which talks about &quot;Check the liveness of the other nodes (heartbeats)&quot;. Again this is a bit vague but I suggest talking to the core replication developers who authored this about providing a far better description of what&#160;heartbeatTimeoutSecs is for and how it should be used at at.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;p&gt;Specify that only&#160;&lt;b&gt;electionTimeoutMillis&lt;/b&gt; is the only knob that controls failover sensitivity in pv1&lt;/p&gt;</description>
                <environment></environment>
        <key id="1609149">DOCS-14177</key>
            <summary>Provide better clarity over on what timeout setting results in an election, for failover</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="rea.rustagi@mongodb.com">Rea Rustagi</assignee>
                                    <reporter username="paul.done@mongodb.com">Paul Done</reporter>
                        <labels>
                            <label>reopened</label>
                            <label>server-docs-bug-bash</label>
                            <label>triage</label>
                    </labels>
                <created>Tue, 2 Feb 2021 16:50:53 +0000</created>
                <updated>Mon, 30 Oct 2023 20:13:16 +0000</updated>
                            <resolved>Thu, 13 Jul 2023 15:03:47 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5561548" author="JIRAUSER1260679" created="Wed, 12 Jul 2023 18:55:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/pull/3816&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/pull/3816&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4951665" author="JIRAUSER1264463" created="Thu, 3 Nov 2022 13:00:22 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.ryabtsev%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dmitry.ryabtsev@mongodb.com&quot;&gt;dmitry.ryabtsev@mongodb.com&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="4940345" author="edu.bot" created="Mon, 31 Oct 2022 16:03:58 +0000"  >&lt;p&gt;Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!&lt;/p&gt;</comment>
                    </comments>
                    <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_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Jul 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Oct 2022 16:03:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        30 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-11702</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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            30 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>paul.done@mongodb.com</customfieldvalue>
            <customfieldvalue>rea.rustagi@mongodb.com</customfieldvalue>
            <customfieldvalue>sarah.olson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hysrfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyecsf:</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hysdof:</customfieldvalue>

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