<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:35:59 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-14788] Implement replica set cold start behavior in ReplicationCoordinatorImpl</title>
                <link>https://jira.mongodb.org/browse/SERVER-14788</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This task is to implement start-up code that loads a replica set config from the &lt;tt&gt;local.system.replset&lt;/tt&gt; collection, and if it is valid, makes it the active configuration for the replica set node.&lt;/p&gt;</description>
                <environment></environment>
        <key id="150901">SERVER-14788</key>
            <summary>Implement replica set cold start behavior in ReplicationCoordinatorImpl</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="9">Done</resolution>
                                        <assignee username="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Aug 2014 14:30:04 +0000</created>
                <updated>Thu, 2 Aug 2018 21:25:19 +0000</updated>
                            <resolved>Tue, 19 Aug 2014 16:44:09 +0000</resolved>
                                                    <fixVersion>2.7.6</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="687256" author="xgen-internal-githook" created="Mon, 11 Aug 2014 19:16:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;milkie&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14788&quot; title=&quot;Implement replica set cold start behavior in ReplicationCoordinatorImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14788&quot;&gt;&lt;del&gt;SERVER-14788&lt;/del&gt;&lt;/a&gt; Wire initial configuration loading into startReplication.&lt;/p&gt;

&lt;p&gt;via Andy Schwerin.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4064ced405a51bedcb9da9d90f0320023e23728c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4064ced405a51bedcb9da9d90f0320023e23728c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="685238" author="xgen-internal-githook" created="Fri, 8 Aug 2014 18:18:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14788&quot; title=&quot;Implement replica set cold start behavior in ReplicationCoordinatorImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14788&quot;&gt;&lt;del&gt;SERVER-14788&lt;/del&gt;&lt;/a&gt; Make ReplicationCoordinatorImpl::startReplication threadsafe.&lt;/p&gt;

&lt;p&gt;To follow the contract described in the header, it shouldn&apos;t be mutating pointers&lt;br/&gt;
to its top coord and repl executor, or changing its RID, so do that in the constructor,&lt;br/&gt;
instead.  This makes the parameters to startReplication sane, as a side benefit.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1232c89874a8763375b65c438680e8441f65f021&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1232c89874a8763375b65c438680e8441f65f021&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="685237" author="xgen-internal-githook" created="Fri, 8 Aug 2014 18:18:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14788&quot; title=&quot;Implement replica set cold start behavior in ReplicationCoordinatorImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14788&quot;&gt;&lt;del&gt;SERVER-14788&lt;/del&gt;&lt;/a&gt; Do not start threads in ReplicationExecutor&apos;s constructor.&lt;/p&gt;

&lt;p&gt;By not starting threads in the ReplicationExecutor constructor, we can safely construct&lt;br/&gt;
it when constructing the ReplicationCoordinatorImpl that owns it, which allows us to&lt;br/&gt;
get rid of the weird behavior where we pass a NetworkInterface* to startReplication(),&lt;br/&gt;
and further allows us to clean up the concurrency rules for startReplication().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/972264abaf49c46b0726841e4fa2444cd3f3d737&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/972264abaf49c46b0726841e4fa2444cd3f3d737&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="684399" author="xgen-internal-githook" created="Thu, 7 Aug 2014 23:08:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14788&quot; title=&quot;Implement replica set cold start behavior in ReplicationCoordinatorImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14788&quot;&gt;&lt;del&gt;SERVER-14788&lt;/del&gt;&lt;/a&gt; Simplify the fixture for running tests in repl_coordinator_impl_test.&lt;/p&gt;

&lt;p&gt;These simplifications remove some memory leaks and make it easier to follow the initialization&lt;br/&gt;
logic.  This is prerequisite to changes testing the loading local configurations during&lt;br/&gt;
startReplication().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/88cc54431e112cd2edaa9042b3b20ba1b10fce82&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/88cc54431e112cd2edaa9042b3b20ba1b10fce82&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="684377" author="xgen-internal-githook" created="Thu, 7 Aug 2014 22:42:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14788&quot; title=&quot;Implement replica set cold start behavior in ReplicationCoordinatorImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14788&quot;&gt;&lt;del&gt;SERVER-14788&lt;/del&gt;&lt;/a&gt; Get isSelf functionality from ReplCoordinatorExternalState in parseReplSetSeedList.&lt;/p&gt;

&lt;p&gt;This makes parseReplSetSeedList usable in ReplicationCoordinatorImpl.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/48b0eb5b87ed6037541a0db3dac32b09b79c0bc2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/48b0eb5b87ed6037541a0db3dac32b09b79c0bc2&lt;/a&gt;&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 Aug 2014 22:42:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 27 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1</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>greg.mckeon@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 27 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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlqgv:</customfieldvalue>

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

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

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