<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:52:56 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-39727] Allow internal server components to track &quot;real&quot; global lock acquisitions</title>
                <link>https://jira.mongodb.org/browse/SERVER-39727</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;All locks with &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1d6995441c39e5761f923dc7f9be01dd354ec3af/src/mongo/db/concurrency/lock_stats.h#L138&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the same resource type are grouped together&lt;/a&gt; for lock stats reporting. Thus &quot;the&quot; global lock is merged with the PBWM and RSTL.&lt;/p&gt;

&lt;p&gt;The result of this ticket will be to count &quot;real&quot; global lock acquisitions separately (similar to how the oplog is carved out), however server status will continue to return the same results (by summing up the two counters).&lt;/p&gt;</description>
                <environment></environment>
        <key id="702170">SERVER-39727</key>
            <summary>Allow internal server components to track &quot;real&quot; global lock acquisitions</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="daniel.gottlieb@mongodb.com">Daniel Gottlieb</assignee>
                                    <reporter username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2019 19:26:33 +0000</created>
                <updated>Sun, 29 Oct 2023 22:23:45 +0000</updated>
                            <resolved>Tue, 5 Mar 2019 16:58:24 +0000</resolved>
                                                    <fixVersion>4.1.9</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="2171254" author="xgen-internal-githook" created="Tue, 5 Mar 2019 16:58:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Daniel Gottlieb&apos;, &apos;username&apos;: &apos;dgottlieb&apos;, &apos;email&apos;: &apos;daniel.gottlieb@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39727&quot; title=&quot;Allow internal server components to track &amp;quot;real&amp;quot; global lock acquisitions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39727&quot;&gt;&lt;del&gt;SERVER-39727&lt;/del&gt;&lt;/a&gt;: Split out &quot;real&quot; global lock acquitions. Leave serverStatus results unchanged.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bf895a8f816b9bae68eb22f349b45e1d1d5f2da7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bf895a8f816b9bae68eb22f349b45e1d1d5f2da7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2160026" author="thomas.schubert" created="Fri, 22 Feb 2019 18:05:10 +0000"  >&lt;p&gt;Thanks for the clarification!&lt;/p&gt;</comment>
                            <comment id="2159340" author="daniel.gottlieb@10gen.com" created="Fri, 22 Feb 2019 02:07:56 +0000"  >&lt;p&gt;That makes sense, but as discussed offline, the RSTL is not related to flow control. It stands for replication state transition lock and is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/95ded0aae6314c3e4cc18fa45a4d20cbadba19d6/src/mongo/db/concurrency/lock_manager_defs.h#L272-L277&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documented here&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2159037" author="thomas.schubert" created="Thu, 21 Feb 2019 21:06:23 +0000"  >&lt;p&gt;RSTL is a new thing in 4.2, and so the end result of the metric change between 4.0 and 4.2 is what I care about from a supportability perspective. If we don&apos;t change the server status results to break out RSTL, my understanding is that there&apos;ll be a significant difference in the meaning of the metric from 4.0 to 4.2. If we &lt;b&gt;do&lt;/b&gt; make the change, I would expect it to be much easier to follow previous diagnostic procedures. Does that make sense?&lt;/p&gt;</comment>
                            <comment id="2159029" author="daniel.gottlieb@10gen.com" created="Thu, 21 Feb 2019 21:00:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kelsey.schubert&quot; class=&quot;user-hover&quot; rel=&quot;kelsey.schubert&quot;&gt;kelsey.schubert&lt;/a&gt; can you clarify what the downstream impact is? This ticket is not* changing server status results.&lt;/p&gt;</comment>
                            <comment id="2158961" author="daniel.gottlieb@10gen.com" created="Thu, 21 Feb 2019 20:23:10 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I&apos;m not sure that summing them in the metrics is the right thing to do.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I think that perspective is valid. From a code standpoint, my belief is that&apos;s a small bit easier. This proposal however is the least friction way to get at existing data by not proposing an API change. It should be relatively easy to change from one way to the other if other stakeholders feel that&apos;s best.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I&apos;m also concerned that the new RSTL lock seems to be acquired at a non-trivial rate I&apos;m concerned that this may be changing the meaning and diagnostic significant of the globalLock metrics, so it might be better to remove it from globalLock as well.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Myself and others share this concern. I can&apos;t say if the same attention to detail being given to splitting out the locks was given to lock stats&apos; diagnostic potential when deciding to add the RSTL (even if, semantically, it just split off some responsibility the existing global lock was being used for).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I assume also we will be separately tracking acquireWaitCount and timeAcquiringMicros, and not just acquireCount?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Correct.&lt;/p&gt;</comment>
                            <comment id="2158906" author="bruce.lucas@10gen.com" created="Thu, 21 Feb 2019 20:02:00 +0000"  >&lt;p&gt;I&apos;m not sure that summing them in the metrics is the right thing to do. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33792&quot; title=&quot;PBWM accounting should be separate from &amp;quot;Global&amp;quot; lock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33792&quot;&gt;&lt;del&gt;SERVER-33792&lt;/del&gt;&lt;/a&gt; we contemplated removing PBWM from globalLock and reporting it separately. I&apos;m also concerned that the new RSTL lock seems to be acquired at a non-trivial rate I&apos;m concerned that this may be changing the meaning and diagnostic significant of the globalLock metrics, so it might be better to remove it from globalLock as well.&lt;/p&gt;

&lt;p&gt;I assume also we will be separately tracking acquireWaitCount and timeAcquiringMicros, and not just acquireCount?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="700883">SERVER-39673</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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>2.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>Thu, 21 Feb 2019 20:02:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 49 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-763</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>
                            4 years, 49 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huob5j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7c9z:</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="2762">Storage NYC 2019-02-25</customfieldvalue>
    <customfieldvalue id="2763">Storage NYC 2019-03-11</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|hunxev:</customfieldvalue>

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