<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:22 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-38239] Define and Implement getOperationStatistics of storage interface</title>
                <link>https://jira.mongodb.org/browse/SERVER-38239</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To define a storage interface for getOperationStatistics method.&lt;br/&gt;
 To implement this interface for WiredTiger storage engine.&lt;/p&gt;

&lt;p&gt;Suggestion:&lt;br/&gt;
 ------------&lt;br/&gt;
 1. Storage interface could be RecoveryUnit::getOperationStatistics(bool reset)&lt;br/&gt;
 2. WiredTiger method could be WiredTigerRecoveryUnit::getOperationStatistics(bool reset).&lt;/p&gt;

&lt;p&gt;WiredTiger implementation will open a session statistics cursor, fetches the statistics from WiredTiger session and returns them as a BSON object.&lt;/p&gt;

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

&lt;p&gt;Whether this will return the BSON object if any of the statistics is zero ? need to be discussed with NY.&lt;/p&gt;</description>
                <environment></environment>
        <key id="638065">SERVER-38239</key>
            <summary>Define and Implement getOperationStatistics of storage interface</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="neha.khatri">Neha Khatri</assignee>
                                    <reporter username="vamsi.krishna@mongodb.com">Vamsi Boyapati</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Nov 2018 03:21:07 +0000</created>
                <updated>Sun, 29 Oct 2023 22:26:23 +0000</updated>
                            <resolved>Mon, 17 Dec 2018 05:50:34 +0000</resolved>
                                                    <fixVersion>4.0.9</fixVersion>
                    <fixVersion>4.1.7</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2200023" author="xgen-internal-githook" created="Wed, 3 Apr 2019 00:32:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;sulabh.mahajan@mongodb.com&apos;, &apos;name&apos;: &apos;Sulabh Mahajan&apos;, &apos;username&apos;: &apos;sulabhM&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38239&quot; title=&quot;Define and Implement getOperationStatistics of storage interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38239&quot;&gt;&lt;del&gt;SERVER-38239&lt;/del&gt;&lt;/a&gt; Added getOperationStatistics() API to fetch storage stats from WiredTiger&lt;/p&gt;

&lt;p&gt;(cherry picked from commit ba3894493a94ed3c18458f391ff181d57475f010)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38240&quot; title=&quot;Extend OpDebug object to support storage statistics &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38240&quot;&gt;&lt;del&gt;SERVER-38240&lt;/del&gt;&lt;/a&gt; Added storage statistics information into the slowop log messages.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 86b6aca9fa1940e85bba87261d1494ef2c208a4a)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38240&quot; title=&quot;Extend OpDebug object to support storage statistics &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38240&quot;&gt;&lt;del&gt;SERVER-38240&lt;/del&gt;&lt;/a&gt; work around uint64_t conversion on s390x in WiredTigerOperationStats::fetchStats()&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 82161eec79fc74652dc07b1c83fe500dc4f95e79)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38243&quot; title=&quot;Test session storage statistics are part of slow operation report&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38243&quot;&gt;&lt;del&gt;SERVER-38243&lt;/del&gt;&lt;/a&gt; Test presence of the storage stats in slowop logs and system.profile.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 3b4c6a689a3fdaa923d427ae112ea599513ef8ce)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39026&quot; title=&quot;Use correct type for retrieving WiredTiger statistics&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39026&quot;&gt;&lt;del&gt;SERVER-39026&lt;/del&gt;&lt;/a&gt; Use correct type for retrieving WiredTiger stats&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 6a9a5855048df1f4796a4032276d01318c398691)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39488&quot; title=&quot;Test does not see the storage statistics in the profiled output .&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39488&quot;&gt;&lt;del&gt;SERVER-39488&lt;/del&gt;&lt;/a&gt; Look for storage stats in the find command&apos;s profiled entry.&lt;/p&gt;

&lt;p&gt;The find command will always have the storage stats because the&lt;br/&gt;
test has created a collection with btree spanning multiple pages. Scanning&lt;br/&gt;
this collection after a server restart will trigger read from the disk&lt;br/&gt;
and have the disk read stats.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 6125b5fb078a316854f0299b96b7d16eacb944de)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39361&quot; title=&quot;Synchronise collecting storage engine stats with shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39361&quot;&gt;&lt;del&gt;SERVER-39361&lt;/del&gt;&lt;/a&gt; Synchronise collecting storage engine stats with shutdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit bacb6b67706a2c057fcd0f76a38f416b225aa69a)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39061&quot; title=&quot;Fix the wt_operation_stats test to wait for the operation log to appear &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39061&quot;&gt;&lt;del&gt;SERVER-39061&lt;/del&gt;&lt;/a&gt; Fix the wt_operation_stats test to wait for the operation log to appear.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 371197e4bab715a83272a4472e118ee5c5cbbf7c)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39934&quot; title=&quot;CurOp::completeAndLogOperation should not hang waiting for global lock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39934&quot;&gt;&lt;del&gt;SERVER-39934&lt;/del&gt;&lt;/a&gt; Fix locking for slow ops storage stats&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39654&quot; title=&quot;Storage statistics not logged for a slow transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39654&quot;&gt;&lt;del&gt;SERVER-39654&lt;/del&gt;&lt;/a&gt; Make slow ops storage stats work with transactions&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 23ca771f76f85638f23bca2a4a6ac196a81fdc21)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/57edce7396271531dde4499458b22c9cde1f03d4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/57edce7396271531dde4499458b22c9cde1f03d4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2192804" author="xgen-internal-githook" created="Wed, 27 Mar 2019 05:00:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;neha.khatri@mongodb.com&apos;, &apos;name&apos;: &apos;nehakhatri5&apos;, &apos;username&apos;: &apos;nehakhatri5&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38239&quot; title=&quot;Define and Implement getOperationStatistics of storage interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38239&quot;&gt;&lt;del&gt;SERVER-38239&lt;/del&gt;&lt;/a&gt; Added getOperationStatistics() API to fetch storage stats from WiredTiger&lt;/p&gt;

&lt;p&gt;(cherry picked from commit ba3894493a94ed3c18458f391ff181d57475f010)&lt;br/&gt;
Branch: slow-ops-backport&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/097c20d21c6e735f179bd14eb30d963d5f2a7a82&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/097c20d21c6e735f179bd14eb30d963d5f2a7a82&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2092098" author="xgen-internal-githook" created="Mon, 17 Dec 2018 05:38:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;nehakhatri5&apos;, &apos;email&apos;: &apos;neha.khatri@mongodb.com&apos;, &apos;name&apos;: &apos;nehakhatri5&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38239&quot; title=&quot;Define and Implement getOperationStatistics of storage interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38239&quot;&gt;&lt;del&gt;SERVER-38239&lt;/del&gt;&lt;/a&gt; Added getOperationStatistics() API to fetch storage stats from WiredTiger&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ba3894493a94ed3c18458f391ff181d57475f010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ba3894493a94ed3c18458f391ff181d57475f010&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2079475" author="neha.khatri" created="Tue, 4 Dec 2018 05:07:00 +0000"  >&lt;p&gt;I agree &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt;. At times it would be useful to know if a particular stat was 0. WiredTiger function would return a BSON object even if the stat was 0.&lt;/p&gt;</comment>
                            <comment id="2077286" author="milkie" created="Fri, 30 Nov 2018 20:42:51 +0000"  >&lt;p&gt;Wouldn&apos;t it make the code more complicated if the function sometimes didn&apos;t return a BSON object?  Also, wouldn&apos;t the fact that a particular stat was 0 itself be interesting?  I would presume a user reading the stats would like to be explicitly told that something was 0.&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">
                                        <issuelink>
            <issuekey id="638066">SERVER-38240</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>5.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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.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>Fri, 30 Nov 2018 20:42:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 45 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-1071</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, 45 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>neha.khatri</customfieldvalue>
            <customfieldvalue>vamsi.krishna@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hudllj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8ffj:</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="2676">Storage Engines 2018-12-17</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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|hud7uv:</customfieldvalue>

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