<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:31:27 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-13355] Error if replica set member is started standalone without special flag</title>
                <link>https://jira.mongodb.org/browse/SERVER-13355</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Require a config option called &quot;replication.maintenance&quot;, or command line arg called &quot;maintenance&quot; instead of &quot;replSet&lt;span class=&quot;error&quot;&gt;&amp;#91;Name&amp;#93;&lt;/span&gt;&quot; to be used to start the member. If neither of these options are used then the member will error and not start with the following message:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;18806 Cannot start because replication has been configured but is not currently enabled. Please enable replication and restart&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;


&lt;p&gt;&lt;b&gt;Orig Request&lt;/b&gt;&lt;br/&gt;
Replica sets configurations are stored in the local database, but only honored if &lt;tt&gt;--replSet&lt;/tt&gt; command line argument is supplied. In an age of automated configuration management, this means that any bug, incident, human error or cosmic ray can result in a &lt;tt&gt;mongod&lt;/tt&gt; restart that takes it out of the replica set, but still allows traffic, resulting in data partitioning. Worse still, there may be hours, days or weeks separating the time at which the error was written to mongo configurations and when the process restarted. As even a few seconds in this state is disastrous, this behavior &lt;b&gt;&lt;em&gt;must&lt;/em&gt;&lt;/b&gt; be changed.&lt;/p&gt;

&lt;p&gt;Any of the following behaviors would be an improvement:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Refuse to start&lt;/b&gt;&lt;br/&gt;
Without a special command line argument, &lt;tt&gt;mongod&lt;/tt&gt; simply refuses to start if the configuration file or command line arguments differ from the local database. As this may cause problems when trying to perform maintenance that requires &lt;tt&gt;mongod&lt;/tt&gt; to be running, add a &lt;tt&gt;--standalone&lt;/tt&gt; command line argument that will let the process start, but not allow any connections aside from localhost. It is far better to have a dead &lt;tt&gt;mongod&lt;/tt&gt; and let standard replica set algorithms handle failover than to blindly partition the data set.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Honor the local database&lt;/b&gt;&lt;br/&gt;
Log a warning but &lt;b&gt;&lt;em&gt;always&lt;/em&gt;&lt;/b&gt; honor the replica set configuration. As not only the set but the hosts are configured in the &lt;tt&gt;local&lt;/tt&gt; database, it is superfluous that the replica set configuration is also partially determined through configuration files or command line arguments, and absurd that said sources trump the &lt;tt&gt;local&lt;/tt&gt; database.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Start in a different state&lt;/b&gt;&lt;br/&gt;
There already exists states for &quot;not PRIMARY or SECONDARY&quot;, and these ensure that no one can use a replica set member until it is ready. Add a state for &quot;INVALIDCONFIG&quot; so that &lt;tt&gt;mongod&lt;/tt&gt; is started, but replication and client connections are rejected until things are fixed.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Anything Else&lt;/b&gt;&lt;br/&gt;
Anything which does not so easily allow a replica set to be partitioned is necessary. It&apos;s absolutely essential that a replica set not be partitioned, and it should take &lt;b&gt;&lt;em&gt;extraordinary measures&lt;/em&gt;&lt;/b&gt; to forcibly partition the data.&lt;/p&gt;</description>
                <environment></environment>
        <key id="127657">SERVER-13355</key>
            <summary>Error if replica set member is started standalone without special flag</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="aaron.westendorf">Aaron Westendorf</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Mar 2014 13:27:31 +0000</created>
                <updated>Tue, 6 Dec 2022 05:08:36 +0000</updated>
                            <resolved>Fri, 5 Oct 2018 19:24:02 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="2025445" author="greg.mckeon" created="Fri, 5 Oct 2018 19:24:02 +0000"  >&lt;p&gt;We won&apos;t fix this due to how backwards-incompatible it is.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="21791">SERVER-3747</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Mar 2014 15:38:50 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 18 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>aaron.westendorf</customfieldvalue>
            <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrly33:</customfieldvalue>

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

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

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