<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:38:07 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-34869] Feature that allows Renaming Replica Sets (sharded as well as un-sharded environments)</title>
                <link>https://jira.mongodb.org/browse/SERVER-34869</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf._id&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documented&lt;/a&gt;, we officially &lt;ins&gt;do not&lt;/ins&gt; support renaming of replica sets. There are some unofficial-procedures documented on&#160;&lt;a href=&quot;https://stackoverflow.com/questions/11265997/can-i-change-the-name-of-my-replica-set-while-mongod-processes-are-running&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4798&quot; title=&quot;Add docs for changing replica set name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4798&quot;&gt;&lt;del&gt;DOCS-4798&lt;/del&gt;&lt;/a&gt;.&#160;However, there is &lt;b&gt;no&lt;/b&gt; &lt;b&gt;officially-supported procedure or feature&lt;/b&gt;&#160;for renaming replica sets (sharded or unsharded).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This enhancement request is for requesting an &lt;b&gt;&lt;em&gt;officially-supported&lt;/em&gt;&lt;/b&gt; feature that will allow changing replica set names for sharded as well as unsharded environments.&lt;/p&gt;</description>
                <environment></environment>
        <key id="540351">SERVER-34869</key>
            <summary>Feature that allows Renaming Replica Sets (sharded as well as un-sharded environments)</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="harshad.dhavale@mongodb.com">Harshad Dhavale</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 May 2018 17:35:41 +0000</created>
                <updated>Fri, 29 Sep 2023 12:23:11 +0000</updated>
                            <resolved>Tue, 22 Aug 2023 01:21:28 +0000</resolved>
                                                                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>9</votes>
                                    <watches>23</watches>
                                                                                                                <comments>
                            <comment id="5740338" author="garaudy.etienne" created="Fri, 29 Sep 2023 12:21:05 +0000"  >&lt;p&gt;Starting in MongoDB 8.0, the way to do this will be:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Add a new shard with the desired replica set name&lt;/li&gt;
	&lt;li&gt;Run moveCollection on all your unsharded collections to move them to the new shard&lt;/li&gt;
	&lt;li&gt;Drop the old shard&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="3286680" author="rarumuga@cisco.com" created="Wed, 15 Jul 2020 17:58:03 +0000"  >&lt;p&gt;We have been using MongoDB for several years. &#160; &#160;Some time Business/ Application team wants to change/rename the Replica Set (RS) name online to meet some internal requirements.&lt;/p&gt;

&lt;p&gt;Supported methods are backup/restore or mongodump/mongo restore. &#160; &#160;It requires downtime. &#160;If the database size is high, it takes several hrs of downtime. &#160; This will not help for critical instances, which requires 24x7 availability.&lt;/p&gt;

&lt;p&gt;Few years back, we used this method to rename Replica Sets. &#160; It worked fine. &#160; &#160;However Mongo officially do not support. &#160; At the same did not provide alternative feature even after several years. &#160; &#160;Mongo sould come with rename feature by &quot;updating metadata&quot; rather than migrating &quot;huge amount of user data&quot; (like other database products does)&lt;/p&gt;

&lt;p&gt;It will be a good future most of Customers will need. &#160; It will benefit and attract more customers use MongoDB.&lt;/p&gt;</comment>
                            <comment id="2027180" author="holee@expedia.com" created="Mon, 8 Oct 2018 21:18:02 +0000"  >&lt;p&gt;It&apos;d be nice to have a feature, implemented in a form a mongo shell command, or thru automation agent, to change the&#160;&lt;tt&gt;replica set name&lt;/tt&gt;&#160;without downtime. We have clusters set up from years ago that retained&#160;{{rs0}}replica set (since it is what was used in MongoDB Doc). We also have clusters that needed to change replica set name to be more identifiable in a Project.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1276444">SERVER-46901</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1276729">SERVER-46905</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="208393">SERVER-18831</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="66764">SERVER-8778</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>3.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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000aQyVWIA0, 500A000000auD5jIAE, 500A000000cDzFoIAK, 5002K00000e811dQAA, 5002K00000nmcxsQAA, 5002K00000nqA0EQAU, 5002K00000pkG9IQAU, 5002K00000vgEoUQAU, 5002K00000ze9eDQAQ, 5006R00001wOcHcQAK]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 7 May 2018 21:35:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1187</customfieldvalue>
                        </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>garaudy.etienne@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>garaudy.etienne@mongodb.com</customfieldvalue>
            <customfieldvalue>harshad.dhavale@mongodb.com</customfieldvalue>
            <customfieldvalue>holee@expedia.com</customfieldvalue>
            <customfieldvalue>rarumuga@cisco.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htxgbr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htqr53:</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_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|htx2l3:</customfieldvalue>

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