<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:20:25 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-29290] Report all current configuration options for mongod, including those set dynamically</title>
                <link>https://jira.mongodb.org/browse/SERVER-29290</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Would like a command that reports the &lt;b&gt;current&lt;/b&gt; settings for all configuration options &amp;#8211; including dynamic settings, hidden parameters, and internal storage-engine options &amp;#8211; in the &lt;tt&gt;mongod&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;This could be part of &lt;tt&gt;serverStatus()&lt;/tt&gt; or a new command.&lt;/p&gt;

&lt;p&gt;The aim is to provide a simple and reliable way to see the current settings for all parameters, including those settable with commands like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;db.adminCommand({&lt;br/&gt;
   &quot;setParameter&quot;: 1,&lt;br/&gt;
   &quot;wiredTigerEngineRuntimeConfig&quot;: &quot;&amp;lt;option&amp;gt;=&amp;lt;setting&amp;gt;,&amp;lt;option&amp;gt;=&amp;lt;setting&amp;gt;&quot;&lt;br/&gt;
})&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="384922">SERVER-29290</key>
            <summary>Report all current configuration options for mongod, including those set dynamically</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-security">Backlog - Security Team</assignee>
                                    <reporter username="mark.brinsmead@mongodb.com">Mark Brinsmead</reporter>
                        <labels>
                            <label>SWDI</label>
                    </labels>
                <created>Thu, 18 May 2017 23:36:30 +0000</created>
                <updated>Mon, 20 Nov 2023 20:39:30 +0000</updated>
                                                                            <component>Diagnostics</component>
                    <component>Logging</component>
                                        <votes>1</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="1836262" author="matt.lord" created="Fri, 16 Mar 2018 13:16:00 +0000"  >&lt;p&gt;I would like to see this information stored in FTDC to begin with. Then diagnostic data and changes in system behavior can be easily correlated with configuration changes. For example, the diagnostic data you&apos;re examining to understand MongoDB behavior (e.g. a big drop in QPS or a big spike in the RSS for mongod) may make much more sense when you see that someone modified some critical server parameter(s). &lt;/p&gt;</comment>
                            <comment id="1575501" author="mark.brinsmead" created="Fri, 19 May 2017 15:52:51 +0000"  >&lt;p&gt;Yes.  The goal here is to have a complete description of &lt;b&gt;all&lt;/b&gt; configuration settings in force at this moment in time.&lt;/p&gt;

&lt;p&gt;Capturing it all in FTDC is great.  Ultimately, we&apos;d be happy to have it recorded in the logfile periodically. (But FTDC is better &amp;#8211; fewer customers balk at providing that.)  Logfiles, however, are more useful to the customer, who may want this data for their own purposes, as most end-users will find FTDC data hard to use.  Recording said data is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29291&quot; title=&quot;Periodically record all active configuration settings in the mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29291&quot;&gt;SERVER-29291&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1575079" author="kevin.pulo@10gen.com" created="Fri, 19 May 2017 02:19:11 +0000"  >&lt;p&gt;So I guess that the emphasis on &quot;current&quot; means that &lt;tt&gt;db.serverCmdLineOpt()&lt;/tt&gt; (aka &lt;tt&gt;db.adminCommand(&quot;getCmdLineOpts&quot;)&lt;/tt&gt;) is insufficient.  But &lt;tt&gt;db.adminCommand({ getParameter: &quot;*&quot; })&lt;/tt&gt; can be used to list all parameters and their current values.  Are these two combined sufficient?  If not, can you explain in more detail what else is desired?&lt;/p&gt;

&lt;p&gt;The thing with &lt;tt&gt;getParameter&lt;/tt&gt; of &lt;tt&gt;wiredTigerEngineRuntimeConfig&lt;/tt&gt; always reporting an empty string is a known issue tracked in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19483&quot; title=&quot;Allow querying wiredTigerEngineRuntimeConfig via getParameter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19483&quot;&gt;&lt;del&gt;SERVER-19483&lt;/del&gt;&lt;/a&gt;.  I&apos;m not aware of any other parameters which similarly don&apos;t report properly; have you encountered any?&lt;/p&gt;

&lt;p&gt;FTDC already grabs &lt;tt&gt;getCmdLineOpts&lt;/tt&gt; (and &lt;tt&gt;buildInfo&lt;/tt&gt; and &lt;tt&gt;hostInfo&lt;/tt&gt;) at least once per metrics file (maybe more).  Would it be useful if it also grabbed &lt;tt&gt;getParameter: &quot;*&quot;&lt;/tt&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="384923">SERVER-29291</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="217500">SERVER-19483</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>3.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25129"><![CDATA[Server Security]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 19 May 2017 02:19:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 47 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_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>judah.schvimer@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 47 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-security</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.brinsmead@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.lord</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjrhb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9hpb:</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="2631">Security 2018-12-03</customfieldvalue>

                        </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|ht49nb:</customfieldvalue>

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