<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:22:23 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-10141] MongoDB secondary member exception status with error &apos;replSet source for syncing doesn&apos;t seem to be await capable&apos;</title>
                <link>https://jira.mongodb.org/browse/SERVER-10141</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Background:&lt;/p&gt;

&lt;p&gt;1) I installed below 2 rpm packages on CentOS 6.3(Final) 64bits&lt;br/&gt;
   mongo-10gen-2.2.1-mongodb_1.x86_64.rpm&lt;br/&gt;
   mongo-10gen-server-2.2.1-mongodb_1.x86_64.rpm &lt;br/&gt;
2) A replicate Set deploy as followings:&lt;br/&gt;
   Machine1:one primary,one arbiter&lt;br/&gt;
   Machine2:one secondary&lt;br/&gt;
   Set a shard cluster for this replicate set&lt;br/&gt;
3) The network interface of Machine 2(secondary member resided) has been outage for some reason for 2 days(This is likely to casue the machine2 to lose communction with others members). Then I fixed the network issue later.&lt;/p&gt;

&lt;p&gt;Symptom: &lt;/p&gt;

&lt;p&gt;When run rs.status() on mongo primary, find secondary exception status with error message &apos;db exception in producer: 1000 replSet source for syncing doesn&apos;t seem to be await capable &amp;#8211; is it an older version of mongodb?&apos;&lt;/p&gt;

&lt;p&gt;Dump message for details: rs1:PRIMARY&amp;gt; rs.status()&lt;br/&gt;
{&lt;br/&gt;
    &quot;set&quot; : &quot;rs1&quot;,&lt;br/&gt;
    &quot;date&quot; : ISODate(&quot;2013-07-08T10:25:31Z&quot;),&lt;br/&gt;
    &quot;myState&quot; : 1,&lt;br/&gt;
    &quot;members&quot; : [&lt;br/&gt;
            &lt;/p&gt;
{
                    &quot;_id&quot; : 0,
                    &quot;name&quot; : &quot;app1_ss_nc:27017&quot;,
                    &quot;health&quot; : 1,
                    &quot;state&quot; : 2,
                    &quot;stateStr&quot; : &quot;SECONDARY&quot;,
                    &quot;uptime&quot; : 2151,
                    &quot;optime&quot; : Timestamp(1372928780000, 2),
                    &quot;optimeDate&quot; : ISODate(&quot;2013-07-04T09:06:20Z&quot;),
                    &quot;lastHeartbeat&quot; : ISODate(&quot;2013-07-08T10:25:30Z&quot;),
                    &quot;pingMs&quot; : 0,
                    // error
                    &quot;errmsg&quot; : &quot;db exception in producer: 1000 replSet source for syncing doesn&apos;t seem to be await capable -- is it an older version of mongodb?&quot; 
            }
&lt;p&gt;,&lt;br/&gt;
            &lt;/p&gt;
{
                    &quot;_id&quot; : 1,
                    &quot;name&quot; : &quot;app2_ss_nc:27017&quot;,
                    &quot;health&quot; : 1,
                    &quot;state&quot; : 1,
                    &quot;stateStr&quot; : &quot;PRIMARY&quot;,
                    &quot;uptime&quot; : 10543,
                    &quot;optime&quot; : Timestamp(1373277727000, 1),
                    &quot;optimeDate&quot; : ISODate(&quot;2013-07-08T10:02:07Z&quot;),
                    &quot;self&quot; : true
            }
&lt;p&gt;,&lt;/p&gt;
            {
                    &quot;_id&quot; : 2,
                    &quot;name&quot; : &quot;storage_ss_nc:27027&quot;,
                    &quot;health&quot; : 1,
                    &quot;state&quot; : 7,
                    &quot;stateStr&quot; : &quot;ARBITER&quot;,
                    &quot;uptime&quot; : 2409,
                    &quot;lastHeartbeat&quot; : ISODate(&quot;2013-07-08T10:25:30Z&quot;),
                    &quot;pingMs&quot; : 0
            }
&lt;p&gt;    ],&lt;br/&gt;
    &quot;ok&quot; : 1&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;How can I fix this problem?&lt;/p&gt;</description>
                <environment></environment>
        <key id="81664">SERVER-10141</key>
            <summary>MongoDB secondary member exception status with error &apos;replSet source for syncing doesn&apos;t seem to be await capable&apos;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="jameszhou">jameszhou</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Jul 2013 10:07:34 +0000</created>
                <updated>Mon, 11 Jul 2016 17:40:03 +0000</updated>
                            <resolved>Mon, 29 Jul 2013 06:28:34 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="391678" author="jameszhou" created="Tue, 30 Jul 2013 09:58:52 +0000"  >&lt;p&gt;Thanks Stephen for your reference and suggestion.&lt;/p&gt;</comment>
                            <comment id="390730" author="stennie" created="Mon, 29 Jul 2013 06:28:23 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The MongoDB manual includes tutorials for how to &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/resync-replica-set-member/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Resync a Member of a Replica Set&lt;/a&gt; or to &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/deploy-replica-set/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Deploy a Replica Set&lt;/a&gt; if you would like to start from scratch.&lt;/p&gt;

&lt;p&gt;As your questions have been addressed, I&apos;m going to close this issue.&lt;/p&gt;

&lt;p&gt;I would also note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server.&lt;/p&gt;

&lt;p&gt;For MongoDB-related support discussion you should post on the mongodb-users group (&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;http://groups.google.com/group/mongodb-user&lt;/a&gt;) or Stack Overflow.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="378623" author="jameszhou" created="Thu, 11 Jul 2013 04:46:03 +0000"  >&lt;p&gt;Hi Dan,&lt;br/&gt;
   If I can do a full resync from primary to secondary node by copy primary data files to secondary node to restore? I want to retain data in mongodb...&lt;br/&gt;
   On the other hand, I am newbie and how can I re-create my replica set from scratch using the data from primary node,please give me a simple sample.&lt;br/&gt;
   Thanks for millions!&lt;/p&gt;</comment>
                            <comment id="378619" author="dan@10gen.com" created="Thu, 11 Jul 2013 04:38:15 +0000"  >&lt;p&gt;it&apos;s not possible to reconstruct exactly what happened to this set based on those log snippets.&lt;/p&gt;

&lt;p&gt;It is clear from those messages though that your oplog is no longer valid.  See:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Jul 11 11:17:54 [conn32885] query local.oplog.rs query: { ts: { $gte: new Date(5896684209837178882) } } ntoreturn:0 keyUpdates:0 exception: BSONElement: bad type 98 code:10320 numYields: 2104 locks(micros) r:231828 reslen:70 118ms&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Your best bet at this point might be to re-create your replica set from scratch using the data from your primary node.&lt;/p&gt;</comment>
                            <comment id="378596" author="jameszhou" created="Thu, 11 Jul 2013 03:36:55 +0000"  >&lt;p&gt;Error Message Attached&lt;/p&gt;</comment>
                            <comment id="378595" author="jameszhou" created="Thu, 11 Jul 2013 03:34:34 +0000"  >&lt;p&gt;Thanks Dan for your reply!&lt;/p&gt;

&lt;p&gt;I checked the primary log and grip a snippet of logs as per your suggestion. Attached it.Hopefully, I can get sort of fix solution.Thanks again!&lt;/p&gt;</comment>
                            <comment id="377780" author="dan@10gen.com" created="Wed, 10 Jul 2013 04:58:43 +0000"  >&lt;p&gt;This indicates there is something wrong with querying the oplog on the primary &amp;#8211; there could be a couple different reasons.  Can you check your primary log file to see if there are any messages indicating a problem or compress and post your log files to this ticket?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="28808" name="Error Messages.txt" size="10512" author="jameszhou" created="Thu, 11 Jul 2013 03:36:55 +0000"/>
                    </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>Wed, 10 Jul 2013 04:58:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 29 weeks, 1 day 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>
                            10 years, 29 weeks, 1 day 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>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>jameszhou</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmnvr:</customfieldvalue>

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

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

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