<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:35:08 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-14523] SECONDARY in RECOVERING state after a resync</title>
                <link>https://jira.mongodb.org/browse/SERVER-14523</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We run a resync on SECONDARY on a prod replica. During the process, oplog on secondary was set to 131GB by mongo where as the PRIMARY oplog is only 3GB. &lt;/p&gt;

&lt;p&gt;SECONDARY oplog&lt;br/&gt;
erep:RECOVERING&amp;gt; db.printReplicationInfo()&lt;br/&gt;
configured oplog size:   134152.873828125MB&lt;br/&gt;
log length start to end: 0secs (0hrs)&lt;br/&gt;
oplog first event time:  Wed Jul 09 2014 09:12:53 GMT-0600 (MDT)&lt;br/&gt;
oplog last event time:   Wed Jul 09 2014 09:12:53 GMT-0600 (MDT)&lt;br/&gt;
now:                     Thu Jul 10 2014 06:45:30 GMT-0600 (MDT)&lt;/p&gt;

&lt;p&gt;PRIMARY Oplog&lt;/p&gt;

&lt;p&gt;erep:PRIMARY&amp;gt; db.printReplicationInfo()&lt;br/&gt;
configured oplog size:   3181.0236328125MB&lt;br/&gt;
log length start to end: 56786secs (15.77hrs)&lt;br/&gt;
oplog first event time:  Wed Jul 09 2014 14:57:31 GMT-0600 (MDT)&lt;br/&gt;
oplog last event time:   Thu Jul 10 2014 06:43:57 GMT-0600 (MDT)&lt;br/&gt;
now:                     Thu Jul 10 2014 06:44:10 GMT-0600 (MDT)&lt;/p&gt;



&lt;p&gt;erep:RECOVERING&amp;gt; rs.status()&lt;br/&gt;
{&lt;br/&gt;
        &quot;set&quot; : &quot;erep&quot;,&lt;br/&gt;
        &quot;date&quot; : ISODate(&quot;2014-07-10T15:33:17Z&quot;),&lt;br/&gt;
        &quot;myState&quot; : 3,&lt;br/&gt;
        &quot;members&quot; : [&lt;br/&gt;
                {&lt;br/&gt;
                        &quot;_id&quot; : 0,&lt;br/&gt;
                        &quot;name&quot; : &quot;wslermdb01sp:27017&quot;,&lt;br/&gt;
                        &quot;health&quot; : 1,&lt;br/&gt;
                        &quot;state&quot; : 1,&lt;br/&gt;
                        &quot;stateStr&quot; : &quot;PRIMARY&quot;,&lt;br/&gt;
                        &quot;uptime&quot; : 87654,&lt;br/&gt;
                        &quot;optime&quot; : &lt;/p&gt;
{
                                &quot;t&quot; : 1405006395,
                                &quot;i&quot; : 9
                        }
&lt;p&gt;,&lt;br/&gt;
                        &quot;optimeDate&quot; : ISODate(&quot;2014-07-10T15:33:15Z&quot;),&lt;br/&gt;
                        &quot;lastHeartbeat&quot; : ISODate(&quot;2014-07-10T15:33:17Z&quot;),&lt;br/&gt;
                        &quot;lastHeartbeatRecv&quot; : ISODate(&quot;1970-01-01T00:00:00Z&quot;),&lt;br/&gt;
                        &quot;pingMs&quot; : 2&lt;br/&gt;
                },&lt;br/&gt;
                &lt;/p&gt;
{
                        &quot;_id&quot; : 2,
                        &quot;name&quot; : &quot;wslerudh01sp:27017&quot;,
                        &quot;health&quot; : 1,
                        &quot;state&quot; : 7,
                        &quot;stateStr&quot; : &quot;ARBITER&quot;,
                        &quot;uptime&quot; : 87654,
                        &quot;lastHeartbeat&quot; : ISODate(&quot;2014-07-10T15:33:16Z&quot;),
                        &quot;lastHeartbeatRecv&quot; : ISODate(&quot;1970-01-01T00:00:00Z&quot;),
                        &quot;pingMs&quot; : 1
                }
&lt;p&gt;,&lt;br/&gt;
                {&lt;br/&gt;
                        &quot;_id&quot; : 3,&lt;br/&gt;
                        &quot;name&quot; : &quot;wslermdb02sp:27017&quot;,&lt;br/&gt;
                        &quot;health&quot; : 1,&lt;br/&gt;
                        &quot;state&quot; : 3,&lt;br/&gt;
                        &quot;stateStr&quot; : &quot;RECOVERING&quot;,&lt;br/&gt;
                        &quot;uptime&quot; : 94556,&lt;br/&gt;
                        &quot;optime&quot; : &lt;/p&gt;
{
                                &quot;t&quot; : 1404918773,
                                &quot;i&quot; : 1
                        }
&lt;p&gt;,&lt;br/&gt;
                        &quot;optimeDate&quot; : ISODate(&quot;2014-07-09T15:12:53Z&quot;),&lt;br/&gt;
                        &quot;self&quot; : true&lt;br/&gt;
                }&lt;br/&gt;
        ],&lt;br/&gt;
        &quot;ok&quot; : 1&lt;br/&gt;
}&lt;/p&gt;



&lt;p&gt;Question: what is the max oplog size we can use for both and should I make them both 131GB or go higher?&lt;/p&gt;</description>
                <environment></environment>
        <key id="146474">SERVER-14523</key>
            <summary>SECONDARY in RECOVERING state after a resync</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="-1">Unassigned</assignee>
                                    <reporter username="shuchappa@utah.gov">Sridhara Huchappa</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Jul 2014 15:38:35 +0000</created>
                <updated>Tue, 16 Nov 2021 16:25:57 +0000</updated>
                            <resolved>Fri, 11 Jul 2014 15:18:40 +0000</resolved>
                                    <version>2.4.4</version>
                                                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="656100" author="ramon.fernandez" created="Fri, 11 Jul 2014 15:18:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sridharah&quot; class=&quot;user-hover&quot; rel=&quot;sridharah&quot;&gt;sridharah&lt;/a&gt;, the &lt;tt&gt;too stale to catch up&lt;/tt&gt; message means your secondary has fallen behind and it&apos;s no longer replicating data. At this point it needs to be re-synced from the primary.&lt;/p&gt;

&lt;p&gt;Note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-users group&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;. A question like this involving more discussion would be best posted on the mongodb-users group.&lt;/p&gt;

&lt;p&gt;Also, please review the &lt;a href=&quot;http://docs.mongodb.org/manual/core/replica-set-oplog/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documentation on the oplog&lt;/a&gt;, and &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/change-oplog-size/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;how to change the oplog size&lt;/a&gt; for more information.&lt;/p&gt;</comment>
                            <comment id="655246" author="shuchappa@utah.gov" created="Thu, 10 Jul 2014 20:56:34 +0000"  >&lt;p&gt;More information from the oplog:&lt;/p&gt;

&lt;p&gt;Thu Jul 10 14:46:45.946 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet not trying to sync from wslermdb01sp:27017, it is vetoed for 8 more seconds&lt;br/&gt;
Thu Jul 10 14:46:45.946 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet not trying to sync from wslermdb01sp:27017, it is vetoed for 8 more seconds&lt;br/&gt;
Thu Jul 10 14:46:50.947 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet not trying to sync from wslermdb01sp:27017, it is vetoed for 3 more seconds&lt;br/&gt;
Thu Jul 10 14:46:50.947 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet not trying to sync from wslermdb01sp:27017, it is vetoed for 3 more seconds&lt;br/&gt;
Thu Jul 10 14:46:54.948 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet syncing to: wslermdb01sp:27017&lt;br/&gt;
Thu Jul 10 14:46:54.951 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet error RS102 too stale to catch up, at least from wslermdb01sp:27017&lt;br/&gt;
Thu Jul 10 14:46:54.951 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet our last optime : Jul  9 09:12:53 53bd5bf5:1&lt;br/&gt;
Thu Jul 10 14:46:54.951 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet oldest at wslermdb01sp:27017 : Jul 10 10:30:15 53bebf97:2&lt;br/&gt;
Thu Jul 10 14:46:54.951 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet See &lt;a href=&quot;http://dochub.mongodb.org/core/resyncingaverystalereplicasetmember&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/resyncingaverystalereplicasetmember&lt;/a&gt;&lt;br/&gt;
Thu Jul 10 14:46:54.951 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet error RS102 too stale to catch up&lt;br/&gt;
Thu Jul 10 14:47:03.793 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn9467&amp;#93;&lt;/span&gt; end connection 172.23.1.245:58571 (5 connections now open)&lt;br/&gt;
Thu Jul 10 14:47:03.794 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 172.23.1.245:58574 #9470 (7 connections now open)&lt;/p&gt;</comment>
                            <comment id="654875" author="shuchappa@utah.gov" created="Thu, 10 Jul 2014 15:44:12 +0000"  >&lt;p&gt;The error message we see in the mongod.log on SECONDARY is :&lt;br/&gt;
Thu Jul 10 01:55:35.189 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet error RS102 too stale to catch up, at least from wslermdb01sp:27017&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Jul 2014 15:18:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 31 weeks, 5 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 31 weeks, 5 days ago
                        </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>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>shuchappa@utah.gov</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlrwn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>126784</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Run reSync operation on a SECONDARY with full-sync after clean-up of data directory.&lt;/p&gt;</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|hsgt3j:</customfieldvalue>

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