<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:32 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-3251] Overflowed replica set members briefly re-initialize as SECONDARY</title>
                <link>https://jira.mongodb.org/browse/SERVER-3251</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;... this could lead to slaveOk queries hitting very stale nodes?&lt;/p&gt;

&lt;p&gt;Reproduce:  toostale.js, secondary status is temporarily observed on startup.  &lt;/p&gt;</description>
                <environment>Ubuntu 10-11</environment>
        <key id="18222">SERVER-3251</key>
            <summary>Overflowed replica set members briefly re-initialize as SECONDARY</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="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="greg_10gen">Greg Studer</reporter>
                        <labels>
                            <label>elections</label>
                    </labels>
                <created>Mon, 13 Jun 2011 17:56:58 +0000</created>
                <updated>Tue, 6 Dec 2022 05:43:15 +0000</updated>
                            <resolved>Wed, 23 Nov 2016 19:13:20 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1441534" author="spencer" created="Wed, 23 Nov 2016 19:13:20 +0000"  >&lt;p&gt;With the introduction of the maxStaleness read preference (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4936&quot; title=&quot;Server support for &amp;quot;maxStalenessMS&amp;quot; read preference option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4936&quot;&gt;&lt;del&gt;SERVER-4936&lt;/del&gt;&lt;/a&gt;), it is now possible to make the driver avoid serving queries to very stale secondaries, preventing this from causing any issues&lt;/p&gt;</comment>
                            <comment id="1271697" author="paul.ridgway" created="Mon, 23 May 2016 12:47:44 +0000"  >&lt;p&gt;Ok, thanks for the advice!&lt;/p&gt;</comment>
                            <comment id="1271694" author="milkie" created="Mon, 23 May 2016 12:45:39 +0000"  >&lt;p&gt;Reconfigure the node to be &quot;hidden&quot; until it is caught up.  This requires two manual interventions.  It would be better if this were automatically handled by the driver, which is what &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12861&quot; title=&quot;Introduce a maxStalenessMS option when querying secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12861&quot;&gt;&lt;del&gt;SERVER-12861&lt;/del&gt;&lt;/a&gt; aims to address.&lt;/p&gt;</comment>
                            <comment id="1270910" author="paul.ridgway" created="Sat, 21 May 2016 07:57:52 +0000"  >&lt;p&gt;Do you have advice on how users should deal with the situation after maintenance where the resync is unnaturally large?&lt;/p&gt;</comment>
                            <comment id="1270257" author="milkie" created="Fri, 20 May 2016 16:43:55 +0000"  >&lt;p&gt;It&apos;s a legitimate issue.&lt;/p&gt;</comment>
                            <comment id="1270249" author="paul.ridgway" created="Fri, 20 May 2016 16:40:16 +0000"  >&lt;p&gt;We have had a node stay in secondary state (oplog lag of 12 hours) for the whole time. Had to use iptables to only allow replication. Do you consider that by design or a legitimate issue?&lt;/p&gt;</comment>
                            <comment id="169246" author="kristina" created="Fri, 28 Sep 2012 15:14:47 +0000"  >&lt;p&gt;This is, debatably by design.  What happens is: if the member doesn&apos;t have anyone to sync to (which it never does right at startup) and it&apos;s caught up to its own minvalid, it go straight into secondary state.  This is exactly what we want if the node is unable to reach any other nodes in the set.&lt;/p&gt;

&lt;p&gt;However, usually it contacts the other members a second or two later and finds out that it is stale, at which point it drops back to recovering state.&lt;/p&gt;

&lt;p&gt;One possible solution would be to force members to stay in recovering for a nominal time (10 seconds?) at startup.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="288184">SERVER-24229</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="51527">SERVER-7177</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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 28 Sep 2012 15:14:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 12 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 12 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_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>backlog-server-repl</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>paul.ridgway</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroxxr:</customfieldvalue>

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

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

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