<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:56 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-1412] replSetInitiate failed</title>
                <link>https://jira.mongodb.org/browse/SERVER-1412</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Start two mongod&apos;s on &quot;host&quot;:&lt;br/&gt;
1&amp;gt; bin/mongod --rest --replSet yo/host:27018&lt;br/&gt;
2&amp;gt; bin/mongod --dbpath /data/db2/ --port 27018 --rest --replSet yo/host&lt;/p&gt;

&lt;p&gt;&amp;gt; cfg = {_id: &quot;yo&quot;, members: &lt;span class=&quot;error&quot;&gt;&amp;#91;{_id: 1, host: &amp;quot;host&amp;quot;}, {_id: 2, host: &amp;quot;host:27018&amp;quot;}&amp;#93;&lt;/span&gt;}&lt;br/&gt;
&amp;gt; use admin&lt;br/&gt;
&amp;gt; db.runCommand(&lt;/p&gt;
{replSetInitiate: cfg}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;Result of command is &lt;/p&gt;
{info: &quot;Config now saved locally.  Should come online in about a minute.&quot;, ok: 1.0}
&lt;p&gt;,&lt;/p&gt;

&lt;p&gt;but log of host says:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 replSet replSetInitiate admin command received from client&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 replSet replSetInitiate config object parses ok, 2 members specified&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 connection accepted from 64.186.132.52:33731 #4&lt;br/&gt;
TEMP hb res cfg change:&lt;/p&gt;
{ rs: true, hasData: true, errmsg: &quot;still initializing&quot;, ok: 0.0 }
&lt;p&gt;TEMP hb res cfg change:&lt;/p&gt;
{ rs: true, hasData: false, errmsg: &quot;still initializing&quot;, ok: 0.0 }
&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 replSet replSetInitiate all members seem up&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 replSet info saving a newer config version to local.system.replset&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Tue Jul 13 17:17:58 replSet replSetInitiate config now saved locally.  Should come online in about a minute.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:01   Assertion failure lockedByMe() db/repl/rs.cpp 210&lt;br/&gt;
0x525613 0x52ee0f 0x6441fe 0x64481c 0x644daa 0x645e99 0x647f19 0x7dcfd0 0x2adfc821dfc7 0x2adfc8b9a64d &lt;br/&gt;
 bin/mongod(_ZN5mongo12sayDbContextEPKc+0xb3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x525613&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo8assertedEPKcS1_j+0x10f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x52ee0f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl14initFromConfigERNS_13ReplSetConfigE+0x3de) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6441fe&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl17_loadConfigFinishERSt6vectorINS_13ReplSetConfigESaIS2_EE+0x6c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x64481c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl10loadConfigEv+0x3da) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x644daa&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImplC2ESs+0x7b9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x645e99&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo13startReplSetsEv+0x1b9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x647f19&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7dcfd0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2adfc821dfc7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2adfc8b9a64d&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:01 replSet error loading configurations 0 assertion db/repl/rs.cpp:210&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:01 replSet error replication will not start&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:01 replSet error fatal error, stopping replication&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:01 replSet caught exception in startReplSets thread: assertion db/repl/rs.cpp:210&lt;/p&gt;

&lt;p&gt;and log of host:27018 says:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:06   Assertion failure lockedByMe() db/repl/rs.cpp 210&lt;br/&gt;
0x525613 0x52ee0f 0x6441fe 0x64481c 0x644daa 0x645e99 0x647f19 0x7dcfd0 0x2b7dfcef6fc7 0x2b7dfd87364d &lt;br/&gt;
 bin/mongod(_ZN5mongo12sayDbContextEPKc+0xb3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x525613&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo8assertedEPKcS1_j+0x10f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x52ee0f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl14initFromConfigERNS_13ReplSetConfigE+0x3de) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6441fe&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl17_loadConfigFinishERSt6vectorINS_13ReplSetConfigESaIS2_EE+0x6c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x64481c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImpl10loadConfigEv+0x3da) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x644daa&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo11ReplSetImplC2ESs+0x7b9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x645e99&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(_ZN5mongo13startReplSetsEv+0x1b9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x647f19&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7dcfd0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2b7dfcef6fc7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2b7dfd87364d&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:06 replSet error loading configurations 0 assertion db/repl/rs.cpp:210&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:06 replSet error replication will not start&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:06 replSet error fatal error, stopping replication&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;startReplSets&amp;#93;&lt;/span&gt; Tue Jul 13 17:18:06 replSet caught exception in startReplSets thread: assertion db/repl/rs.cpp:210&lt;/p&gt;</description>
                <environment>mongodb-linux-x86_64-2010-07-13&lt;br/&gt;
version 1.5.5-pre, git version 22653fdefeea36317cbe2557b9cb039e64512ce6</environment>
        <key id="12434">SERVER-1412</key>
            <summary>replSetInitiate failed</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="tonyh">Tony Hannan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Jul 2010 17:51:55 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:04 +0000</updated>
                            <resolved>Tue, 3 Aug 2010 21:33:01 +0000</resolved>
                                    <version>1.5.5</version>
                                    <fixVersion>1.5.8</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="16442" author="tonyh" created="Tue, 3 Aug 2010 21:33:01 +0000"  >&lt;p&gt;works now&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 29 weeks, 1 day 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>
                            13 years, 29 weeks, 1 day 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>tonyh</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpjm7:</customfieldvalue>

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

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

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