<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:57 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-1415] Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.</title>
                <link>https://jira.mongodb.org/browse/SERVER-1415</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;gt; bin/mongod --replSet yo&lt;/p&gt;

&lt;p&gt;log:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Tue Jul 13 18:47:45 waiting for connections on port 27017&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 18:47:45 replSet caught exception in startReplSets thread: bad --replSet config string format is: &amp;lt;setname&amp;gt;/&amp;lt;seedhost1&amp;gt;,&amp;lt;seedhost2&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;,...&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; Tue Jul 13 18:47:45 web admin interface listening on port 28017&lt;/p&gt;</description>
                <environment>mongodb-linux-x86_64-2010-07-13&lt;br/&gt;
version 1.5.5-pre, git version 22653fdefeea36317cbe2557b9cb039e64512ce6</environment>
        <key id="12438">SERVER-1415</key>
            <summary>Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="tonyh">Tony Hannan</assignee>
                                    <reporter username="tonyh">Tony Hannan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Jul 2010 18:54:31 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:43 +0000</updated>
                            <resolved>Thu, 29 Jul 2010 15:46:03 +0000</resolved>
                                                    <fixVersion>1.5.7</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="16201" author="auto" created="Tue, 27 Jul 2010 15:31:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;TonyGen&apos;, &apos;name&apos;: &apos;Tony Hannan&apos;, &apos;email&apos;: &apos;tony@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1415&quot; title=&quot;Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1415&quot;&gt;&lt;del&gt;SERVER-1415&lt;/del&gt;&lt;/a&gt;: Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together.&lt;/p&gt;

&lt;p&gt;Parse --replSet parameter into ReplSetCmdline struct in main thread, then fork startReplSets(ReplSetCmdline).&lt;/p&gt;

&lt;p&gt;We could not create theReplSet in main thread because constructor waits until config is loaded and thus would halt the rest of startup, and we couldn&apos;t move config loading out of constructor because other code tests for theReplSet != 0 to see if config is loaded.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/1fc517d53ae9ecd0d02df18a2378e9a6d65ec119&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/1fc517d53ae9ecd0d02df18a2378e9a6d65ec119&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16188" author="auto" created="Tue, 27 Jul 2010 03:18:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: tony found a bug&lt;br/&gt;
Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1415&quot; title=&quot;Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1415&quot;&gt;&lt;del&gt;SERVER-1415&lt;/del&gt;&lt;/a&gt;: Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 7740fb4070ad8326c81129d9d9095b556fe5ce13.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/6eeeeea25be1944bc667656e6b420639f194f0f9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/6eeeeea25be1944bc667656e6b420639f194f0f9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16184" author="auto" created="Tue, 27 Jul 2010 01:37:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1415&quot; title=&quot;Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1415&quot;&gt;&lt;del&gt;SERVER-1415&lt;/del&gt;&lt;/a&gt;: Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together.&lt;/p&gt;

&lt;p&gt;Per Eliot&apos;s suggestion, instead of calling dbexit in startReplSets thread. Create theReplSet object in main thread, which checks and parses --replSet parameter, then just call its go() methon in startReplSets thread.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;/p&gt;

&lt;p&gt;	db/repl/rs.cpp&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/7740fb4070ad8326c81129d9d9095b556fe5ce13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/7740fb4070ad8326c81129d9d9095b556fe5ce13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16096" author="eliot" created="Fri, 23 Jul 2010 17:13:50 +0000"  >&lt;p&gt;we only close once something is approved and released&lt;/p&gt;</comment>
                            <comment id="16095" author="tonyh" created="Fri, 23 Jul 2010 17:12:21 +0000"  >&lt;p&gt;dbexit on malformed --replSet parameter&lt;/p&gt;</comment>
                            <comment id="15762" author="dwight_10gen" created="Wed, 14 Jul 2010 08:48:11 +0000"  >&lt;p&gt;agree.&lt;/p&gt;

&lt;p&gt;btw it is showing the expected syntax already.&lt;/p&gt;

&lt;p&gt;want to try to do this (make it shut down)?  see main() in db/db.cpp&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Jul 2010 08:48:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 30 weeks, 1 day 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>
                            13 years, 30 weeks, 1 day 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>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>tonyh</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpjl3:</customfieldvalue>

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

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

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