<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:37: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-34666] Reduce the number of retries needed for running the retryable_writes_jscore_stepdown_passthrough.yml test suite</title>
                <link>https://jira.mongodb.org/browse/SERVER-34666</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Given the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34665&quot; title=&quot;The mongo shell should retry writes on a WriteConcernFailure error response from the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34665&quot;&gt;&lt;del&gt;SERVER-34665&lt;/del&gt;&lt;/a&gt; which exposes a &lt;tt&gt;Mongo.prototype._markHostAsFailed()&lt;/tt&gt; function to call &lt;tt&gt;ReplicaSetMonitor::failedHost()&lt;/tt&gt;, it shouldn&apos;t be necessary to use multiple retry attempts as a way to wait for the &lt;tt&gt;ReplicaSetMonitor&lt;/tt&gt; to discover a new primary has been elected because retargeting can be triggered explicitly. The &lt;tt&gt;auto_retry_on_network_error.js&lt;/tt&gt; override could then use this mechanism rather than setting &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.6.4/jstests/libs/override_methods/auto_retry_on_network_error.js#L17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;kMaxNumRetries=3&lt;/tt&gt;&lt;/a&gt; and could similarly remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.6.4/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml#L113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;TestData.overrideRetryAttempts=3&lt;/tt&gt;&lt;/a&gt; from the YAML suite definition.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34608&quot; title=&quot;Drivers may still see ismaster=true from primary in midst of stepping down immediately after operations are killed with InterruptedDueToReplStateChange&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34608&quot;&gt;&lt;del&gt;SERVER-34608&lt;/del&gt;&lt;/a&gt; describes a case where after receiving an &lt;tt&gt;InterruptedDueToReplStateChange&lt;/tt&gt; error response that an &quot;isMaster&quot; command could still observe &lt;tt&gt;ismaster=true&lt;/tt&gt; and could therefore cause server selection to pick a node which is still in the midst of stepping down. We could avoid decrementing the &lt;tt&gt;numRetries&lt;/tt&gt; counter in this case of an &lt;tt&gt;InterruptedDueToReplStateChange&lt;/tt&gt; error response because the first retry (i.e. the second attempt) will synchronize with the stepdown to finish and the mongo shell would observe a network error. A second retry (i.e. a third attempt) would be successfully targeted at whichever node is then elected the new primary.&lt;/p&gt;</description>
                <environment></environment>
        <key id="533680">SERVER-34666</key>
            <summary>Reduce the number of retries needed for running the retryable_writes_jscore_stepdown_passthrough.yml test suite</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-cluster-scalability">Backlog - Cluster Scalability</assignee>
                                    <reporter username="max.hirschhorn@mongodb.com">Max Hirschhorn</reporter>
                        <labels>
                            <label>RachitaD</label>
                            <label>gm-ack</label>
                            <label>open_todo_in_code</label>
                    </labels>
                <created>Wed, 25 Apr 2018 03:28:05 +0000</created>
                <updated>Tue, 12 Dec 2023 15:50:26 +0000</updated>
                                                            <fixVersion>4.1 Desired</fixVersion>
                                    <component>Sharding</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1947252" author="max.hirschhorn@10gen.com" created="Fri, 13 Jul 2018 21:10:53 +0000"  >&lt;p&gt;I&apos;m marking this ticket as dependent on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36128&quot; title=&quot;ReplicationCoordinatorImpl::fillIsMasterForReplSet should return isMaster:false while in shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36128&quot;&gt;&lt;del&gt;SERVER-36128&lt;/del&gt;&lt;/a&gt; because I&apos;d be worried that in &quot;terminate_primary&quot; version of these stepdown-like test suites that we&apos;d exhaust the number of retries too quickly.&lt;/p&gt;</comment>
                            <comment id="1916063" author="max.hirschhorn@10gen.com" created="Sat, 9 Jun 2018 14:19:55 +0000"  >&lt;blockquote&gt;
&lt;p&gt;The number of retries is not decremented when any of the &quot;continue&quot; lines are hit:&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/dea326f41fbca28ca83f881bff1591b0f95ed645/jstests/libs/override_methods/auto_retry_on_network_error.js#L348&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/dea326f41fbca28ca83f881bff1591b0f95ed645/jstests/libs/override_methods/auto_retry_on_network_error.js#L348&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;As mentioned by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt; in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35225&quot; title=&quot;retryOnNetworkErrors does not subtract from number of retries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35225&quot;&gt;&lt;del&gt;SERVER-35225&lt;/del&gt;&lt;/a&gt;, we should also take care to ensure that we&apos;re respecting the number of retry attempts assuming that forcing retargeting with &lt;tt&gt;Mongo.prototype._markHostAsFailed()&lt;/tt&gt; is sufficient to ensure we don&apos;t need an infinite number of retries.&lt;/p&gt;</comment>
                            <comment id="1873407" author="max.hirschhorn@10gen.com" created="Wed, 25 Apr 2018 03:28:28 +0000"  >&lt;p&gt;I don&apos;t see a reason we actually need to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.6.4/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml#L145-L148&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;shorten the election timeout when running the &lt;tt&gt;retryable_writes_jscore_stepdown_passthrough.yml&lt;/tt&gt; test suite&lt;/a&gt;. If anything, it seems prone to causing a failover that isn&apos;t intentionally triggered by resmoke.py&apos;s &lt;tt&gt;StepdownThread&lt;/tt&gt; and thus occurs at a point when a test or data consistency check isn&apos;t prepared to handle it.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Edit&lt;/b&gt;: We&apos;re planning to address the election timeout in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35383&quot; title=&quot;Increase electionTimeoutMillis for the ContinuousStepdown hook used in stepdown suites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35383&quot;&gt;&lt;del&gt;SERVER-35383&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="571489">SERVER-36128</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="533679">SERVER-34665</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="549691">SERVER-35225</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="532248">SERVER-34608</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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26583"><![CDATA[Cluster Scalability]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Jan 2019 15:59:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 30 weeks, 5 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-34665'>SERVER-34665</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-36128'>SERVER-36128</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_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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 30 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-cluster-scalability</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htwd47:</customfieldvalue>

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

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