<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:09:04 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-67795] Add serverstatus tracking to know how many users use updateMany and DeleteMany</title>
                <link>https://jira.mongodb.org/browse/SERVER-67795</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Before we do updateMany without shard key, we would like to see if we can constrain the problem space.&lt;/p&gt;

&lt;p&gt;We need to know how many users are using updateMany and DeleteMany across replica sets and sharded clusters. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2083221">SERVER-67795</key>
            <summary>Add serverstatus tracking to know how many users use updateMany and DeleteMany</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="adi.zaimi@mongodb.com">Adi Zaimi</assignee>
                                    <reporter username="garaudy.etienne@mongodb.com">Garaudy Etienne</reporter>
                        <labels>
                            <label>sharding-nyc-subteam3</label>
                    </labels>
                <created>Tue, 5 Jul 2022 20:50:46 +0000</created>
                <updated>Sun, 29 Oct 2023 21:36:00 +0000</updated>
                            <resolved>Mon, 10 Oct 2022 15:28:48 +0000</resolved>
                                                    <fixVersion>6.1.1</fixVersion>
                    <fixVersion>4.4.19</fixVersion>
                    <fixVersion>5.0.14</fixVersion>
                    <fixVersion>6.0.4</fixVersion>
                    <fixVersion>6.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="5357614" author="xgen-internal-githook" created="Wed, 19 Apr 2023 00:12:39 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72815&quot; title=&quot;Extend serverstatus to track Document count and Duration for updateMany and deleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72815&quot;&gt;&lt;del&gt;SERVER-72815&lt;/del&gt;&lt;/a&gt;: Track document count and duration for updateMany and deleteMany calls (v4.4)&lt;/p&gt;

&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt; we added serverstatus tracking to report number of times&lt;br/&gt;
updateMany and DeleteMany is called. We need to extend that tracking to&lt;br/&gt;
include number of documents updated/deleted from those commands&lt;br/&gt;
(cumulative and Max documents per call), as well as the time duration of&lt;br/&gt;
the commands (cumulative and Max duration per call). Extended the test&lt;br/&gt;
to verify correct behavior for these counters.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1562e66daf917f5eb43a2b410541aa94c2f396c6)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3f02daf00ec30b0959a9edb82ad85ef53e7d8399&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3f02daf00ec30b0959a9edb82ad85ef53e7d8399&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5122294" author="xgen-internal-githook" created="Wed, 18 Jan 2023 22:00:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt;: Add serverstatus counters for updateMany, deleteMany calls(v4.4)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02502cf9ba7cafdfcbef7810991b3cdc8ba08c4c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02502cf9ba7cafdfcbef7810991b3cdc8ba08c4c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4972378" author="xgen-internal-githook" created="Thu, 10 Nov 2022 21:22:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt;: Add serverstatus counters for updateMany, deleteMany calls(6.1)&lt;br/&gt;
Branch: v6.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/553067485afc74087de94ef11298a02298524fae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/553067485afc74087de94ef11298a02298524fae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4965471" author="xgen-internal-githook" created="Wed, 9 Nov 2022 00:36:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt;: Add serverstatus counters for updateMany, deleteMany calls (v6.0)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/96352a08d339f7f86e3b1365b834145ce5ad08e5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/96352a08d339f7f86e3b1365b834145ce5ad08e5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4958122" author="xgen-internal-githook" created="Mon, 7 Nov 2022 02:29:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt;: Add serverstatus counters for updateMany, deleteMany calls(v5.0)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/da03719499bac3cfa1888ee1fd517ac30a738cba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/da03719499bac3cfa1888ee1fd517ac30a738cba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4883596" author="xgen-internal-githook" created="Thu, 6 Oct 2022 17:17:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Adi Zaimi&apos;, &apos;email&apos;: &apos;adizaimi@yahoo.com&apos;, &apos;username&apos;: &apos;adizaimi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67795&quot; title=&quot;Add serverstatus tracking to know how many users use updateMany and DeleteMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67795&quot;&gt;&lt;del&gt;SERVER-67795&lt;/del&gt;&lt;/a&gt;: Add serverstatus counters for updateMany, deleteMany calls&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2dbbbfeae172ca5f0ed13b0d72ea4d45db58e738&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2dbbbfeae172ca5f0ed13b0d72ea4d45db58e738&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4849466" author="JIRAUSER1261874" created="Thu, 22 Sep 2022 19:33:38 +0000"  >&lt;p&gt;I resolved to have only two variables reported, updateManyCount and deleteManyCount &#160;(rather than four &#8211; we don&apos;t need to have separate named variables for sharded vs replicaSet).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2232135">SERVER-72815</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>7.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="24444"><![CDATA[v6.1]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <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, 22 Sep 2022 19:33:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        42 weeks, 1 day 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>
                            42 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adi.zaimi@mongodb.com</customfieldvalue>
            <customfieldvalue>garaudy.etienne@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i113on:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huqbtm:k</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="6344">Sharding 2022-07-25</customfieldvalue>
    <customfieldvalue id="6345">Sharding 2022-08-08</customfieldvalue>
    <customfieldvalue id="6346">Sharding 2022-08-22</customfieldvalue>
    <customfieldvalue id="6347">Sharding 2022-09-05</customfieldvalue>
    <customfieldvalue id="6348">Sharding 2022-09-19</customfieldvalue>
    <customfieldvalue id="6349">Sharding 2022-10-03</customfieldvalue>
    <customfieldvalue id="6350">Sharding 2022-10-17</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|i10ptz:</customfieldvalue>

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