<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04: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-33964] Replica set&#8216;&#8217;s  secondary memeber&apos;s optimeData sometimes does not update</title>
                <link>https://jira.mongodb.org/browse/SERVER-33964</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have a replica set deployed, Primary, Secondary, Arbiter.&lt;br/&gt;
and secondary server is deployed in an unstable server,  sometimes, if the secondary server is  stuck and down, . after the unstable server and mongo is resumed automatically, the optimeData(data)  is no longer to sync Primary&apos;s optimeData(data), and the secondary mongo&apos;s all status looks good.&lt;br/&gt;
please find attached log on secondary server, and rs.status&lt;/p&gt;</description>
                <environment></environment>
        <key id="513224">SERVER-33964</key>
            <summary>Replica set&#8216;&#8217;s  secondary memeber&apos;s optimeData sometimes does not update</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="kenyang001">ken</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Mar 2018 05:00:40 +0000</created>
                <updated>Mon, 23 Apr 2018 21:59:54 +0000</updated>
                            <resolved>Tue, 27 Mar 2018 04:42:57 +0000</resolved>
                                    <version>3.4.13</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1846104" author="thomas.schubert" created="Tue, 27 Mar 2018 04:42:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kenyang001&quot; class=&quot;user-hover&quot; rel=&quot;kenyang001&quot;&gt;kenyang001&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Examining the logs, I see that there was significant network connectivity issues starting at around 2018-03-25T19:09 UTC, which were resolved around 2018-03-26T01:23 UTC. However, the last optime appears in the middle of this issue at 2018-03-25T21:50 UTC. This indicates to me that most likely the secondary is successfully applying operations replicated from the primary since the event, but has not yet fully caught up to the primary following the network connectivity problems.&lt;/p&gt;

&lt;p&gt;I see log lines like:&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;[NetworkInterfaceASIO-Replication-0] Failed to connect to a_domain_address:27018 - HostUnreachable: No route to host&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;Consequently, my advice would be to work to stabilize this host/network.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1846076" author="kenyang001" created="Tue, 27 Mar 2018 02:56:44 +0000"  >&lt;p&gt;@Ramon Fernandez   logs attached. please help have a look? thanks.&lt;/p&gt;</comment>
                            <comment id="1844651" author="kenyang001" created="Mon, 26 Mar 2018 02:57:38 +0000"  >&lt;p&gt;Hi Ramon,&lt;/p&gt;

&lt;p&gt;it happens again, and i uploaded required attachments, please kindly help check it? thanks.&lt;/p&gt;</comment>
                            <comment id="1839143" author="kenyang001" created="Tue, 20 Mar 2018 02:45:42 +0000"  >&lt;p&gt;Hi Ramon,&lt;/p&gt;

&lt;p&gt;thanks for your feedback , i will upload requested information once it happens again. i think it will happen in 2 days again, and i will upload it at that time. thanks.&lt;/p&gt;</comment>
                            <comment id="1838079" author="ramon.fernandez" created="Mon, 19 Mar 2018 12:19:51 +0000"  >&lt;p&gt;From the data you provided, it seems this secondary node can&apos;t establish a reliable connection to the primary to sync. If you can upload the full output of &lt;tt&gt;rs.status()&lt;/tt&gt; and &lt;tt&gt;rs.printSlaveReplicationInfo()&lt;/tt&gt; as well as full logs for the primary and secondary we may be able to tell more.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="182645" name="primary.log" size="12661208" author="kenyang001" created="Mon, 26 Mar 2018 02:53:34 +0000"/>
                            <attachment id="182646" name="rs.printSlaveReplicationInfo.JPG" size="18382" author="kenyang001" created="Mon, 26 Mar 2018 02:52:01 +0000"/>
                            <attachment id="182647" name="rs.status1.JPG" size="78679" author="kenyang001" created="Mon, 26 Mar 2018 02:52:02 +0000"/>
                            <attachment id="182648" name="rs.status2.JPG" size="93809" author="kenyang001" created="Mon, 26 Mar 2018 02:52:03 +0000"/>
                            <attachment id="182649" name="secondary.log" size="37974664" author="kenyang001" created="Mon, 26 Mar 2018 02:55:43 +0000"/>
                    </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>Mon, 19 Mar 2018 12:19:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 46 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>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 46 weeks, 1 day 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>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>kenyang001</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htszdj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htslkv:</customfieldvalue>

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