<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:22:36 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-50418] Add exhaustHello to serverStatus</title>
                <link>https://jira.mongodb.org/browse/SERVER-50418</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Since we&apos;re maintaining separate counters for the ismaster and hello commands via commands.hello and commands.ismaster, we should maintain separate metrics to exhaust ismaster commands vs exhaust hello commands. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1447657">SERVER-50418</key>
            <summary>Add exhaustHello to serverStatus</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="huayu.ouyang@mongodb.com">Huayu Ouyang</assignee>
                                    <reporter username="pavithra.vetriselvan@mongodb.com">Pavithra Vetriselvan</reporter>
                        <labels>
                            <label>bkp</label>
                    </labels>
                <created>Thu, 20 Aug 2020 16:14:45 +0000</created>
                <updated>Sun, 29 Oct 2023 22:04:14 +0000</updated>
                            <resolved>Wed, 30 Sep 2020 20:05:22 +0000</resolved>
                                                    <fixVersion>4.4.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3435419" author="xgen-internal-githook" created="Thu, 8 Oct 2020 19:59:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;huayu-ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50418&quot; title=&quot;Add exhaustHello to serverStatus&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50418&quot;&gt;&lt;del&gt;SERVER-50418&lt;/del&gt;&lt;/a&gt; Add exhaustHello to serverStatus&lt;/p&gt;

&lt;p&gt;(cherry picked from commit f44ef61bcfe5a58fefd3617040fd1cbf0534594d)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4a3557f4532014ed82b00d3ea0419e73d7fa80fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4a3557f4532014ed82b00d3ea0419e73d7fa80fd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3419425" author="xgen-internal-githook" created="Wed, 30 Sep 2020 19:56:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Huayu Ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50418&quot; title=&quot;Add exhaustHello to serverStatus&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50418&quot;&gt;&lt;del&gt;SERVER-50418&lt;/del&gt;&lt;/a&gt;-2 Rename IsMasterMetrics to HelloMetrics and InExhaustIsMaster to InExhaustHello&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f831517ed6ee7e0b866229d45d2149bf23dece60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f831517ed6ee7e0b866229d45d2149bf23dece60&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3416586" author="xgen-internal-githook" created="Tue, 29 Sep 2020 16:43:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Huayu Ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50418&quot; title=&quot;Add exhaustHello to serverStatus&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50418&quot;&gt;&lt;del&gt;SERVER-50418&lt;/del&gt;&lt;/a&gt; wait for all exhaust streams to close before starting tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5ecee573374e0131e3c3454392b2c51694a7f175&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5ecee573374e0131e3c3454392b2c51694a7f175&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3409979" author="xgen-internal-githook" created="Thu, 24 Sep 2020 18:14:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;huayu-ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50418&quot; title=&quot;Add exhaustHello to serverStatus&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50418&quot;&gt;&lt;del&gt;SERVER-50418&lt;/del&gt;&lt;/a&gt; Add exhaustHello to serverStatus&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f44ef61bcfe5a58fefd3617040fd1cbf0534594d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f44ef61bcfe5a58fefd3617040fd1cbf0534594d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3398094" author="pavithra.vetriselvan" created="Wed, 16 Sep 2020 22:04:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=huayu.ouyang&quot; class=&quot;user-hover&quot; rel=&quot;huayu.ouyang&quot;&gt;huayu.ouyang&lt;/a&gt; That plan sounds good to me! While we&apos;re in this code path, we can also change &lt;tt&gt;IsMasterMetrics&lt;/tt&gt; to &lt;tt&gt;HelloMetrics&lt;/tt&gt; and &lt;tt&gt;InExhaustIsMaster&lt;/tt&gt; to &lt;tt&gt;InExhaustHello&lt;/tt&gt;. The renaming can be done in a separate commit on this ticket so that it is distinct from the functional changes. &lt;/p&gt;</comment>
                            <comment id="3398071" author="huayu.ouyang" created="Wed, 16 Sep 2020 21:53:44 +0000"  >&lt;p&gt;For this ticket, I&apos;m planning on adding a field &lt;tt&gt;_exhaustHelloConnections&lt;/tt&gt; and the corresponding &lt;tt&gt;getNumExhaustHello&lt;/tt&gt;, &lt;tt&gt;incrementNumExhaustHello&lt;/tt&gt;, and &lt;tt&gt;decrementNumExhaustHello&lt;/tt&gt; functions&#160;in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/transport/ismaster_metrics.h&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;IsMaster_Metrics&lt;/tt&gt;&lt;/a&gt; to track the number of connections whose last request was &lt;tt&gt;hello&lt;/tt&gt; with &lt;tt&gt;exhaustAllowed.&lt;/tt&gt;&#160;In &lt;a href=&quot;#L87&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;&lt;tt&gt;InExhaustIsMaster::setInExhaustIsMaster&lt;/tt&gt;&lt;/a&gt;, I will add a parameter to see whether the command called was &lt;tt&gt;hello&lt;/tt&gt; or&#160; &lt;tt&gt;isMaster&lt;/tt&gt;, and if the command was &lt;tt&gt;hello&lt;/tt&gt;, I will increment/decrement the number of &lt;tt&gt;_exhaustHelloConnections&lt;/tt&gt; appropriately. I&apos;ll also update calls to &lt;tt&gt;setInExhaustIsMaster&lt;/tt&gt; appropriately with information about which command was called and add &lt;tt&gt;exhaustHello&lt;/tt&gt; as a stat in &lt;a href=&quot;#L263&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;&lt;tt&gt;ServiceEntryPointImpl::appendStats&lt;/tt&gt;&lt;/a&gt;.&#160;&lt;/p&gt;</comment>
                            <comment id="3349720" author="bruce.lucas@10gen.com" created="Thu, 20 Aug 2020 19:08:40 +0000"  >&lt;p&gt;You&apos;re right, I think we only specifically discussed those two in the design, but I agree it does make sense to be consistent. Thanks.&lt;/p&gt;</comment>
                            <comment id="3349694" author="pavithra.vetriselvan" created="Thu, 20 Aug 2020 18:48:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas&quot;&gt;bruce.lucas&lt;/a&gt; Ah, I see your point. I thought we just decided this for commands.hello and commands.ismaster, but I see now that if we&apos;re keeping the commands separate there, we should also have separate counters for exhaustIsMaster and exhaustHello. &lt;/p&gt;

&lt;p&gt;Will update the ticket accordingly!&lt;/p&gt;</comment>
                            <comment id="3349684" author="bruce.lucas@10gen.com" created="Thu, 20 Aug 2020 18:40:28 +0000"  >&lt;p&gt;Shouldn&apos;t this be &lt;em&gt;add&lt;/em&gt; exaustHello, i.e. I thought we were going to maintain separate counters for each alias?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></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>Thu, 20 Aug 2020 18:40:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 17 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1718</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>
                            3 years, 17 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>47.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>huayu.ouyang@mongodb.com</customfieldvalue>
            <customfieldvalue>pavithra.vetriselvan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy1c7b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxnyjj:</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="4248">Repl 2020-09-21</customfieldvalue>
    <customfieldvalue id="4249">Repl 2020-10-05</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy0ygn:</customfieldvalue>

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