<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:09 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-279] Use setVersion and electionId to detect stale primaries</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-279</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;This is a change to the SDAM specification.&lt;/p&gt;

&lt;p&gt;Because electionIds from different protocol versions aren&apos;t comparable,&lt;br/&gt;
drivers must compare (setVersion, electionId) tuples to detect stale&lt;br/&gt;
primaries.&lt;/p&gt;

&lt;p&gt;You can see the details of the spec change in these commits:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/f63e74c8565c6515ce5c81feee29feb5008328e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/f63e74c8565c6515ce5c81feee29feb5008328e1&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/73b92206002c41243facc745036512aa8a44b6f4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/73b92206002c41243facc745036512aa8a44b6f4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;SDAM tests are also updated:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/9f4ecb128a820cacd016c5be58824f72dec75942&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/9f4ecb128a820cacd016c5be58824f72dec75942&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/034efc8f0ba7f56acb01de44dd6394ab148e1a21&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/034efc8f0ba7f56acb01de44dd6394ab148e1a21&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/80b0a9e03212c3385c354d115ca75af1e4c79016&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/80b0a9e03212c3385c354d115ca75af1e4c79016&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;NOTE: Make sure to update the test runner to assert on electionId and setVersion equality&lt;/p&gt;</description>
                <environment></environment>
        <key id="244048">DRIVERS-279</key>
            <summary>Use setVersion and electionId to detect stale primaries</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="rathi.gnanasekaran">Rathi Gnanasekaran</assignee>
                                    <reporter username="david.golden@mongodb.com">David Golden</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Dec 2015 19:59:40 +0000</created>
                <updated>Mon, 15 Apr 2019 17:28:11 +0000</updated>
                            <resolved>Thu, 13 Apr 2017 14:12:16 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1127708" author="jmikola@gmail.com" created="Wed, 6 Jan 2016 17:48:31 +0000"  >&lt;p&gt;Validating for PHPC and HHVM, since CDRIVER implements this.&lt;/p&gt;

&lt;p&gt;SDAM isn&apos;t implemented in PHP, and this isn&apos;t relevant to PHPLIB.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="246181">CSHARP-1526</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="246182">NODE-634</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="246140">RUBY-1077</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="244878">CDRIVER-1056</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="244879">JAVA-2069</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="244877">PYTHON-1036</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="241967">SERVER-21744</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_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-1056'>CDRIVER-1056</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.3.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-1036'>PYTHON-1036</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.2.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-2069'>JAVA-2069</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.2.1, 2.14.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PERL-604'>PERL-604</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.2.2</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-1077'>RUBY-1077</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.2.2</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-634'>NODE-634</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.1.5</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-1526'>CSHARP-1526</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.2.2</td>
  </tr>
</table>]]></customfieldvalue>


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