<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:31 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>[DRIVERS-2412] SDAM should prioritize electionId over setVersion only on &gt;=6.0 servers</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2412</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;In &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;, we discovered that the electionId/setVersion change could not be implemented or else drivers would break when replica set restore is run using a pre 6.0 compatible version of Ops Manager.&lt;/p&gt;

&lt;p&gt;Instead of waiting until until these old versions of Ops Manager are EOL, I propose we only implement the new electionId/setVersion comparison logic on &amp;gt;=6.0 servers. This will avoid the regression assuming that old Ops Manager versions do not support backup/restore &amp;gt;=6.0 servers.&lt;/p&gt;

&lt;p&gt;Using this approach we can fix the original bug in &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; on &amp;gt;=6.0 servers. Drivers will still be vulnerable to the bug on &amp;lt;6.0 servers but that&apos;s okay because we&apos;re already in that position now.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2111839">DRIVERS-2412</key>
            <summary>SDAM should prioritize electionId over setVersion only on &gt;=6.0 servers</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="neal.beeken@mongodb.com">Neal Beeken</assignee>
                                    <reporter username="shane.harvey@mongodb.com">Shane Harvey</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Aug 2022 18:08:39 +0000</created>
                <updated>Wed, 21 Dec 2022 03:05:45 +0000</updated>
                                                                <component>SDAM</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4881082" author="xgen-internal-githook" created="Wed, 5 Oct 2022 21:08:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Neal Beeken&apos;, &apos;email&apos;: &apos;neal.beeken@mongodb.com&apos;, &apos;username&apos;: &apos;nbbeeken&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2412&quot; title=&quot;SDAM should prioritize electionId over setVersion only on &amp;gt;=6.0 servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2412&quot;&gt;DRIVERS-2412&lt;/a&gt;: fix updateRSFromPrimary pseudo code indentation (#1312)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/9d4b2ac3ae4c64a75c962a55631b31223a938141&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/9d4b2ac3ae4c64a75c962a55631b31223a938141&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4873394" author="xgen-internal-githook" created="Mon, 3 Oct 2022 16:16:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Neal Beeken&apos;, &apos;email&apos;: &apos;neal.beeken@mongodb.com&apos;, &apos;username&apos;: &apos;nbbeeken&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2412&quot; title=&quot;SDAM should prioritize electionId over setVersion only on &amp;gt;=6.0 servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2412&quot;&gt;DRIVERS-2412&lt;/a&gt;: add pre 6.0 condition to stale primary logic (#1309)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/37c32cf5200cd8da6652c75ac65279c43628fe7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/37c32cf5200cd8da6652c75ac65279c43628fe7a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1898743">DRIVERS-1954</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2114433">RUST-1446</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114424">CXX-2566</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114423">CDRIVER-4455</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114425">CSHARP-4298</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114426">GODRIVER-2524</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114427">JAVA-4707</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114429">MOTOR-1018</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114428">NODE-4546</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114431">PHPC-2145</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114430">PYTHON-3400</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2114432">RUBY-3090</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1898743">DRIVERS-1954</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ul&gt;
	&lt;li&gt;Sync spec changes in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/37c32cf5200cd8da6652c75ac65279c43628fe7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;37c32c&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;Summary of &lt;tt&gt;updateRSFromPrimary&lt;/tt&gt; changes:
	&lt;ul&gt;
		&lt;li&gt;If maxWireVersion 17 or greater&lt;/li&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 are a tuple value)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Confirm tests pass with changes&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Join &lt;tt&gt;#drivers-2412-sdam-should-prioritize-electionid-over-setversion&lt;/tt&gt; on slack for any questions&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4455'>CDRIVER-4455</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.24.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2566'>CXX-2566</a>
    </td>
    <td>Blocked</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4298'>CSHARP-4298</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.20.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2524'>GODRIVER-2524</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.11.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4707'>JAVA-4707</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.8.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4546'>NODE-4546</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.11.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1018'>MOTOR-1018</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3400'>PYTHON-3400</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPC-2145'>PHPC-2145</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.16.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3090'>RUBY-3090</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.19.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1446'>RUST-1446</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1626'>SWIFT-1626</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
</table>]]></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|i0ordk:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>