<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00: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-2578] Replica Set Sync (rs_sync) operation not closing correctly</title>
                <link>https://jira.mongodb.org/browse/SERVER-2578</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The basic premise: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;We&apos;re finding useless operations in the db.currentOp() when using replica sets.&lt;/li&gt;
	&lt;li&gt;The useless ops are in the secondary nodes.&lt;/li&gt;
	&lt;li&gt;The useless ops appear to be tied to &quot;Replica Set Syncing&quot;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Problems:&lt;br/&gt;
 0. The useless ops exist.&lt;br/&gt;
 1. The useless ops are &quot;un-killable&quot;. However, bouncing mongod seems to make them go away.&lt;br/&gt;
 2.  When a replica does a complete re-sync, the useless op contains a seconds running. &lt;/p&gt;

&lt;p&gt;#2 causes issues when watching for long running queries.&lt;/p&gt;

&lt;p&gt;Reproduction:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;See attachment&lt;/li&gt;
	&lt;li&gt;Reproducing is really as simple as forcing a re-sync on a dead node (stop mongod, delete data, re-start)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Ubuntu</environment>
        <key id="14784">SERVER-2578</key>
            <summary>Replica Set Sync (rs_sync) operation not closing correctly</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="gatesvp">Gaetan Voyer-Perrault</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Feb 2011 19:05:39 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:05 +0000</updated>
                            <resolved>Mon, 28 Feb 2011 15:45:00 +0000</resolved>
                                    <version>1.6.5</version>
                    <version>1.7.5</version>
                    <version>1.7.6</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="105014" author="jasonmccay" created="Fri, 30 Mar 2012 00:33:31 +0000"  >&lt;p&gt;Just noticed this with one of our replica sets ... M1.Larges on AWS running MongoDB 2.0.3rc1. Very little activity on the primary ... no activity on the secondary and the secondary showing as being roughly seven hours behind.&lt;/p&gt;

&lt;p&gt;Here is the (lone) current Op we are seeing:&lt;br/&gt;
&lt;a href=&quot;http://cl.ly/100O2O1A0K340x292x3S&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://cl.ly/100O2O1A0K340x292x3S&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Similar to the experiences above, the op cannot be killed, so we are going to freeze the secondary and bounce the primary.&lt;/p&gt;

&lt;p&gt;I know this is an old ticket, but I found this information via Google and it seemed to match what was described in this ticket. Since these databases are running a recent version of MongoDB, I felt it was relevant to include the info.&lt;/p&gt;

</comment>
                            <comment id="50734" author="kristina" created="Thu, 25 Aug 2011 16:55:09 +0000"  >&lt;p&gt;Yes, it was not backported to the 1.8 branch.  It will be in 2.0.&lt;/p&gt;</comment>
                            <comment id="50733" author="cgiatras" created="Thu, 25 Aug 2011 16:49:32 +0000"  >&lt;p&gt;Does this also affect Version 1.8.3? We have same symptoms as &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/cbd8ddd130b347e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/cbd8ddd130b347e2&lt;/a&gt; . This is causing problems with our Nagios and Long running ops which becomes useless with this bug.&lt;/p&gt;

&lt;p&gt;thank you&lt;/p&gt;

&lt;p&gt;kosta&lt;/p&gt;</comment>
                            <comment id="24712" author="auto" created="Fri, 25 Feb 2011 21:44:47 +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: finish curop in helpers &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2578&quot; title=&quot;Replica Set Sync (rs_sync) operation not closing correctly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2578&quot;&gt;&lt;del&gt;SERVER-2578&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/97d4c5c7effb0c5fdf3c87affbba4ad6d6d2d077&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/97d4c5c7effb0c5fdf3c87affbba4ad6d6d2d077&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24694" author="eliot" created="Fri, 25 Feb 2011 19:23:05 +0000"  >&lt;p&gt;kristina put the fix in master, put a comment here when its done and we can look at patch.&lt;br/&gt;
that should be the general procedure&lt;/p&gt;</comment>
                            <comment id="24685" author="kristina" created="Fri, 25 Feb 2011 18:16:16 +0000"  >&lt;p&gt;The Helpers::putSingleton method is not calling done() on the current op.  Should the fix go into 1.8.0 or wait?&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>
                            <attachment id="10846" name="test_repl_set_bad_op.sh" size="3167" author="gatesvp" created="Thu, 17 Feb 2011 19:05:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 Feb 2011 18:16:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 46 weeks, 6 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 46 weeks, 6 days 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>gatesvp</customfieldvalue>
            <customfieldvalue>jasonmccay</customfieldvalue>
            <customfieldvalue>cgiatras</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp5un:</customfieldvalue>

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

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

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