<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:52:35 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-39621] Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn&apos;t killed on sync source</title>
                <link>https://jira.mongodb.org/browse/SERVER-39621</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Since we no longer kill readers and close their connections on stepdown, the nodes syncing from the primary may not have a chance to choose a new sync source even if chaining is disabled.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21537&quot; title=&quot;chainingAllowed = false not being enforced after rs.stepDown()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21537&quot;&gt;&lt;del&gt;SERVER-21537&lt;/del&gt;&lt;/a&gt; has similar symptoms when the heartbeats are stale. Both of them can be addressed in the Smart Chaining project.&lt;/p&gt;</description>
                <environment></environment>
        <key id="698884">SERVER-39621</key>
            <summary>Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn&apos;t killed on sync source</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="13201">Fixed</resolution>
                                        <assignee username="samy.lanka@mongodb.com">Samyukta Lanka</assignee>
                                    <reporter username="siyuan.zhou@mongodb.com">Siyuan Zhou</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Feb 2019 20:57:53 +0000</created>
                <updated>Sun, 29 Oct 2023 22:23:57 +0000</updated>
                            <resolved>Fri, 8 May 2020 19:48:35 +0000</resolved>
                                    <version>4.0.12</version>
                                    <fixVersion>4.4.1</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                    <fixVersion>4.2.16</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="3980783" author="xgen-internal-githook" created="Wed, 4 Aug 2021 16:08:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39621&quot; title=&quot;Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn&amp;#39;t killed on sync source&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39621&quot;&gt;&lt;del&gt;SERVER-39621&lt;/del&gt;&lt;/a&gt; Change sync source when primary steps down and chaining is disabled&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2ffaa9d4efefffc7045b6b47d9380299b28dfd7a)&lt;br/&gt;
(cherry picked from commit 03db775aaf4e3167894092aa4bdfbb980b06c703)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/31194b8dd00e0862d2b0ebc5d6502360724e7297&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/31194b8dd00e0862d2b0ebc5d6502360724e7297&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3352501" author="xgen-internal-githook" created="Fri, 21 Aug 2020 16:16:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39621&quot; title=&quot;Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn&amp;#39;t killed on sync source&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39621&quot;&gt;&lt;del&gt;SERVER-39621&lt;/del&gt;&lt;/a&gt; Change sync source when primary steps down and chaining is disabled&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2ffaa9d4efefffc7045b6b47d9380299b28dfd7a)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/03db775aaf4e3167894092aa4bdfbb980b06c703&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/03db775aaf4e3167894092aa4bdfbb980b06c703&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3350031" author="siyuan.zhou@10gen.com" created="Thu, 20 Aug 2020 21:51:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=evin.roesle&quot; class=&quot;user-hover&quot; rel=&quot;evin.roesle&quot;&gt;evin.roesle&lt;/a&gt;, it should be similar to 4.4 backport. I&apos;d say less than a day.&lt;/p&gt;</comment>
                            <comment id="3349767" author="evin.roesle" created="Thu, 20 Aug 2020 19:26:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt; Do you think there is any risk with a backport to 4.2 and what is the extra complexity? How much time do you estimate for this, less than a day or more?&lt;/p&gt;</comment>
                            <comment id="3085683" author="evin.roesle" created="Thu, 14 May 2020 13:42:06 +0000"  >&lt;p&gt;With being so close to GA, I do not think we should backport this ticket to 4.4 at this time&lt;/p&gt;</comment>
                            <comment id="3084551" author="tess.avitabile" created="Wed, 13 May 2020 19:54:33 +0000"  >&lt;p&gt;Sounds good, then I don&apos;t think we should backport to earlier versions.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=evin.roesle&quot; class=&quot;user-hover&quot; rel=&quot;evin.roesle&quot;&gt;evin.roesle&lt;/a&gt;, do you think we should backport to 4.4? This close to GA, we would need to get special permission from Kelsey.&lt;/p&gt;</comment>
                            <comment id="3077863" author="tess.avitabile" created="Mon, 11 May 2020 12:14:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=evin.roesle&quot; class=&quot;user-hover&quot; rel=&quot;evin.roesle&quot;&gt;evin.roesle&lt;/a&gt;, do you think this ticket should be backported to earlier branches?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samy.lanka&quot; class=&quot;user-hover&quot; rel=&quot;samy.lanka&quot;&gt;samy.lanka&lt;/a&gt;, can you weigh in on the complexity of the backport?&lt;/p&gt;</comment>
                            <comment id="3076419" author="xgen-internal-githook" created="Fri, 8 May 2020 19:21:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39621&quot; title=&quot;Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn&amp;#39;t killed on sync source&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39621&quot;&gt;&lt;del&gt;SERVER-39621&lt;/del&gt;&lt;/a&gt; Change sync source when primary steps down and chaining is disabled&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2ffaa9d4efefffc7045b6b47d9380299b28dfd7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2ffaa9d4efefffc7045b6b47d9380299b28dfd7a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2162930" author="judah.schvimer" created="Tue, 26 Feb 2019 14:44:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt;, how would the sync source know that the oplog read was being used for oplog fetching? Would it see that it&apos;s an internal connection, or just assume based on the &lt;tt&gt;OplogReplay&lt;/tt&gt; flag? &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37904&quot; title=&quot;Allow a node to override the cluster chaining (enabled/disabled) setting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37904&quot;&gt;&lt;del&gt;SERVER-37904&lt;/del&gt;&lt;/a&gt; might make this harder as well by making chaining not necessarily a replica set wide configuration.&lt;/p&gt;</comment>
                            <comment id="2160451" author="thomas.schubert" created="Fri, 22 Feb 2019 21:48:59 +0000"  >&lt;p&gt;This ticket would also help prior versions of MongoDB in cases where no active getmore was running against the primary when it stepped down.&lt;/p&gt;</comment>
                            <comment id="2153877" author="tess.avitabile" created="Fri, 15 Feb 2019 21:15:37 +0000"  >&lt;p&gt;I think the effect of the Avoid Closing Connections project on this change was small. We never closed connections between replica set members on stepdown, since these connections used &lt;tt&gt;hangUpOnStepDown:false&lt;/tt&gt;. Additionally, we never killed cursors on stepdown. The only change is that if there was an active &lt;tt&gt;getMore&lt;/tt&gt; on the sync source, it will no longer be killed after the Avoid Closing Connections project. Before this project, it was possible that a node would continue syncing from an old primary if there had not been an active &lt;tt&gt;getMore&lt;/tt&gt; at the time of the stepdown.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="240090">SERVER-21537</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="939092">SERVER-43615</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1000782">SERVER-44603</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1413729">SERVER-49708</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2276703">SERVER-74425</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1814584">SERVER-58412</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>11.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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000dGg3hQAC, 5002K00000csEhCQAU, 5002K00000wYEfqQAG]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 15 Feb 2019 21:15:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 27 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1409</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 27 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>evin.roesle@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hunqxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hudidr:</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="3882">Repl 2020-05-18</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hund6v:</customfieldvalue>

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