<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:01:55 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>[JAVA-4375] SDAM should give priority to electionId over setVersion when updating topology</title>
                <link>https://jira.mongodb.org/browse/JAVA-4375</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1954&quot; title=&quot;SDAM should give priority to electionId over setVersion when updating topology&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1954&quot;&gt;&lt;del&gt;DRIVERS-1954&lt;/del&gt;&lt;/a&gt;, please see that ticket for a detailed description.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4550&quot; title=&quot;Excessive logging of maxElectionId and maxSetVersion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4550&quot;&gt;&lt;del&gt;JAVA-4550&lt;/del&gt;&lt;/a&gt; for a patch that must be applied to the one that was reverted here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1908855">JAVA-4375</key>
            <summary>SDAM should give priority to electionId over setVersion when updating topology</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="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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                            <label>spec-compliance</label>
                    </labels>
                <created>Mon, 25 Oct 2021 21:21:43 +0000</created>
                <updated>Wed, 5 Oct 2022 14:16:16 +0000</updated>
                            <resolved>Wed, 5 Oct 2022 14:16:16 +0000</resolved>
                                                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4443552" author="xgen-internal-githook" created="Tue, 29 Mar 2022 22:56:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Revert &quot;Prioritize electionId over setVersion when updating topology (#886)&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit a17c52e77f06ecf132ba8bd03dfd188688ac6c7c.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4375&quot; title=&quot;SDAM should give priority to electionId over setVersion when updating topology&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4375&quot;&gt;&lt;del&gt;JAVA-4375&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/c7c7787fcc3e0be346dd8b446871a3ab1946190d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c7c7787fcc3e0be346dd8b446871a3ab1946190d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4399594" author="xgen-internal-githook" created="Tue, 8 Mar 2022 22:36:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Prioritize electionId over setVersion when updating topology (#886)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4375&quot; title=&quot;SDAM should give priority to electionId over setVersion when updating topology&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4375&quot;&gt;&lt;del&gt;JAVA-4375&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a17c52e77f06ecf132ba8bd03dfd188688ac6c7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a17c52e77f06ecf132ba8bd03dfd188688ac6c7c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2114427">JAVA-4707</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1898743">DRIVERS-1954</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2009137">JAVA-4550</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2002816">JAVA-4535</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3mmh:040000095g</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21982"><![CDATA[5.2 Desired]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>4.4</label>
            <label>5.0</label>
            <label>5.1</label>
            <label>5.3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1954&quot; title=&quot;SDAM should give priority to electionId over setVersion when updating topology&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1954&quot;&gt;&lt;del&gt;DRIVERS-1954&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Sync spec changes in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/5bd06a81d97850a1365d73f08bbb7dea562e72b9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;5bd06a8&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Confirm tests fail with current &lt;tt&gt;updateRSFromPrimary&lt;/tt&gt; implementation&lt;/li&gt;
	&lt;li&gt;Update &lt;tt&gt;updateRSFromPrimary&lt;/tt&gt; to
	&lt;ul&gt;
		&lt;li&gt;Prioritize electionId before setVersion&lt;/li&gt;
		&lt;li&gt;Handle nullish values for both setVersion and electionId&lt;/li&gt;
		&lt;li&gt;always set maxElectionId and maxSetVersion together (they&apos;re a tuple value)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Confirm tests pass with changes&lt;/li&gt;
	&lt;li&gt;Update April 1 2022: Minor fixes were made, notably the spec files were using hello, where it should have been helloOk, see commit: &lt;a href=&quot;https://github.com/mongodb/specifications/commit/316c6501ea5870b54e2f932e65d2603cfe44e454&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;316c650&lt;/a&gt; to pull in the latest.&lt;/li&gt;
&lt;/ul&gt;
</customfieldvalue>

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