<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:10:34 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-25903] All internal ops are listed as coming from &quot;MongoDB Shell&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-25903</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you run currentOp (the inprog command) and give it the flag to list all ops, even ones that are not &quot;active&quot;, you will see that all internal operations have an appName of &quot;MongoDB Shell&quot;.&lt;/p&gt;

&lt;p&gt;Here is an example:&lt;br/&gt;
&lt;a href=&quot;https://logkeeper.mongodb.org/build/20377e3d59ebcb239f4cb073cd7cefd6/test/57c6eac4be07c434ff040d28#L55396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/build/20377e3d59ebcb239f4cb073cd7cefd6/test/57c6eac4be07c434ff040d28#L55396&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="313158">SERVER-25903</key>
            <summary>All internal ops are listed as coming from &quot;MongoDB Shell&quot;</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="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Aug 2016 17:01:57 +0000</created>
                <updated>Sat, 19 Nov 2016 00:06:28 +0000</updated>
                            <resolved>Thu, 1 Sep 2016 21:25:52 +0000</resolved>
                                    <version>3.3.12</version>
                                    <fixVersion>3.3.14</fixVersion>
                                    <component>Internal Client</component>
                                        <votes>1</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1375110" author="spencer" created="Thu, 1 Sep 2016 21:25:52 +0000"  >&lt;p&gt;Okay, I opened a separate issue, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25939&quot; title=&quot;Missing appName in config server log message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25939&quot;&gt;&lt;del&gt;SERVER-25939&lt;/del&gt;&lt;/a&gt; to track the missing appName in the log message.  Closing this issue out as it does indeed seem like the original issue reported here has been fixed.&lt;/p&gt;</comment>
                            <comment id="1375107" author="spencer" created="Thu, 1 Sep 2016 21:19:53 +0000"  >&lt;p&gt;Okay I see, I didn&apos;t realize that it&apos;s expected that operations run on a mongod by a mongos will share the app name with the mongos operation that initiated the mongod op.  In that case, now I&apos;m confused about the _configsvrAddShard log message that &lt;b&gt;doesn&apos;t&lt;/b&gt; include the shell as the app name.  Seems like they all should.&lt;/p&gt;</comment>
                            <comment id="1375056" author="mark.benvenuto" created="Thu, 1 Sep 2016 20:38:32 +0000"  >&lt;p&gt;That is a user initiated {{_configsvrAddShard }} which was executed by the shell. The app name associated flows through mongos to mongod.&lt;/p&gt;</comment>
                            <comment id="1375028" author="spencer" created="Thu, 1 Sep 2016 20:21:01 +0000"  >&lt;p&gt;Doesn&apos;t look like that fixed the issue with logging, at least not in all cases: &lt;a href=&quot;https://logkeeper.mongodb.org/build/1db4ebc2bf70791b3654fbc8a33e3f57/test/57c88204be07c435af014246#L4498&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/build/1db4ebc2bf70791b3654fbc8a33e3f57/test/57c88204be07c435af014246#L4498&lt;/a&gt;&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;[js_test:add_invalid_shard] 2016-09-01T19:31:32.177+0000 c23261| 2016-09-01T19:31:28.690+0000 I COMMAND  [conn13] command admin.$cmd appName:MongoDB Shell command: _configsvrAddShard { _configsvrAddShard: &quot;ip-10-109-198-31:23260&quot; } numYields:0 reslen:334 locks:{ Global: { acquireCount: { r: 12, w: 6 } }, Database: { acquireCount: { r: 3, w: 5, W: 1 } }, Collection: { acquireCount: { r: 3, w: 2 } }, Metadata: { acquireCount: { w: 4, W: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_command 725ms&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;_configsvrAddShard always comes from a mongos, so it should never be printed with the shell as the app name.&lt;/p&gt;

&lt;p&gt;Interestingly, earlier in that same run there&apos;s a log message of _configsvrAddShard that doesn&apos;t include the shell as the app name: &lt;a href=&quot;https://logkeeper.mongodb.org/build/1db4ebc2bf70791b3654fbc8a33e3f57/test/57c88204be07c435af014246#L3772&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/build/1db4ebc2bf70791b3654fbc8a33e3f57/test/57c88204be07c435af014246#L3772&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1374822" author="xgen-internal-githook" created="Thu, 1 Sep 2016 18:03:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;markbenvenuto&apos;, u&apos;name&apos;: u&apos;Mark Benvenuto&apos;, u&apos;email&apos;: u&apos;mark.benvenuto@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25903&quot; title=&quot;All internal ops are listed as coming from &amp;quot;MongoDB Shell&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25903&quot;&gt;&lt;del&gt;SERVER-25903&lt;/del&gt;&lt;/a&gt; Use correct client in currentop list&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a36409076c3de29c15e497ca3065e775e7369fa3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a36409076c3de29c15e497ca3065e775e7369fa3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1373633" author="milkie" created="Wed, 31 Aug 2016 17:35:20 +0000"  >&lt;p&gt;Indeed, it looks like both the use of the internal C++ client to make network connections between internal nodes, and the use of Client/CurOp pairs with no associated network connection are both affected in the same way.&lt;/p&gt;</comment>
                            <comment id="1373588" author="spencer" created="Wed, 31 Aug 2016 17:07:13 +0000"  >&lt;p&gt;Also affects &lt;a href=&quot;https://logkeeper.mongodb.org/build/b714a95dd20ea04c49dfa2d5c2ae40b3/test/57c61831904130249e06a442#L1059&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;log messages&lt;/a&gt;:&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;[js_test:add_invalid_shard] 2016-08-30T23:36:00.783+0000 c23511| 2016-08-30T23:36:00.779+0000 I COMMAND  [conn12] command admin.$cmd appName:MongoDB Shell command: _configsvrAddShard { _configsvrAddShard: &quot;prefix_testReplSet/ip-10-164-212-90:23515,ip-10-164-212-90:23516&quot; } numYields:0 reslen:466 locks:{ Mutex: { acquireCount: { W: 1 } } } protocol:op_command 19532ms&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="313594">SERVER-25939</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 31 Aug 2016 17:07:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 23 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>
                            7 years, 23 weeks, 6 days 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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjxbj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hspagf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1244">Platforms 2016-09-19</customfieldvalue>

                        </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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

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

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