<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:14: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-7332] Separate command line processing from server startup in mongod and mongos.</title>
                <link>https://jira.mongodb.org/browse/SERVER-7332</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="52945">SERVER-7332</key>
            <summary>Separate command line processing from server startup in mongod and mongos.</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="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2012 20:18:29 +0000</created>
                <updated>Mon, 11 Jul 2016 17:56:20 +0000</updated>
                            <resolved>Fri, 26 Oct 2012 17:15:59 +0000</resolved>
                                                    <fixVersion>2.3.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="179665" author="auto" created="Fri, 26 Oct 2012 17:15:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-16T15:42:25-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-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt; Split command line processing from server startup in mongos.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/47641cc30b77f80172e1d6de77de8edee6579c7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/47641cc30b77f80172e1d6de77de8edee6579c7c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="178354" author="auto" created="Tue, 23 Oct 2012 20:26:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-23T08:02:35-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: Fix up fail points to be compatible with parsing command line before running global initializers.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5589eb5e541eecc80cb94b54139b289c8e6ce06c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5589eb5e541eecc80cb94b54139b289c8e6ce06c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="178353" author="auto" created="Tue, 23 Oct 2012 20:24:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-16T15:25:52-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-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt; Split command line processing from server startup in mongod.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ffd8aec961a751aa5adfa79070f26cc21a560ce5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ffd8aec961a751aa5adfa79070f26cc21a560ce5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="178142" author="auto" created="Tue, 23 Oct 2012 14:53:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-23T07:53:35-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: Fix missing fassert number, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c5b1be7817ebce9502a4a0a9ac87fb9a820509b0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c5b1be7817ebce9502a4a0a9ac87fb9a820509b0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="178132" author="auto" created="Tue, 23 Oct 2012 14:39:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-16T09:24:39-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: Refactor the ntservice module, to separate parameter processing from service startup.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f5c70af4dca92270a00786963bccbf3fc359f5e3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f5c70af4dca92270a00786963bccbf3fc359f5e3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="175067" author="auto" created="Mon, 15 Oct 2012 20:43:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-10T21:06:36-07:00&apos;, u&apos;name&apos;: u&apos;schwerin@10gen.com&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt; Split command line processing from startup in db.cpp, part 1.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f737a6f12cbbd8559921a91b17157e8152dd2b10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f737a6f12cbbd8559921a91b17157e8152dd2b10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="175066" author="auto" created="Mon, 15 Oct 2012 20:43:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-10T20:39:02-07:00&apos;, u&apos;name&apos;: u&apos;schwerin@10gen.com&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt; In db.cpp, construct command line options configuration in a separate function.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e11b8976f1fd776de09559f99e4c339d0da287a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e11b8976f1fd776de09559f99e4c339d0da287a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="175065" author="auto" created="Mon, 15 Oct 2012 20:43:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-08T14:48:05-07:00&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7332&quot; title=&quot;Separate command line processing from server startup in mongod and mongos.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7332&quot;&gt;&lt;del&gt;SERVER-7332&lt;/del&gt;&lt;/a&gt; Censor command line explicitly, change CmdLine::store to take a vector of strings.&lt;/p&gt;

&lt;p&gt;This patch separates the process of censoring the process argv array (affecting the output of ps on&lt;br/&gt;
linux) from the process of parsing the command line.  It then changes CmdLine::store to take a&lt;br/&gt;
vector of strings, instead of a mutable char**, for later use in the init system&apos;s command line&lt;br/&gt;
processing role.&lt;/p&gt;

&lt;p&gt;Unit tests for the new censoring code, which is more throrough than the old, are included, and the&lt;br/&gt;
&quot;command&quot; to get the contents of the command line is moved to dbcommands_generic, to make linking&lt;br/&gt;
cmdline.cpp into unit tests easier.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6e326668c3d65b4e9af779b3c667c5b2c09bfaf6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6e326668c3d65b4e9af779b3c667c5b2c09bfaf6&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="51253">SERVER-7118</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52966">SERVER-7336</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31669">SERVER-5112</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 15 Oct 2012 20:43:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 16 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>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, 16 weeks, 5 days 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>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnlh3:</customfieldvalue>

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

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

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