<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:57 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-2434] Filter &quot;db.currentOp()&quot; to remove writebacklisten ops and more</title>
                <link>https://jira.mongodb.org/browse/SERVER-2434</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In a sharded configuration,  db.currentOp() outputs lots of &quot;writebacklisten&quot; operations.&lt;br/&gt;
Because this is only relative to technical behavior, it can make the output less readable for the user.&lt;/p&gt;

&lt;p&gt;The idea is to be able to remove these information, or maybe to let the user giving some criteria :&lt;/p&gt;

&lt;p&gt;&amp;gt; db.currentOp( &lt;/p&gt;
{ active: 1 }
&lt;p&gt; )&lt;br/&gt;
&amp;gt; db.currentOp( { running_secs: { $gt: 60 }} )&lt;br/&gt;
&amp;gt; db.currentOp( &lt;/p&gt;
{ usersQueryOnly: 1 }
&lt;p&gt;)&lt;/p&gt;</description>
                <environment></environment>
        <key id="14353">SERVER-2434</key>
            <summary>Filter &quot;db.currentOp()&quot; to remove writebacklisten ops and more</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="-1">Unassigned</assignee>
                                    <reporter username="adrien">Adrien Mogenet</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jan 2011 22:29:00 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:14 +0000</updated>
                            <resolved>Fri, 22 Feb 2013 17:07:23 +0000</resolved>
                                    <version>1.6.5</version>
                    <version>1.7.0</version>
                    <version>1.7.1</version>
                                                    <component>Sharding</component>
                                        <votes>2</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="273231" author="eliot" created="Fri, 22 Feb 2013 17:07:23 +0000"  >&lt;p&gt;Both of these things are in 2.2.&lt;br/&gt;
You can send a filter to only get a subset.&lt;br/&gt;
And writeback is suppressed &lt;/p&gt;</comment>
                            <comment id="24400" author="eliot" created="Tue, 22 Feb 2011 00:59:37 +0000"  >&lt;p&gt;Undetermined.  So under the right conditions, could last indefinitely.  &lt;/p&gt;</comment>
                            <comment id="24396" author="bwaldvogel" created="Mon, 21 Feb 2011 23:17:25 +0000"  >&lt;p&gt;what is the timeout setting in 1.6.5?&lt;/p&gt;</comment>
                            <comment id="24393" author="eliot" created="Mon, 21 Feb 2011 22:15:25 +0000"  >&lt;p&gt;No, those are just older ones that will timeout.&lt;br/&gt;
We cleaned it up in 1.8 so they&apos;ll go away faster (30 seconds) when a mongos goes down&lt;/p&gt;</comment>
                            <comment id="24392" author="bwaldvogel" created="Mon, 21 Feb 2011 22:09:10 +0000"  >&lt;p&gt;version is 1.6.5, 64bit.&lt;br/&gt;
yes, mongos was restarted&lt;br/&gt;
do you need more info or data?&lt;/p&gt;</comment>
                            <comment id="24391" author="eliot" created="Mon, 21 Feb 2011 22:05:06 +0000"  >&lt;p&gt;@Benedikt what version is that with?  did the mongos restart?&lt;/p&gt;</comment>
                            <comment id="24369" author="bwaldvogel" created="Mon, 21 Feb 2011 15:11:09 +0000"  >&lt;p&gt;Here are the three operations as reported by db.currentOp():&lt;/p&gt;

&lt;p&gt;{ &quot;opid&quot; : 2265 , &quot;active&quot; : true , &quot;waitingForLock&quot; : false , &quot;secs_running&quot; : 423767 , &quot;op&quot; : &quot;query&quot; , &quot;ns&quot; : &quot;?&quot; , &quot;query&quot; : { &quot;writebacklisten&quot; : { &quot;$oid&quot; : &quot;4d5c0787ed2546d099c3030a&quot;}} , &quot;client&quot; : &quot;192.168.236.122:36071&quot; , &quot;desc&quot; : &quot;conn&quot;}&lt;br/&gt;
{ &quot;opid&quot; : 2756 , &quot;active&quot; : true , &quot;waitingForLock&quot; : false , &quot;secs_running&quot; : 423694 , &quot;op&quot; : &quot;query&quot; , &quot;ns&quot; : &quot;?&quot; , &quot;query&quot; : { &quot;writebacklisten&quot; : { &quot;$oid&quot; : &quot;4d5c08fb64e15ac823fb8d15&quot;}} , &quot;client&quot; : &quot;192.168.236.122:51515&quot; , &quot;desc&quot; : &quot;conn&quot;}&lt;br/&gt;
{ &quot;opid&quot; : 42381690 , &quot;active&quot; : true , &quot;waitingForLock&quot; : false , &quot;secs_running&quot; : 266603 , &quot;op&quot; : &quot;query&quot; , &quot;ns&quot; : &quot;?&quot; , &quot;query&quot; : { &quot;writebacklisten&quot; : { &quot;$oid&quot; : &quot;4d5e6ea5954c10c8dc959209&quot;}} , &quot;client&quot; : &quot;192.168.236.122:35827&quot; , &quot;desc&quot; : &quot;conn&quot;}&lt;/p&gt;

&lt;p&gt;I&apos;ve checked the three sockets and noticed that only the last one shows up with &quot;sudo netstat -tulpena | grep ...&quot;&lt;/p&gt;</comment>
                            <comment id="24366" author="eliot" created="Mon, 21 Feb 2011 14:29:28 +0000"  >&lt;p&gt;Can you send the actual output?  A little hard to tell just from that.&lt;/p&gt;</comment>
                            <comment id="24363" author="bwaldvogel" created="Mon, 21 Feb 2011 14:25:10 +0000"  >&lt;p&gt;I have one mongos that has 3 active &quot;writebacklisten&quot; operations to one mongod that are all running since 3 days or more. Is this normal too?&lt;/p&gt;</comment>
                            <comment id="24361" author="eliot" created="Mon, 21 Feb 2011 14:00:00 +0000"  >&lt;p&gt;Those are 100% normal.&lt;br/&gt;
Every mongos has 1 connection doing a writeback operation to every mongod at all times&lt;/p&gt;</comment>
                            <comment id="24360" author="bwaldvogel" created="Mon, 21 Feb 2011 13:45:51 +0000"  >&lt;p&gt;I&apos;m also disturbed by a lot of (active) &quot;writebacklisten&quot; operations.&lt;br/&gt;
What are those operations for and when do they appear/disappear?&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>11.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 Feb 2011 13:45:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 51 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>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, 51 weeks, 5 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adrien</customfieldvalue>
            <customfieldvalue>bwaldvogel</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp7of:</customfieldvalue>

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

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

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