<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:17:26 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-8439] Rolling upgrade process</title>
                <link>https://jira.mongodb.org/browse/SERVER-8439</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m curious about how Mongo will react to a situation I&apos;d like to perform as part of a rolling upgrade, and the documentation is somewhat unclear.&lt;/p&gt;

&lt;p&gt;I&apos;ll be upgrading my replica set one at a time, which means each node will take several hours to catch up. I&apos;d like to end up with my new members taking the place in DNS of the old members with minimal disruption to the set. My plan is, for each one:&lt;/p&gt;

&lt;p&gt;1) Launch a new instance under a new hostname&lt;br/&gt;
2) Wait until it catches up&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Step down if primary&amp;#93;&lt;/span&gt;&lt;br/&gt;
3) Stop the original instance&lt;br/&gt;
4) Update DNS so that the new instance takes the original&apos;s place&lt;br/&gt;
5) Let Mongo figure out that it&apos;s properly up to date for a seamless transition&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Go on to the next one if needed&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;First of all, is that a viable strategy? The original instructions we got from 10gen specified that we should shut down each server and relaunch it as the new version.&lt;/p&gt;

&lt;p&gt;Second, would there be an issue launching all three replacements and letting them get into a replicated state so that my actual &quot;upgrade&quot; time is just the time for each member to figure out that it&apos;s healthy once switching each hostname in turn?&lt;/p&gt;

&lt;p&gt;Any tips I should know about?&lt;/p&gt;</description>
                <environment>Mongo 2.2.3 (upgrading from 1.6)</environment>
        <key id="64099">SERVER-8439</key>
            <summary>Rolling upgrade process</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="jantje.daniel">Ian Daniel</assignee>
                                    <reporter username="jon@animoto.com">Jon Eisenstein</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Feb 2013 04:21:10 +0000</created>
                <updated>Mon, 11 Jul 2016 17:56:47 +0000</updated>
                            <resolved>Mon, 18 Feb 2013 03:36:37 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="257315" author="jantje.daniel" created="Mon, 4 Feb 2013 00:44:28 +0000"  >&lt;p&gt;Hi Jon,&lt;/p&gt;

&lt;p&gt;You could take a copy of the dbpath files from one of your existing nodes, and use it seed the new node. You should shutdown the existing node before you copy the dbpath files, or do an fync+lock. This is described in our documentation here: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/expand-replica-set/#production-notes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/expand-replica-set/#production-notes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Other than that, your approach looks sound.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Ian&lt;/p&gt;</comment>
                            <comment id="256649" author="jon@animoto.com" created="Sat, 2 Feb 2013 20:42:10 +0000"  >&lt;p&gt;I&apos;m replacing the servers (AWS instances) with new ones that launch with the new Mongo.&lt;/p&gt;</comment>
                            <comment id="256464" author="eliot" created="Sat, 2 Feb 2013 14:12:37 +0000"  >&lt;p&gt;Are you trying to just upgrade mongo or also servers?&lt;br/&gt;
If just mongo, then on each secondary you can just take mongod down, upgrade binary, and restart.&lt;br/&gt;
It will only take a minute or so to catch up to replication.&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 2 Feb 2013 14:12:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 2 weeks, 3 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, 2 weeks, 3 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>eliot</customfieldvalue>
            <customfieldvalue>jantje.daniel</customfieldvalue>
            <customfieldvalue>jon@animoto.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn8hj:</customfieldvalue>

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

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

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