<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:52 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>[CSHARP-1526] Use setVersion and electionId to detect stale primaries</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1526</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;This is a change to the Server Discovery and Monitoring Specification &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specification&lt;/a&gt;.&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;
</description>
                <environment></environment>
        <key id="246181">CSHARP-1526</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="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Jan 2016 19:03:28 +0000</created>
                <updated>Wed, 20 Jan 2016 20:01:36 +0000</updated>
                            <resolved>Thu, 14 Jan 2016 16:27:10 +0000</resolved>
                                                    <fixVersion>2.2.2</fixVersion>
                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1135012" author="xgen-internal-githook" created="Thu, 14 Jan 2016 16:26:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1526&quot; title=&quot;Use setVersion and electionId to detect stale primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1526&quot;&gt;&lt;del&gt;CSHARP-1526&lt;/del&gt;&lt;/a&gt;: Rename PrimaryVersion to ElectionInfo.&lt;br/&gt;
Branch: v2.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/3d1bc8dc219d5616884dde4718574ba0f5bbed30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/3d1bc8dc219d5616884dde4718574ba0f5bbed30&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1135011" author="xgen-internal-githook" created="Thu, 14 Jan 2016 16:26:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1526&quot; title=&quot;Use setVersion and electionId to detect stale primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1526&quot;&gt;&lt;del&gt;CSHARP-1526&lt;/del&gt;&lt;/a&gt;: use setVersion and electionIds for mitigating race conditions between protocols.&lt;br/&gt;
Branch: v2.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/7fbf73253f9f2759084323b84830590048ae7ed3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/7fbf73253f9f2759084323b84830590048ae7ed3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134986" author="xgen-internal-githook" created="Thu, 14 Jan 2016 16:17:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1526&quot; title=&quot;Use setVersion and electionId to detect stale primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1526&quot;&gt;&lt;del&gt;CSHARP-1526&lt;/del&gt;&lt;/a&gt;: Rename PrimaryVersion to ElectionInfo.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/966bf7cc43abdfa70f1734f8e0e74d0538d8d065&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/966bf7cc43abdfa70f1734f8e0e74d0538d8d065&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134985" author="xgen-internal-githook" created="Thu, 14 Jan 2016 16:17:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1526&quot; title=&quot;Use setVersion and electionId to detect stale primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1526&quot;&gt;&lt;del&gt;CSHARP-1526&lt;/del&gt;&lt;/a&gt;: use setVersion and electionIds for mitigating race conditions between protocols.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/906e096c779719604acf63ba90a2d400a361e595&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/906e096c779719604acf63ba90a2d400a361e595&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="244048">DRIVERS-279</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsf9rb:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="832">C# Sprint 30</customfieldvalue>

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