<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:47:10 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-18280] ReplicaSetMonitor should use electionId to avoid talking to old primaries</title>
                <link>https://jira.mongodb.org/browse/SERVER-18280</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To get &quot;sticky read your writes&quot; behavior out of the internal replica set client, used by mongos and the shell, the internal client&apos;s code for replica set monitoring and server selection should accept as &quot;primary&quot; nodes reporting a larger electionId value than the most recently selected primary node.&lt;/p&gt;

&lt;p&gt;Note that in 2.6 and 3.0, large clock skews (&amp;gt; 30 seconds) between the replica set member nodes may lead to clients that observe an election being unable to issue writes or primary reads.  The solution would be to restart those clients.&lt;/p&gt;</description>
                <environment></environment>
        <key id="201359">SERVER-18280</key>
            <summary>ReplicaSetMonitor should use electionId to avoid talking to old primaries</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="9">Done</resolution>
                                        <assignee username="daniel.alabi@10gen.com">Daniel Alabi</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Apr 2015 20:00:11 +0000</created>
                <updated>Fri, 14 Jul 2017 19:24:12 +0000</updated>
                            <resolved>Tue, 2 Jun 2015 13:34:49 +0000</resolved>
                                                    <fixVersion>2.6.11</fixVersion>
                    <fixVersion>3.0.5</fixVersion>
                    <fixVersion>3.1.4</fixVersion>
                                    <component>Internal Client</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="929442" author="xgen-internal-githook" created="Tue, 2 Jun 2015 13:30:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;alabid&apos;, u&apos;name&apos;: u&apos;Daniel Alabi&apos;, u&apos;email&apos;: u&apos;alabidan@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18280&quot; title=&quot;ReplicaSetMonitor should use electionId to avoid talking to old primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18280&quot;&gt;&lt;del&gt;SERVER-18280&lt;/del&gt;&lt;/a&gt; ReplicaSetMonitor should use electionId to avoid talking to old primaries&lt;/p&gt;

&lt;p&gt;(cherry picked from commit b8c1c49b36abfa2c49cb15a6f1ac4cadaf2a5648)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c5639bdc8ffbb2c7b3838a093f06060cc2cce568&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c5639bdc8ffbb2c7b3838a093f06060cc2cce568&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="929441" author="xgen-internal-githook" created="Tue, 2 Jun 2015 13:28:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;alabid&apos;, u&apos;name&apos;: u&apos;Daniel Alabi&apos;, u&apos;email&apos;: u&apos;alabidan@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18280&quot; title=&quot;ReplicaSetMonitor should use electionId to avoid talking to old primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18280&quot;&gt;&lt;del&gt;SERVER-18280&lt;/del&gt;&lt;/a&gt; ReplicaSetMonitor should use electionId to avoid talking to old primaries&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b8c1c49b36abfa2c49cb15a6f1ac4cadaf2a5648&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b8c1c49b36abfa2c49cb15a6f1ac4cadaf2a5648&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="927896" author="xgen-internal-githook" created="Fri, 29 May 2015 20:57:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;alabid&apos;, u&apos;name&apos;: u&apos;Daniel Alabi&apos;, u&apos;email&apos;: u&apos;alabidan@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18280&quot; title=&quot;ReplicaSetMonitor should use electionId to avoid talking to old primaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18280&quot;&gt;&lt;del&gt;SERVER-18280&lt;/del&gt;&lt;/a&gt; ReplicaSetMonitor should use electionId to avoid talking to old primaries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6f3fc07e0a9c0bbb8543ec7618debe862a40b3b2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6f3fc07e0a9c0bbb8543ec7618debe862a40b3b2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="914632" author="jesse" created="Thu, 14 May 2015 21:04:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.alabi%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.alabi@10gen.com&quot;&gt;daniel.alabi@10gen.com&lt;/a&gt; the description in the spec is pretty straightforward, LMK if you have any questions.&lt;/p&gt;</comment>
                            <comment id="902569" author="schwerin" created="Thu, 30 Apr 2015 20:20:36 +0000"  >&lt;p&gt;NB, this ticket is not about linearizable read operations. &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5324&quot; title=&quot;Document how to use findAndModify with write concern to achieve &amp;quot;quorum read&amp;quot; behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5324&quot;&gt;&lt;del&gt;DOCS-5324&lt;/del&gt;&lt;/a&gt; is a ticket to describe how to emulate a linearizable read operation using findAndModify.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="203400">CXX-597</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="201363">DOCS-5326</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="225878">SERVER-19978</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="225879">SERVER-19979</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15514">2.6.11</customfieldvalue>
    <customfieldvalue id="15441">3.0.5</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 14 May 2015 21:04:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 37 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SPEC-205'>SPEC-205</a></s>, <s><a href='https://jira.mongodb.org/browse/WRITING-1372'>WRITING-1372</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-151</customfieldvalue>
                        </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>emily.hall</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 37 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.alabi@10gen.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriz33:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs8xbr:</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="546">Sharding 4 06/05/15</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11857"><![CDATA[Requested]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsa64f:</customfieldvalue>

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