<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:42:11 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-36150] Improved Default Config File Handling</title>
                <link>https://jira.mongodb.org/browse/SERVER-36150</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Today a command-line value for &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;-f|--config&amp;#93;&lt;/span&gt;&lt;/tt&gt; &lt;b&gt;must&lt;/b&gt; be passed to the mongod binary as there are no built-in default config files used.&lt;/p&gt;

&lt;p&gt;We minimize the pain today for Linux users within our packaging by specifying a default config file of &lt;tt&gt;/etc/mongod.conf&lt;/tt&gt; in the sysvinit script / systemd unit file (e.g. &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Red Hat&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;AFAICT, we offer no such help on Windows or macOS &#8211; and those are the platforms where the users are most likely to need the help as:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;On average they probably aren&apos;t as likely to have very extensive sysadmin experience and prefer to use OS level service management&#160;&lt;/li&gt;
	&lt;li&gt;Modifying the command-line parameters used for the service isn&apos;t obvious, especially for macOS
	&lt;ol&gt;
		&lt;li&gt;Windows: use &lt;tt&gt;sc.exe&lt;/tt&gt; (command-line) or &lt;tt&gt;services.exe&lt;/tt&gt; (GUI) to edit the start parameters for the mongodb service&#160;&lt;/li&gt;
		&lt;li&gt;macOS: use &lt;tt&gt;launchctl&lt;/tt&gt; or $EDITOR to manage the&#160;ProgramArguments array in the mongodb service&apos;s .plist file&#160;&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;So this creates a painful situation for users just getting started, as they are likely to want to use a config file precisely &lt;em&gt;because&lt;/em&gt; they&apos;re not comfortable managing the mongod process directly and passing command-line arguments, yet we &lt;em&gt;force&lt;/em&gt; them to go to this level just to enable config file use (bit of a catch-22)&#160;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The end result is a lower quality user experience which violates our otherwise great user story around easily getting MongoDB up and running.&lt;/p&gt;

&lt;p&gt;It would be great if we could improve this user experience by managing global default config file paths and a progression of overrides. For example:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;UNIX &#160; &#160; &#160; : &lt;tt&gt;/etc/mongod.conf&lt;/tt&gt; --&amp;gt;&#160;&lt;tt&gt;&amp;lt;install prefix or dbpath&amp;gt;/mongod.conf&lt;/tt&gt; --&amp;gt; command-line params&lt;/li&gt;
	&lt;li&gt;Windows : &lt;tt&gt;c:\mongod.conf&lt;/tt&gt; --&amp;gt;&#160;&lt;tt&gt;&amp;lt;install prefix or dbpath&amp;gt;\mongod.conf&lt;/tt&gt; --&amp;gt; command-line params&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;As a competitive example, &lt;a href=&quot;https://dev.mysql.com/doc/refman/8.0/en/option-files.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;see MySQL&lt;/a&gt;. In the case of MySQL it&apos;s become far too complicated and convoluted&#8211;but&#160;we can find a nice middle ground.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="572091">SERVER-36150</key>
            <summary>Improved Default Config File Handling</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="mathew.robinson@mongodb.com">Mathew Robinson</assignee>
                                    <reporter username="matt.lord">Matt Lord</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Jul 2018 18:08:36 +0000</created>
                <updated>Mon, 22 Jul 2019 22:10:17 +0000</updated>
                            <resolved>Mon, 22 Jul 2019 18:36:58 +0000</resolved>
                                                                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 12 Oct 2018 20:53:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 30 weeks, 2 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>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 30 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mathew.robinson@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|hu2qfz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8iw7:</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="3031">Dev Tools 2019-07-01</customfieldvalue>
    <customfieldvalue id="3033">Dev Tools 2019-07-15</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|hu2cpb:</customfieldvalue>

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