<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:04:41 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>[DOCS-12213] Clarify when and how to put replica set members into standalone mode for maintenance</title>
                <link>https://jira.mongodb.org/browse/DOCS-12213</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Per &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38174?focusedCommentId=2065565&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2065565&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38174&quot; title=&quot;Starting replica set member standalone can lose committed writes starting in MongoDB 4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38174&quot;&gt;&lt;del&gt;SERVER-38174&lt;/del&gt;&lt;/a&gt;, we should update the documentation around maintenance of replica sets to clarify a few points.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Beginning in MongoDB 4.0, when restarting members of replica sets in standalone mode (without the &lt;tt&gt;--replset&lt;/tt&gt; argument),
	&lt;ol&gt;
		&lt;li&gt;The node will not provide read access to the most current data it possesses, but only to data that is no more recent that the majority commit point, unless&lt;/li&gt;
		&lt;li&gt;the node is started with the &lt;tt&gt;recoverFromOplogAsStandalone&lt;/tt&gt; flag, in which case the node will present all data it has accepted, but will not accept write operations.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;In all versions of MongoDB,
	&lt;ol&gt;
		&lt;li&gt;performing write operations on replica set members running in standalone mode risks data corruption&lt;/li&gt;
		&lt;li&gt;and only the following operations are endorsed, though even they may lead to corruption if not used carefully:
		&lt;ol&gt;
			&lt;li&gt;Building indexes, with caveats around the danger of building unique indexes in this manner&lt;/li&gt;
			&lt;li&gt;Manipulating the contents of the &lt;tt&gt;local&lt;/tt&gt; database, with caveats around the risks of updating collections involved in the replication process&lt;/li&gt;
		&lt;/ol&gt;
		&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Further, we should review any documentation we have that involves doing maintenance on replica set members in standalone mode to ensure they are correct, or can be safely performed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="635978">DOCS-12213</key>
            <summary>Clarify when and how to put replica set members into standalone mode for maintenance</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Nov 2018 15:07:07 +0000</created>
                <updated>Mon, 30 Oct 2023 20:50:41 +0000</updated>
                            <resolved>Mon, 13 Mar 2023 19:45:00 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>Server</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="5268899" author="JIRAUSER1264464" created="Mon, 13 Mar 2023 19:45:00 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;schwerin@mongodb.com&quot;&gt;schwerin@mongodb.com&lt;/a&gt;, we&apos;re closing this ticket because (I believe) it was determined we shouldn&apos;t document how to convert a replica set to a standalone and customers who want to do this should connect with TS. If you believe this is an error, please reopen the ticket&#160; and we&apos;ll take a look. Thanks!&lt;/p&gt;</comment>
                            <comment id="2066570" author="bruce.lucas@10gen.com" created="Mon, 19 Nov 2018 17:08:44 +0000"  >&lt;blockquote&gt;
&lt;p&gt;You mean the data 3.6 would have returned&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, sorry - corrected.&lt;/p&gt;</comment>
                            <comment id="2066519" author="schwerin" created="Mon, 19 Nov 2018 16:47:17 +0000"  >&lt;p&gt;You mean the data 3.6 would have returned, right, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas&quot;&gt;bruce.lucas&lt;/a&gt;? I thought this change stemmed from the recover-to-timestamp work from 4.0.&lt;/p&gt;</comment>
                            <comment id="2066513" author="bruce.lucas@10gen.com" created="Mon, 19 Nov 2018 16:44:30 +0000"  >&lt;p&gt;I&apos;m not sure if we do either. But the thing that I think is important to call out is that it may not return data that was majority committed, even if that node participated in the majority commit (e.g. was primary) or had no lag. Secondarily, it is useful to point out that the data returned may be considerably less current than the data that &lt;del&gt;3.4&lt;/del&gt; 3.6 would have returned.&lt;/p&gt;</comment>
                            <comment id="2066494" author="schwerin" created="Mon, 19 Nov 2018 16:38:22 +0000"  >&lt;p&gt;It will return exactly the data in the last checkpoint on the node. I wasn&apos;t sure if we document the concept of checkpoints.&lt;/p&gt;</comment>
                            <comment id="2066482" author="bruce.lucas@10gen.com" created="Mon, 19 Nov 2018 16:33:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt;, shouldn&apos;t &quot;The node will not provide read access to the most current data it possesses, but only to data that is no more recent that the majority commit point&quot; be &quot;... no more recent than the last successful checkpoint on the node&quot;, which, in the case of a crash, may be (considerably) older than the majority commit point?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="634991">SERVER-38174</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>Mon, 19 Nov 2018 16:33:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        47 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            47 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>ashley.brown@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hud8v3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu3egf:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hucv4f:</customfieldvalue>

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