<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:03:26 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-3575] Stuck replication condition should be made very visible</title>
                <link>https://jira.mongodb.org/browse/SERVER-3575</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A stuck replica condition is only visible to monitoring software by checking for difference of oplog timestamp.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;add a &quot;replication lag&quot; to the table at the top of _replSet might help.&lt;/li&gt;
	&lt;li&gt;the &quot;skew&quot; column in the /_replSet is particularly ambiguous: I was convinced it was the replication lag.&lt;/li&gt;
	&lt;li&gt;In the recent issue we had, the replica sync thread was clearly stuck. It was looping trying to replicate an impossible event. I guess that kind of condition could be detected and reported as part of the rs.status(). The &quot;errMsg&quot; semantic is not completely clear as far as I know (it is not reset by a full resync, for instance) so it is not easy to monitor.&lt;/li&gt;
	&lt;li&gt;What about something like an &quot;acceptable-replica-lag&quot; option on the node ? If the replica is behind a given number of seconds, it would switch to the &quot;RECOVERING&quot; mode. That would also prevent serving stale content.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="20869">SERVER-3575</key>
            <summary>Stuck replication condition should be made very visible</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="kali">Mathieu Poumeyrol</reporter>
                        <labels>
                            <label>replication</label>
                            <label>rn</label>
                    </labels>
                <created>Thu, 11 Aug 2011 08:55:22 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:53 +0000</updated>
                            <resolved>Wed, 22 Feb 2012 19:54:45 +0000</resolved>
                                                    <fixVersion>2.1.1</fixVersion>
                                    <component>Admin</component>
                    <component>Replication</component>
                    <component>Stability</component>
                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="91020" author="kali" created="Wed, 22 Feb 2012 20:35:30 +0000"  >&lt;p&gt;Looks good. Thanks.&lt;/p&gt;</comment>
                            <comment id="90995" author="auto" created="Wed, 22 Feb 2012 19:54:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Clock skew clarifiaction &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3575&quot; title=&quot;Stuck replication condition should be made very visible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3575&quot;&gt;&lt;del&gt;SERVER-3575&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1e51e26a0de6a406a60244197cd0c2d078347a1b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1e51e26a0de6a406a60244197cd0c2d078347a1b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="90994" author="auto" created="Wed, 22 Feb 2012 19:54:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Add lag to _replSet page &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3575&quot; title=&quot;Stuck replication condition should be made very visible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3575&quot;&gt;&lt;del&gt;SERVER-3575&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2eec128d9efac6fa383fbc466ed65c2259a4dd74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2eec128d9efac6fa383fbc466ed65c2259a4dd74&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68030" author="kristina" created="Mon, 21 Nov 2011 20:07:52 +0000"  >&lt;p&gt;Adding lag to /_replSet is very do-able.  &lt;/p&gt;

&lt;p&gt;&amp;gt; In the recent issue we had, the replica sync thread was clearly stuck. It was looping &lt;br/&gt;
&amp;gt; trying to replicate an impossible event. I guess that kind of condition could be detected &lt;br/&gt;
&amp;gt; and reported as part of the rs.status(). The &quot;errMsg&quot; semantic is not completely clear as &lt;br/&gt;
&amp;gt; far as I know (it is not reset by a full resync, for instance) so it is not easy to &lt;br/&gt;
&amp;gt; monitor.&lt;/p&gt;

&lt;p&gt;There should be an error message about it in rs.status().  I&apos;ll look into making it clearer.&lt;/p&gt;

&lt;p&gt;An acceptable-replica-lag option is a bigger request, I&apos;d suggest making a separate feature request ticket for that if it&apos;s something you&apos;d like to see.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 21 Nov 2011 20:07:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years 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>
                            12 years 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>kali</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrou2v:</customfieldvalue>

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

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

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