<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:56:29 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-62941] Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command</title>
                <link>https://jira.mongodb.org/browse/SERVER-62941</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/5bbadc66ed462aed3cc4f5635c5003da6171c25d/src/mongo/db/ftdc/ftdc_server.cpp#L217-L244&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;commandBuilder&lt;/tt&gt;&lt;/a&gt; of the &lt;tt&gt;FTDCServerStatusCommandCollector&lt;/tt&gt; is creating the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/serverStatus/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;serverStatus&lt;/tt&gt;&lt;/a&gt; command an additional &lt;tt&gt;oplog: 1&lt;/tt&gt; filter should be appended.&lt;/p&gt;

&lt;p&gt;This will include &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a35742f044e3239d88c3fdd23fbe844881db2546/src/mongo/db/repl/replication_info.cpp#L212-L254&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;OplogInfoServerStatus&lt;/tt&gt;&lt;/a&gt; which contains both &lt;tt&gt;earliestOptime&lt;/tt&gt; and &lt;tt&gt;latestOptime&lt;/tt&gt; that could be used to calculate oplog windows in tooling that parses FTDC.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1969865">SERVER-62941</key>
            <summary>Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="gabriel.marks@mongodb.com">Gabriel Marks</assignee>
                                    <reporter username="alex.bevilacqua@mongodb.com">Alex Bevilacqua</reporter>
                        <labels>
                            <label>former-quick-wins</label>
                            <label>ftdc</label>
                    </labels>
                <created>Mon, 24 Jan 2022 21:06:43 +0000</created>
                <updated>Sun, 29 Oct 2023 21:43:42 +0000</updated>
                            <resolved>Tue, 19 Apr 2022 20:13:36 +0000</resolved>
                                                    <fixVersion>6.0.0-rc2</fixVersion>
                    <fixVersion>5.0.9</fixVersion>
                    <fixVersion>4.4.15</fixVersion>
                    <fixVersion>6.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4510683" author="xgen-internal-githook" created="Wed, 27 Apr 2022 17:55:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Gabriel Marks&apos;, &apos;email&apos;: &apos;gabriel.marks@mongodb.com&apos;, &apos;username&apos;: &apos;marksg07&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62941&quot; title=&quot;Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62941&quot;&gt;&lt;del&gt;SERVER-62941&lt;/del&gt;&lt;/a&gt; Add oplog server status to FTDC&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c997350d15e372d75528a1d65694242ed53833ee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c997350d15e372d75528a1d65694242ed53833ee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4510527" author="xgen-internal-githook" created="Wed, 27 Apr 2022 17:14:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Gabriel Marks&apos;, &apos;email&apos;: &apos;gabriel.marks@mongodb.com&apos;, &apos;username&apos;: &apos;marksg07&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62941&quot; title=&quot;Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62941&quot;&gt;&lt;del&gt;SERVER-62941&lt;/del&gt;&lt;/a&gt; Add oplog server status to FTDC&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c3a1283b77ac3852a30c9a5c7069c8b2e3f30a8c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c3a1283b77ac3852a30c9a5c7069c8b2e3f30a8c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4507804" author="xgen-internal-githook" created="Tue, 26 Apr 2022 19:12:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Gabriel Marks&apos;, &apos;email&apos;: &apos;gabriel.marks@mongodb.com&apos;, &apos;username&apos;: &apos;marksg07&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62941&quot; title=&quot;Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62941&quot;&gt;&lt;del&gt;SERVER-62941&lt;/del&gt;&lt;/a&gt; Add oplog server status to FTDC&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/72560925f44955eb39f544df134d83ef271bd0f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/72560925f44955eb39f544df134d83ef271bd0f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4492274" author="xgen-internal-githook" created="Tue, 19 Apr 2022 19:56:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Gabriel Marks&apos;, &apos;email&apos;: &apos;gabriel.marks@mongodb.com&apos;, &apos;username&apos;: &apos;marksg07&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62941&quot; title=&quot;Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62941&quot;&gt;&lt;del&gt;SERVER-62941&lt;/del&gt;&lt;/a&gt; Add oplog server status to FTDC&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6974c916418009e8e10041fe6fc3ee57fed2504b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6974c916418009e8e10041fe6fc3ee57fed2504b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4314663" author="mark.benvenuto" created="Wed, 26 Jan 2022 02:54:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt; It should be okay to just take an intent lock. In FTDC, we try to minimize the chance it will have block for any significant time. We don&apos;t want it to get stuck for seconds at a time for instance. We set various flags to minimize that (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/d2b21149224344ac9ebbed560caeecfa96eeb613/src/mongo/db/ftdc/collector.cpp#L66-L75&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/d2b21149224344ac9ebbed560caeecfa96eeb613/src/mongo/db/ftdc/collector.cpp#L66-L75&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="4312230" author="judah.schvimer" created="Tue, 25 Jan 2022 15:17:00 +0000"  >&lt;p&gt;Here is where we run the &lt;a href=&quot;https://github.com/10gen/mongo/blob/d2b21149224344ac9ebbed560caeecfa96eeb613/src/mongo/db/ftdc/ftdc_mongod.cpp#L112&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;collStats command&lt;/a&gt;. We use &quot;waitForLock: false&quot; which I think means that if we can&apos;t get the lock we just skip it. Doing something like this should be fine. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt;, do you see any problem with this request and taking an intent lock on the oplog during FTDC serverStatus collection?&lt;/p&gt;</comment>
                            <comment id="4312055" author="bruce.lucas@10gen.com" created="Tue, 25 Jan 2022 14:23:45 +0000"  >&lt;p&gt;Currently we include WT storage engine metrics which requires accessing the storage engine, and also collStats for the oplog which also accesses the storage engine and I think takes locks? Would this ticket add any more opportunities for blocking FTDC?&lt;/p&gt;</comment>
                            <comment id="4310573" author="judah.schvimer" created="Mon, 24 Jan 2022 21:12:25 +0000"  >&lt;p&gt;One concern here is that the oplog serverStatus component takes locks and reads from the storage engine. I&apos;m not sure if this is acceptable. &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;, do you have any insight here?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1964279">SERVER-62655</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.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="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 24 Jan 2022 21:12:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 41 weeks 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-2720</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>
                            1 year, 41 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.bevilacqua@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>gabriel.marks@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0hvjr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1pje:</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="5705">Security 2022-04-18</customfieldvalue>
    <customfieldvalue id="5990">Security 2022-05-02</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|i0hhp3:</customfieldvalue>

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