<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:30:00 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-12901] Make reset threshold to fall behind sync target tunable.</title>
                <link>https://jira.mongodb.org/browse/SERVER-12901</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To manipulate this setting, start mongod with: &lt;tt&gt;--setParameter maxSyncSourceLagSecs=120&lt;/tt&gt;.  &lt;br/&gt;
It is only settable at startup, not runtime.  &lt;br/&gt;
The default value is 30 seconds.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Original Description Below&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Changed in version 2.4: The sync target falls more than 30 seconds behind another member of the replica set; then, the mongod instance will revert to the default sync logic and target.&lt;/p&gt;

&lt;p&gt;It&apos;d be nice to be able to tune this from 30s to other values. For some setups, having the sync target frequently change and override our syncFrom target under heavy load can have serious issues. &lt;/p&gt;

&lt;p&gt;Take a 3 node replica set with a hidden node for example. If these nodes are geographically distributed somewhat, then I may want to read off of my visible secondary to reduce read latency. However, I require all of my reads to be consistent.&lt;/p&gt;

&lt;p&gt;I could use tags for this, however I now lose failover in the event that I lose the visible secondary or primary because all of my tagged writes will fail. To preserve failover, I have to use w:2. &lt;/p&gt;

&lt;p&gt;However, if my latency hits the 30sec mark then it will override the syncFrom target and the writes will go to the primary and the hidden node. I will now get stale reads off of my visible secondaries. &lt;/p&gt;</description>
                <environment></environment>
        <key id="114598">SERVER-12901</key>
            <summary>Make reset threshold to fall behind sync target tunable.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="dan@mongodb.com">Daniel Pasette</assignee>
                                    <reporter username="osmar.olivo">Osmar Olivo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Feb 2014 23:20:39 +0000</created>
                <updated>Mon, 11 Jul 2016 17:19:41 +0000</updated>
                            <resolved>Wed, 5 Mar 2014 15:20:05 +0000</resolved>
                                    <version>2.6.0-rc0</version>
                                    <fixVersion>2.6.0-rc1</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="516783" author="xgen-internal-githook" created="Sat, 15 Mar 2014 18:27:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12901&quot; title=&quot;Make reset threshold to fall behind sync target tunable.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12901&quot;&gt;&lt;del&gt;SERVER-12901&lt;/del&gt;&lt;/a&gt; make test pause maxSyncSourceLagSecs&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/78f486cdc7cf46f948030138ce1c741988a5f842&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/78f486cdc7cf46f948030138ce1c741988a5f842&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="516782" author="xgen-internal-githook" created="Sat, 15 Mar 2014 18:26:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12901&quot; title=&quot;Make reset threshold to fall behind sync target tunable.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12901&quot;&gt;&lt;del&gt;SERVER-12901&lt;/del&gt;&lt;/a&gt; make test pause maxSyncSourceLagSecs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/63583514f11f910c132e91dadbdc18a9f37adade&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/63583514f11f910c132e91dadbdc18a9f37adade&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="511487" author="xgen-internal-githook" created="Fri, 7 Mar 2014 15:11:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12901&quot; title=&quot;Make reset threshold to fall behind sync target tunable.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12901&quot;&gt;&lt;del&gt;SERVER-12901&lt;/del&gt;&lt;/a&gt; fix flapping test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0e63bed927440d1531e0a2e26cf5cb79d6b52138&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0e63bed927440d1531e0a2e26cf5cb79d6b52138&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="510348" author="christopher.price@mtvn.com" created="Wed, 5 Mar 2014 22:59:20 +0000"  >&lt;p&gt;I.  Love.   This.   Story.  Thank you.  &lt;/p&gt;</comment>
                            <comment id="509737" author="xgen-internal-githook" created="Wed, 5 Mar 2014 13:42:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12901&quot; title=&quot;Make reset threshold to fall behind sync target tunable.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12901&quot;&gt;&lt;del&gt;SERVER-12901&lt;/del&gt;&lt;/a&gt; make maxSyncSourceLagSecs configurable&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a2ebcca174d9df0c1454119057911ef7eddfd0ec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a2ebcca174d9df0c1454119057911ef7eddfd0ec&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Feb 2014 07:39:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 48 weeks, 4 days 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 48 weeks, 4 days 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>christopher.price@mtvn.com</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>osmar.olivo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm0lz:</customfieldvalue>

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

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

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