<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:10:27 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-46081] Make ElectionInProgress (216) a RetryableWriteError</title>
                <link>https://jira.mongodb.org/browse/SERVER-46081</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There is an overlap in the errors that have the ResumableChangeStream error label and the RetryableWriteError label added to them.&lt;/p&gt;

&lt;p&gt;Currently,&#160;ElectionInProgress errors only have the ResumableChangeStream error label added to them (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/3d821c25e2944668b7359a0bf6e586cc8625b9a2/src/mongo/db/error_labels.cpp#L81&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;code here&lt;/a&gt;), which makes me think that this error should also be considered a retryable write error by the driver.&lt;/p&gt;

&lt;p&gt;I propose including this error in the list of error codes that have the RetryableWriteError label added to them.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1143444">SERVER-46081</key>
            <summary>Make ElectionInProgress (216) a RetryableWriteError</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="lingzhi.deng@mongodb.com">Lingzhi Deng</assignee>
                                    <reporter username="emily.giurleo@mongodb.com">Emily Giurleo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Feb 2020 18:26:08 +0000</created>
                <updated>Tue, 24 Mar 2020 19:01:48 +0000</updated>
                            <resolved>Tue, 24 Mar 2020 19:01:48 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2994777" author="lingzhi.deng" created="Tue, 24 Mar 2020 19:01:48 +0000"  >&lt;p&gt;Closing as &quot;Won&apos;t Fix&quot;. I filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47085&quot; title=&quot;Remove ElectionInProgress (216) from ResumableChangeStreamError&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47085&quot;&gt;&lt;del&gt;SERVER-47085&lt;/del&gt;&lt;/a&gt; to remove &lt;tt&gt;ElectionInProgress&lt;/tt&gt; from &lt;tt&gt;ResumableChangeStreamError&lt;/tt&gt; rather than making it a &lt;tt&gt;RetryableWriteError&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="2994115" author="judah.schvimer" created="Tue, 24 Mar 2020 14:16:47 +0000"  >&lt;p&gt;SGTM.&lt;/p&gt;</comment>
                            <comment id="2994012" author="lingzhi.deng" created="Tue, 24 Mar 2020 13:27:38 +0000"  >&lt;p&gt;Since &lt;tt&gt;ElectionInProgress&lt;/tt&gt; is not a user-visible error code, my inclination would be to close this as &quot;Won&apos;t fix&quot;. &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;, does this sound good to you? And maybe we should also file a ticket (or repurpose this one) to remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b05878fa0f282d07704d3e51bd2605cef550e2c5/src/mongo/db/error_labels.cpp#L85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the check of &lt;tt&gt;ElectionInProgress&lt;/tt&gt; for &lt;tt&gt;ResumableChangeStreamError&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2954879" author="divjot.arora" created="Mon, 9 Mar 2020 17:36:50 +0000"  >&lt;p&gt;&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; This was something I brought up to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emily.giurleo&quot; class=&quot;user-hover&quot; rel=&quot;emily.giurleo&quot;&gt;emily.giurleo&lt;/a&gt;. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45505&quot; title=&quot;Add ResumableChangeStreamError error label&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45505&quot;&gt;&lt;del&gt;SERVER-45505&lt;/del&gt;&lt;/a&gt;, the Query team introduced a label for change streams similar to &lt;tt&gt;RetryableWriteError&lt;/tt&gt; to indicate if a change stream error is resumable. The code for the new label checks for the &lt;tt&gt;ElectionInProgress&lt;/tt&gt; error code (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/error_labels.cpp#L85&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/error_labels.cpp#L85&lt;/a&gt;), so I was wondering if this was needed for retryable writes as well.&lt;/p&gt;</comment>
                            <comment id="2954806" author="judah.schvimer" created="Mon, 9 Mar 2020 17:12:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emily.giurleo&quot; class=&quot;user-hover&quot; rel=&quot;emily.giurleo&quot;&gt;emily.giurleo&lt;/a&gt;, we&apos;re unsure if this can be returned to a user, and if so if it can be returned on a retryable write operation. How did you discover this?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1289106">SERVER-47085</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1084646">SERVER-45505</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 Mar 2020 17:12:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 46 weeks, 1 day 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>lingzhi.deng@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 46 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>divjot.arora@mongodb.com</customfieldvalue>
            <customfieldvalue>emily.giurleo@mongodb.com</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwpwrj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwdwin:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3768">Repl 2020-04-06</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|hwpj0v:</customfieldvalue>

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