<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:13 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-5208] Replica set periodic reevaluation of sync targets</title>
                <link>https://jira.mongodb.org/browse/SERVER-5208</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Periodically, we should rerun the logic in ReplSetImpl::getMemberToSyncTo().  The ping times may have changed since last check, or the oplog staleness within the cluster may have changed such that a different node is now much more up-to-date.&lt;br/&gt;
Currently we only do this check when the cluster state changes.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="32219">SERVER-5208</key>
            <summary>Replica set periodic reevaluation of sync targets</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Mar 2012 18:16:58 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:45 +0000</updated>
                            <resolved>Wed, 19 Dec 2012 18:56:46 +0000</resolved>
                                                    <fixVersion>2.3.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>5</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="219384" author="auto" created="Wed, 19 Dec 2012 16:29:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-10T14:53:03Z&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Remove now-unneeded buildIndexes variable &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5208&quot; title=&quot;Replica set periodic reevaluation of sync targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5208&quot;&gt;&lt;del&gt;SERVER-5208&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is now checked in syncable().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/24e46882948452b09943052a411c8f10b1aefb5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/24e46882948452b09943052a411c8f10b1aefb5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="219383" author="auto" created="Wed, 19 Dec 2012 16:29:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-12-19T16:17:59Z&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5208&quot; title=&quot;Replica set periodic reevaluation of sync targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5208&quot;&gt;&lt;del&gt;SERVER-5208&lt;/del&gt;&lt;/a&gt; Periodically re-evaluate sync target on secondaries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/43a4b0c5ce2b0f4fa460d371f4acc8dab989d038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/43a4b0c5ce2b0f4fa460d371f4acc8dab989d038&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="163555" author="auto" created="Wed, 12 Sep 2012 17:57:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-12T10:53:17-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Remove sync target change &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5208&quot; title=&quot;Replica set periodic reevaluation of sync targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5208&quot;&gt;&lt;del&gt;SERVER-5208&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c90a18d7e2342fd8425e2ba520f491a57b25de6d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c90a18d7e2342fd8425e2ba520f491a57b25de6d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="163553" author="kristina" created="Wed, 12 Sep 2012 17:56:40 +0000"  >&lt;p&gt;Also, Dwight requested that it change sync targets if ping averages change.&lt;/p&gt;</comment>
                            <comment id="162382" author="auto" created="Mon, 10 Sep 2012 14:54:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-10T07:53:03-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Remove now-unneeded buildIndexes variable &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5208&quot; title=&quot;Replica set periodic reevaluation of sync targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5208&quot;&gt;&lt;del&gt;SERVER-5208&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is now checked in syncable().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d989e6ee5e74f08bbd7a812c3893ca6a49049155&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d989e6ee5e74f08bbd7a812c3893ca6a49049155&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="143293" author="kristina" created="Mon, 16 Jul 2012 17:23:19 +0000"  >&lt;p&gt;We should probably also re-evaluate when the status of the set changes (e.g., a different member becomes primary or something).&lt;/p&gt;</comment>
                            <comment id="95967" author="auto" created="Tue, 6 Mar 2012 18:51:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;milkie&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4750&quot; title=&quot;Secondary syncs to another secondary that has slaveDelay &amp;gt; 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4750&quot;&gt;&lt;del&gt;SERVER-4750&lt;/del&gt;&lt;/a&gt;: prevent syncing to secondaries with a slavedelay greater than yourself&lt;/p&gt;

&lt;p&gt;After &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5208&quot; title=&quot;Replica set periodic reevaluation of sync targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5208&quot;&gt;&lt;del&gt;SERVER-5208&lt;/del&gt;&lt;/a&gt;, we can rework the logic here so that if a slavedelay&apos;d node&lt;br/&gt;
is still ahead of us, we can use it for a little while and then once we&apos;re caught&lt;br/&gt;
up we&apos;ll reevaluate the cluster for better nodes to sync from.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e4f3f956888da028bb13a469f99941537f35f272&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e4f3f956888da028bb13a469f99941537f35f272&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="44339">SERVER-6476</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="30344">SERVER-4927</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="41864">SERVER-6137</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="48447">SERVER-6882</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="62581">SERVER-8235</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32513">DOCS-154</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="29000">SERVER-4750</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Mar 2012 18:51:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 9 weeks 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/SERVER-6476'>SERVER-6476</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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 9 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroasn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5685</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_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|hriyyv:</customfieldvalue>

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