<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:35:14 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-77341] cpuload add the time consuming statistics and mongos add cpuload command support</title>
                <link>https://jira.mongodb.org/browse/SERVER-77341</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;perfect befor:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;cpuload command&#65292;the time consuming statistics is not available.&lt;/li&gt;
	&lt;li&gt;cpuload command is not surport in mongos&#65292;Sometimes we need to analyze mongos&apos;s cpu performance.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;img src=&quot;https://jira.mongodb.org/images/icons/attach/noimage.png&quot; imagetext=&quot;image-2023-05-22-16-08-24-278.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://jira.mongodb.org/images/icons/attach/noimage.png&quot; imagetext=&quot;image-2023-05-22-16-09-32-114.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;perfect after:&lt;br/&gt;
&#160; &#160; cpuload add the time consuming statistics and mongos add cpuload command support.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://jira.mongodb.org/images/icons/attach/noimage.png&quot; imagetext=&quot;image-2023-05-22-16-10-40-988.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://jira.mongodb.org/images/icons/attach/noimage.png&quot; imagetext=&quot;image-2023-05-22-16-11-03-873.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2346643">SERVER-77341</key>
            <summary>cpuload add the time consuming statistics and mongos add cpuload command support</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="george.wangensteen@mongodb.com">George Wangensteen</assignee>
                                    <reporter username="1147952115@qq.com">y yz</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 May 2023 08:16:05 +0000</created>
                <updated>Sun, 29 Oct 2023 21:21:09 +0000</updated>
                            <resolved>Fri, 7 Jul 2023 13:23:01 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5549488" author="xgen-internal-githook" created="Fri, 7 Jul 2023 03:25:50 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;3058078489@qq.com&apos;, &apos;email&apos;: &apos;3058078489@qq.com&apos;, &apos;username&apos;: &apos;y123456yz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77341&quot; title=&quot;cpuload add the time consuming statistics and mongos add cpuload command support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77341&quot;&gt;&lt;del&gt;SERVER-77341&lt;/del&gt;&lt;/a&gt; Add cpuload command to mongos and add duration statistics&lt;br/&gt;
to the command&apos;s output&lt;/p&gt;

&lt;p&gt;Closes &lt;a href=&quot;https://github.com/mongodb/mongo/pull/1546&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1546&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Signed-off-by: George Wangensteen &amp;lt;george.wangensteen@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dc55466d246d48f4a82d982b092c153b5dd5490f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dc55466d246d48f4a82d982b092c153b5dd5490f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5535977" author="1147952115@qq.com" created="Fri, 30 Jun 2023 07:31:31 +0000"  >&lt;p&gt;hi,&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=george.wangensteen%40mongodb.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;George Wangensteen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;I have optimized the code according to your comment, thanks&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5534087" author="george.wangensteen" created="Thu, 29 Jun 2023 15:18:04 +0000"  >&lt;p&gt;HI &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=1147952115%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;1147952115@qq.com&quot;&gt;1147952115@qq.com&lt;/a&gt; , thanks for the explanation. I left some small comments on the PR about a change we need to make before we can merge. We can continue the conversation on the PR as we go through code-review. Thanks very much for your contribution; we appreciate it!&#160;&lt;/p&gt;</comment>
                            <comment id="5526663" author="1147952115@qq.com" created="Tue, 27 Jun 2023 03:38:42 +0000"  >&lt;p&gt;hi, &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:george.wangensteen@mongodb.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;george.wangensteen@mongodb.com&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;, thanks for you reply.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Background is as follows:&lt;br/&gt;
1. When we have a new server model arrived, or the same server has upgraded the linux operating system kernel, testers will run tests on these servers, one of which is to perform cpuload analysis on mongos and mongod to confirm performance.&lt;/p&gt;

&lt;p&gt;2. We will not use these services online until test(contain cpuload) are OK, we will use enableTestCommands to start our tests. couload return value increased time statistics can help us to test and analyze server CPU performance.&lt;/p&gt;

&lt;p&gt;3. Since we use different server of mongos and mongod, we need to conduct cpuload analysis on mongos, so mongos also needs to support the cpuload command.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</comment>
                            <comment id="5526136" author="george.wangensteen" created="Mon, 26 Jun 2023 21:14:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=1147952115%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;1147952115@qq.com&quot;&gt;1147952115@qq.com&lt;/a&gt; , thanks for the contribution! I took an initial look at the PR you provided, but before I reviewed it I wanted to clarify the motivations here. Currently, we only use the cpuLoad command as a canary and for noise-analysis during performance testing, to get data on the actual CPU independent of the mongoDB workload. The command is test-only, which means that it can only be run when the server is started-up in &quot;testing-mode&quot; / with &quot;enableTestCommands&quot; parameter set to true. Since this command can&apos;t be run on a production server (i.e. one without testing mode enabled), I&apos;d like to understand the use-case of adding this to mongos and changing the output before reviewing, to make sure this is the best solution for you. Could you tell me your use-case for this change?&lt;/p&gt;

&lt;p&gt;Thanks,&#160;&lt;/p&gt;

&lt;p&gt;George&lt;/p&gt;</comment>
                            <comment id="5443523" author="JIRAUSER1265262" created="Mon, 22 May 2023 20:46:22 +0000"  >&lt;p&gt;Thanks for the pull request, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=1147952115%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;1147952115@qq.com&quot;&gt;1147952115@qq.com&lt;/a&gt;! I&apos;m passing this along to the relevant team to take a look.&lt;/p&gt;</comment>
                            <comment id="5441169" author="1147952115@qq.com" created="Mon, 22 May 2023 08:37:15 +0000"  >&lt;p&gt;this is an improved feature, but Ican not choose &quot;Improvement&quot; button.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/451148/451148_image-2023-05-22-16-37-07-301.png&quot; height=&quot;250&quot; width=&quot;789&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5441136" author="1147952115@qq.com" created="Mon, 22 May 2023 08:20:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/pull/1546&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the perfect code:&#160; https://github.com/mongodb/mongo/pull/1546&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5441135" author="1147952115@qq.com" created="Mon, 22 May 2023 08:19:44 +0000"  >&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/451142/451142_image-2023-05-22-16-18-39-966.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/451143/451143_image-2023-05-22-16-18-54-436.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/451144/451144_image-2023-05-22-16-19-13-373.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/451149/451149_image-2023-05-22-16-38-44-465.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2346639">CDRIVER-4646</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="451142" name="image-2023-05-22-16-18-39-966.png" size="24715" author="1147952115@qq.com" created="Mon, 22 May 2023 08:18:41 +0000"/>
                            <attachment id="451143" name="image-2023-05-22-16-18-54-436.png" size="37165" author="1147952115@qq.com" created="Mon, 22 May 2023 08:18:55 +0000"/>
                            <attachment id="451144" name="image-2023-05-22-16-19-13-373.png" size="23464" author="1147952115@qq.com" created="Mon, 22 May 2023 08:19:14 +0000"/>
                            <attachment id="451145" name="image-2023-05-22-16-19-39-921.png" size="43631" author="1147952115@qq.com" created="Mon, 22 May 2023 08:19:41 +0000"/>
                            <attachment id="451148" name="image-2023-05-22-16-37-07-301.png" size="23124" author="1147952115@qq.com" created="Mon, 22 May 2023 08:37:10 +0000"/>
                            <attachment id="451149" name="image-2023-05-22-16-38-44-465.png" size="48618" author="1147952115@qq.com" created="Mon, 22 May 2023 08:38:46 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></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>Mon, 22 May 2023 20:46:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        30 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            30 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>chris.kelly@mongodb.com</customfieldvalue>
            <customfieldvalue>george.wangensteen@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>1147952115@qq.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2a6rr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1sg00:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7353">Service Arch 2023-07-10</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>
                                    <customfieldvalue><![CDATA[chris.kelly@mongodb.com]]></customfieldvalue>
    

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

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