<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59: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-2263] Restoring a configsvr</title>
                <link>https://jira.mongodb.org/browse/SERVER-2263</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;As far as i know,  the current suggestion to restore a broken configsvr ( or to make a new configsvr according to one the two healthy survivors ) is to copy the entire directory of one survivor and use the generated directory to hold a new configsvr.&lt;/p&gt;

&lt;p&gt;For some test, it just cannot go through.&lt;/p&gt;

&lt;p&gt;Something like this:&lt;/p&gt;

&lt;p&gt;Destroy a configsvr:&lt;br/&gt;
a) kill one configsvr (based at  csv59900)&lt;br/&gt;
b) move it&apos;s dbdir to somewhere else ( mv csv59900 csv59909)&lt;/p&gt;

&lt;p&gt;Now there are only two configsvrs alive (csv59901 and csv59902). Assuming that csv59900 is unreachable, start to restore one configsvr at 59903:&lt;br/&gt;
c) cp -r csv59902 csv59903&lt;br/&gt;
d) rm -rf csv59903/mongod.lock&lt;br/&gt;
e) start configsvr 59903&lt;br/&gt;
f) start mongos at port 58800 with configsvr = localhost:59901,localhost:59902,localhost:59903&lt;/p&gt;

&lt;p&gt;To see if the data available:&lt;br/&gt;
g) mongo localhost:58800&lt;br/&gt;
h) show dbs (the result is correct)&lt;br/&gt;
i) show collections (the result is correct)&lt;br/&gt;
j) count one collection (error)&lt;br/&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;
&amp;gt; db.t0.count()&lt;br/&gt;
Tue Dec 21 12:04:35 uncaught exception: count failed: {&lt;br/&gt;
    &quot;assertion&quot; : &quot;setShardVersion failed! &lt;/p&gt;
{ \&quot;errmsg\&quot; : \&quot;specified a different configdb!\&quot;, \&quot;ok\&quot; : 0 }
&lt;p&gt;&quot;,&lt;br/&gt;
    &quot;assertionCode&quot; : 10429,&lt;br/&gt;
    &quot;errmsg&quot; : &quot;db assertion failure&quot;,&lt;br/&gt;
    &quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br/&gt;
All collections are not available.&lt;/p&gt;


&lt;p&gt;Logs from mongos:&lt;br/&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;
Tue Dec 21 12:04:35 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;      setShardVersion failed: &lt;/p&gt;
{ errmsg: &quot;specified a different configdb!&quot;, ok: 0.0 }
&lt;p&gt;Tue Dec 21 12:04:35 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; Assertion: 10429:setShardVersion failed! &lt;/p&gt;
{ &quot;errmsg&quot; : &quot;specified a different configdb!&quot;, &quot;ok&quot; : 0 }
&lt;p&gt;0x50997e 0x60bdd4 0x60b89c 0x60b89c 0x60b89c 0x554788 0x5559ec 0x551e39 0x552216 0x63e312 0x559297 0x61629c 0x64407a 0x6519b9 0x55d3b2 0x674ca0 0x3a6d8064a7 0x3a6d0d3c2d &lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo11msgassertedEiPKc+0x1de) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x50997e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo17checkShardVersionERNS_12DBClientBaseERKSsbi+0xa34) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x60bdd4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo17checkShardVersionERNS_12DBClientBaseERKSsbi+0x4fc) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x60b89c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo17checkShardVersionERNS_12DBClientBaseERKSsbi+0x4fc) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x60b89c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo17checkShardVersionERNS_12DBClientBaseERKSsbi+0x4fc) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x60b89c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo17ClientConnections13checkVersionsERKSs+0x288) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x554788&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(&lt;em&gt;ZN5mongo17ClientConnections3getERKSsS2&lt;/em&gt;+0x39c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5559ec&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo15ShardConnection5_initEv+0x59) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x551e39&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0x86) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x552216&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo15dbgrid_pub_cmds8CountCmd3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0xc62) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x63e312&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo7Command20runAgainstRegisteredEPKcRNS_7BSONObjERNS_14BSONObjBuilderE+0x5d7) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x559297&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo14SingleStrategy7queryOpERNS_7RequestE+0x26c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x61629c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo7Request7processEi+0x26a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x64407a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x149) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6519b9&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x252) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x55d3b2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /data0/mongo/mongodb/bin/mongos(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x674ca0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3a6d8064a7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3a6d0d3c2d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Tue Dec 21 12:12:02 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; dist_lock forcefully taking over from: &lt;/p&gt;
{ _id: &quot;balancer&quot;, process: &quot;mis20826.sina.com.cn:1292901272:1804289383&quot;, state: 1, ts: ObjectId(&apos;4d1025cdce58e6c0042bd1f8&apos;), when: new Date(1292903885500), who: &quot;mis20826.sina.com.cn:1292901272:1804289383:Balancer:1681692777&quot;, why: &quot;doing balance round&quot; }
&lt;p&gt; elapsed minutes: 11&lt;br/&gt;
&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;</description>
                <environment>CentOS release 5.4 (Final)    mongodb-linux-x86_64-1.6.4.tgz</environment>
        <key id="14030">SERVER-2263</key>
            <summary>Restoring a configsvr</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="guti.deng@gmail.com">Guti.Deng</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Dec 2010 04:30:34 +0000</created>
                <updated>Fri, 30 Mar 2012 14:26:46 +0000</updated>
                            <resolved>Tue, 21 Dec 2010 06:24:03 +0000</resolved>
                                    <version>1.6.4</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="21631" author="guti.deng@gmail.com" created="Tue, 21 Dec 2010 06:03:11 +0000"  >&lt;p&gt;Got it, thank you Eliot !&lt;/p&gt;</comment>
                            <comment id="21630" author="eliot" created="Tue, 21 Dec 2010 04:33:39 +0000"  >&lt;p&gt;currently you have to bounce the shards after changing the hostname.&lt;br/&gt;
we recommend using host names or virtual ips for 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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 21 Dec 2010 04:33:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 9 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 9 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>guti.deng@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp9q7:</customfieldvalue>

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

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

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