<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:13 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-5211] Refactor CmdLine::store</title>
                <link>https://jira.mongodb.org/browse/SERVER-5211</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We should split it into two steps. store() should only store the options, but not act on them. A new function process() should act on them. Currently it is hard to get a holistic view of all options because things like --fork and --logpath modify the running state before we can intercept. This is particularly a problem for --shutdown, but there are other cases where it would be nice to have a step between reading the config and acting on it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32234">SERVER-5211</key>
            <summary>Refactor CmdLine::store</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="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Mar 2012 19:20:07 +0000</created>
                <updated>Mon, 11 Jul 2016 18:32:40 +0000</updated>
                            <resolved>Wed, 10 Oct 2012 20:34:09 +0000</resolved>
                                                    <fixVersion>2.3.0</fixVersion>
                                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="173519" author="auto" created="Wed, 10 Oct 2012 20:29:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-08T11:18:02-07:00&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5211&quot; title=&quot;Refactor CmdLine::store&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5211&quot;&gt;&lt;del&gt;SERVER-5211&lt;/del&gt;&lt;/a&gt; Separate of CmdLine::store into two functions.&lt;/p&gt;

&lt;p&gt;The new functions are CmdLine::store, with the same signature as before, and&lt;br/&gt;
mongo::initializeServerGlobalState(), which should take no parameters, but does&lt;br/&gt;
take an optional bool to deal with a knot in mongod --shutdown that I haven&apos;t&lt;br/&gt;
yet untangled.&lt;/p&gt;

&lt;p&gt;This separation makes it easier to test functions in the command line parsing&lt;br/&gt;
part of the library, and provides a little extra clarity on the role of the two&lt;br/&gt;
functions.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f0a5062ff9651f97ac58ef1f50f91b0a5f653798&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f0a5062ff9651f97ac58ef1f50f91b0a5f653798&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173413" author="auto" created="Wed, 10 Oct 2012 17:22:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-08T14:47:37-07:00&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5211&quot; title=&quot;Refactor CmdLine::store&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5211&quot;&gt;&lt;del&gt;SERVER-5211&lt;/del&gt;&lt;/a&gt; Move prettyHostName() into mongo/util/net/sock.&lt;/p&gt;
{h,cpp}
&lt;p&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a73ff022bf8941d1ca6cf1d71ee6163aa17dcd52&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a73ff022bf8941d1ca6cf1d71ee6163aa17dcd52&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173399" author="auto" created="Wed, 10 Oct 2012 17:01:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-04T15:59:22-07:00&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5211&quot; title=&quot;Refactor CmdLine::store&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5211&quot;&gt;&lt;del&gt;SERVER-5211&lt;/del&gt;&lt;/a&gt; Fix up includes in cmdline.h, and stop &quot;using namespace std&quot; therein.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f1c121556b9c72127f0902314cd43a63fdf6c905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f1c121556b9c72127f0902314cd43a63fdf6c905&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="95452" author="tad" created="Mon, 5 Mar 2012 19:33:30 +0000"  >&lt;p&gt;It is both convenient and a problem that CmdLine::store does so much.  A connected issue (like --shutdown) is the set of Windows service-related command line options that should never appear in a config file.  We need a way of flagging options by source.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31680">SERVER-5115</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32087">SERVER-5186</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32090">SERVER-5187</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Mar 2012 19:33:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 19 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 19 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroarb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg6gn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7951</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_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|hs2yin:</customfieldvalue>

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