<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:18 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-1535] don&apos;t let you add SYNC as a shard (WAS: Failed to insert data into shard, which is a replica set)</title>
                <link>https://jira.mongodb.org/browse/SERVER-1535</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I built up a system like this:&lt;br/&gt;
2 replica set shard servers&lt;br/&gt;
  1. &lt;span class=&quot;error&quot;&gt;&amp;#91;shard11, shard12&amp;#93;&lt;/span&gt;&lt;br/&gt;
  2. &lt;span class=&quot;error&quot;&gt;&amp;#91;shard21, shard22, arbiter2&amp;#93;&lt;/span&gt;&lt;br/&gt;
1 config server and 1 aggregator use the same machine&lt;/p&gt;

&lt;p&gt;Then create one database and one collection, that shard was enabled.&lt;br/&gt;
After inserting some data via python driver, I got error. Please check attachment.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12618">SERVER-1535</key>
            <summary>don&apos;t let you add SYNC as a shard (WAS: Failed to insert data into shard, which is a replica set)</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="stewwu">Che-Ching Wu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Aug 2010 09:26:04 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:43 +0000</updated>
                            <resolved>Tue, 3 Aug 2010 03:24:16 +0000</resolved>
                                    <version>1.5.7</version>
                                    <fixVersion>1.5.8</fixVersion>
                                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="16451" author="stewwu" created="Wed, 4 Aug 2010 02:32:10 +0000"  >&lt;p&gt;MongoDB shell version: 1.5.7&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; db.printShardingStatus()&lt;br/&gt;
&amp;#8212; Sharding Status &amp;#8212; &lt;br/&gt;
  sharding version: &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;version&quot; : 3 }
&lt;p&gt; &lt;br/&gt;
  shards:&lt;br/&gt;
      {   &lt;br/&gt;
    &quot;_id&quot; : &quot;shard0000&quot;,&lt;br/&gt;
    &quot;host&quot; : &quot;shard1/vm-shard11:27018,vm-shard12:27018&quot;&lt;br/&gt;
}&lt;br/&gt;
      {   &lt;br/&gt;
    &quot;_id&quot; : &quot;shard0001&quot;,&lt;br/&gt;
    &quot;host&quot; : &quot;shard2/vm-shard21:27018,vm-shard22:27018,vm-arbiter2:27018&quot;&lt;br/&gt;
}&lt;br/&gt;
  databases:&lt;/p&gt;
    { &quot;_id&quot; : &quot;admin&quot;, &quot;partitioned&quot; : false, &quot;primary&quot; : &quot;config&quot; }
    { &quot;_id&quot; : &quot;mytest&quot;, &quot;partitioned&quot; : true, &quot;primary&quot; : &quot;shard0000&quot; }
&lt;p&gt;        mytest.repl chunks:&lt;br/&gt;
            { &quot;_id&quot; : &lt;/p&gt;
{ $minKey : 1 }
&lt;p&gt; } --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578d083a4f3f1b2b000000&quot;) }
&lt;p&gt; on : shard0001 &lt;/p&gt;
{ &quot;t&quot; : 200
0, &quot;i&quot; : 2 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578d083a4f3f1b2b000000&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578d0f3a4f3f1b2b000268&quot;) }
&lt;p&gt; on : shard0001 &lt;/p&gt;
{ &quot;t&quot; : 38000, &quot;i&quot; : 7 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578d0f3a4f3f1b2b000268&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578d143a4f3f1b2b000443&quot;) }
&lt;p&gt; on : shard0001 &lt;/p&gt;
{ &quot;t&quot; : 38000, &quot;i&quot; : 9 }
&lt;p&gt;......&lt;br/&gt;
......&lt;/p&gt;

&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f423a4f3f1b2b00b1d1&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f553a4f3f1b2b00b933&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 38000, &quot;i&quot; : 5 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f553a4f3f1b2b00b933&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f733a4f3f1b2b00c1b2&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 42000, &quot;i&quot; : 0 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f733a4f3f1b2b00c1b2&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f883a4f3f1b2b00c914&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 42000, &quot;i&quot; : 1 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f883a4f3f1b2b00c914&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f983a4f3f1b2b00d076&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 42000, &quot;i&quot; : 2 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578f983a4f3f1b2b00d076&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578fa93a4f3f1b2b00d7d8&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 42000, &quot;i&quot; : 3 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578fa93a4f3f1b2b00d7d8&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578fe33a4f3f1b2b00e058&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 43000, &quot;i&quot; : 0 }
&lt;p&gt;            &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c578fe33a4f3f1b2b00e058&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; { &quot;_id&quot; : &lt;/p&gt;
{ $maxKey : 1 }
&lt;p&gt; } on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 43000, &quot;i&quot; : 1 }
    { &quot;_id&quot; : &quot;test&quot;, &quot;partitioned&quot; : false, &quot;primary&quot; : &quot;shard0001&quot; }

&lt;p&gt;&amp;gt; bye&lt;/p&gt;</comment>
                            <comment id="16420" author="eliot" created="Tue, 3 Aug 2010 13:06:40 +0000"  >&lt;p&gt;Can you send the output of db.printShardingStatus&lt;/p&gt;</comment>
                            <comment id="16412" author="stewwu" created="Tue, 3 Aug 2010 06:21:07 +0000"  >&lt;p&gt;Please check mongod2.log out.&lt;/p&gt;</comment>
                            <comment id="16408" author="eliot" created="Tue, 3 Aug 2010 04:10:11 +0000"  >&lt;p&gt;Can you attach mongod logs as well?&lt;/p&gt;</comment>
                            <comment id="16407" author="stewwu" created="Tue, 3 Aug 2010 04:06:52 +0000"  >&lt;p&gt;Yes, I stopped all services and cleaned all data. Then restarted all of them. The version I use is still 1.5.7.&lt;/p&gt;</comment>
                            <comment id="16406" author="eliot" created="Tue, 3 Aug 2010 03:54:51 +0000"  >&lt;p&gt;Did you start from scratch?&lt;/p&gt;</comment>
                            <comment id="16405" author="stewwu" created="Tue, 3 Aug 2010 03:52:57 +0000"  >&lt;p&gt;This time I got another error after following your instructions to start. Here they are:&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;mongos&lt;/b&gt;*&lt;br/&gt;
log file please check mongos2.log&lt;/p&gt;

&lt;p&gt;0x507de1 0x5e6b9e 0x5ef895 0x5efa87 0x61096f 0x6137f5 0x63ca8b 0x647a29 0x55ad12 0x66be20 0x337f6064a7 0x337ead3c2d &lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo11msgassertedEiPKc+0x1e1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x507de1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo5Chunk12moveIfShouldEN5boost10shared_ptrIS0_EE+0x5ee) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5e6b9e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo5Chunk14_splitIfShouldEl+0xa05) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5ef895&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo5Chunk13splitIfShouldEl+0x27) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5efa87&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo13ShardStrategy7_insertERNS_7RequestERNS_9DbMessageEN5boost10shared_ptrINS_12ChunkManagerEEE+0x24f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x61096f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo13ShardStrategy7writeOpEiRNS_7RequestE+0x295) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6137f5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo7Request7processEi+0x16b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x63ca8b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x149) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x647a29&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x252) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x55ad12&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x66be20&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x337f6064a7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x337ead3c2d&amp;#93;&lt;/span&gt;&lt;/p&gt;



&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;mongod **&lt;br/&gt;
0x5313c3 0x53db81 0x7ebc21 0x77be14 0x77d268 0x5f77d5 0x5fcb76 0x6eec1a 0x6f2344 0x80e532 0x818340 0x379ce064a7 0x379c2d3c2d &lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12sayDbContextEPKc+0xb3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5313c3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo8assertedEPKcS1_j+0x111) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x53db81&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo16MoveChunkCommand3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0x29b1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7ebc21&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x584) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77be14&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x7a8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77d268&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5f77d5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x29d6) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5fcb76&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6eec1a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x14b4) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6f2344&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x312) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x80e532&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x818340&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x379ce064a7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x379c2d3c2d&amp;#93;&lt;/span&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;



&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;python client **&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File &quot;bench.py&quot;, line 19, in ?&lt;br/&gt;
    id = conn&lt;span class=&quot;error&quot;&gt;&amp;#91;product&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;coll&amp;#93;&lt;/span&gt;.insert(doc, safe=True)&lt;br/&gt;
  File &quot;build/bdist.linux-x86_64/egg/pymongo/collection.py&quot;, line 232, in insert&lt;br/&gt;
  File &quot;/usr/lib64/python2.4/site-packages/pymongo-1.7_-py2.4-linux-x86_64.egg/pymongo/connection.py&quot;, line 596, in _send_message&lt;br/&gt;
    return self.__check_response_to_last_error(response)&lt;br/&gt;
  File &quot;/usr/lib64/python2.4/site-packages/pymongo-1.7_-py2.4-linux-x86_64.egg/pymongo/connection.py&quot;, line 565, in __check_response_to_last_error&lt;br/&gt;
    raise OperationFailure(error&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;err&amp;quot;&amp;#93;&lt;/span&gt;, error&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;code&amp;quot;&amp;#93;&lt;/span&gt;)&lt;br/&gt;
pymongo.errors.OperationFailure: moveAndCommit failed: db assertion failure 
{ assertion: &quot;assertion s/d_migrate.cpp:239&quot;, errmsg: &quot;db assertion failure&quot;, ok: 0.0 }&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="16404" author="auto" created="Tue, 3 Aug 2010 03:24:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: can&apos;t use SYNC cluster a shard &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1535&quot; title=&quot;don&amp;#39;t let you add SYNC as a shard (WAS: Failed to insert data into shard, which is a replica set)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1535&quot;&gt;&lt;del&gt;SERVER-1535&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/fd600969e0eccdfce48bb93fadaecc5daed64129&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/fd600969e0eccdfce48bb93fadaecc5daed64129&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16402" author="eliot" created="Tue, 3 Aug 2010 02:35:10 +0000"  >&lt;p&gt;You need to add a repica set shard as&lt;/p&gt;


&lt;p&gt;name/vm-shard21:27018, vm-shard22:27018, vm-arbiter2:27018&lt;/p&gt;

&lt;p&gt;will enforce this&lt;/p&gt;</comment>
                            <comment id="16401" author="stewwu" created="Tue, 3 Aug 2010 02:25:19 +0000"  >&lt;p&gt;I use 1.5.7&lt;/p&gt;

&lt;p&gt;Here are commands I ran.&lt;/p&gt;

&lt;p&gt;/opt/mongodb/bin/mongod --fork --dbpath /var/lib/mongo/ --logpath /var/log/mongo/mongod.log --logappend --rest -shardsvr --replSet shard1/vm-shard11:27018,vm-shard12:27018&lt;/p&gt;

&lt;p&gt;echo &apos;cfg = {_id: &quot;shard1&quot;, members:&lt;span class=&quot;error&quot;&gt;&amp;#91;{_id: 0, host:&amp;quot;vm-shard11:27018&amp;quot;},{_id: 1, host:&amp;quot;vm-shard12:27018&amp;quot;}&amp;#93;&lt;/span&gt;}; rs.initiate(cfg);&apos; | /opt/mongodb/bin/mongo localhost:27018&lt;/p&gt;


&lt;p&gt;/opt/mongodb/bin/mongod --fork --dbpath /var/lib/mongo/ --logpath /var/log/mongo/mongod.log --logappend --rest -shardsvr --replSet shard2/vm-shard21:27018,vm-shard22:27018,vm-arbiter2:27018&lt;/p&gt;

&lt;p&gt;echo &apos;cfg = {_id: &quot;shard2&quot;, members:&lt;span class=&quot;error&quot;&gt;&amp;#91;{_id: 0, host:&amp;quot;vm-shard21:27018&amp;quot;},{_id: 1, host:&amp;quot;vm-shard22:27018&amp;quot;},{_id: 2, host:&amp;quot;vm-arbiter2:27018&amp;quot;, &amp;quot;arbiterOnly&amp;quot;: true}&amp;#93;&lt;/span&gt;}; rs.initiate(cfg);&apos; | /opt/mongodb/bin/mongo localhost:27018&lt;/p&gt;


&lt;p&gt;/opt/mongodb/bin/mongod --fork --dbpath /var/lib/mongo/ --logpath /var/log/mongo/mongod.log --logappend --rest -configsvr&lt;/p&gt;

&lt;p&gt;/opt/mongodb/bin/mongos --fork --configdb vm-config1:27019 --logpath /var/log/mongo/mongos.log --logappend&lt;/p&gt;

&lt;p&gt;echo &apos;use admin; db.runCommand( &lt;/p&gt;
{ addshard : &quot;vm-shard11:27018,vm-shard12:27018&quot;}
&lt;p&gt;); db.runCommand( &lt;/p&gt;
{ addShard : &quot;vm-shard21:27018, vm-shard22:27018, vm-arbiter2:27018&quot;}
&lt;p&gt;);&apos;&lt;/p&gt;



&lt;p&gt;And the sharding status:&lt;br/&gt;
&amp;gt; db.printShardingStatus()&lt;br/&gt;
&amp;#8212; Sharding Status &amp;#8212; &lt;br/&gt;
  sharding version: &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;version&quot; : 3 }
&lt;p&gt;  shards:&lt;br/&gt;
      {&lt;br/&gt;
	&quot;_id&quot; : &quot;shard0000&quot;,&lt;br/&gt;
	&quot;host&quot; : &quot;vm-shard11:27018,vm-shard12:27018&quot;&lt;br/&gt;
}&lt;br/&gt;
      {&lt;br/&gt;
	&quot;_id&quot; : &quot;shard0001&quot;,&lt;br/&gt;
	&quot;host&quot; : &quot;vm-shard21:27018, vm-shard22:27018, vm-arbiter2:27018&quot;&lt;br/&gt;
}&lt;br/&gt;
  databases:&lt;/p&gt;
	{ &quot;_id&quot; : &quot;admin&quot;, &quot;partitioned&quot; : false, &quot;primary&quot; : &quot;config&quot; }
	{ &quot;_id&quot; : &quot;wfbsh&quot;, &quot;partitioned&quot; : true, &quot;primary&quot; : &quot;shard0000&quot; }
&lt;p&gt;		wfbsh.repl chunks:&lt;br/&gt;
			{ &quot;_id&quot; : &lt;/p&gt;
{ $minKey : 1 }
&lt;p&gt; } --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c568b063a4f3f1313000000&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 4000, &quot;i&quot; : 0 }
&lt;p&gt;			&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c568b063a4f3f1313000000&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c568be13a4f3f134d00005e&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 4000, &quot;i&quot; : 1 }
&lt;p&gt;			&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c568be13a4f3f134d00005e&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; &lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c5694e83a4f3f139f0001da&quot;) }
&lt;p&gt; on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 4000, &quot;i&quot; : 2 }
&lt;p&gt;			&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c5694e83a4f3f139f0001da&quot;) }
&lt;p&gt; --&amp;gt;&amp;gt; { &quot;_id&quot; : &lt;/p&gt;
{ $maxKey : 1 }
&lt;p&gt; } on : shard0000 &lt;/p&gt;
{ &quot;t&quot; : 4000, &quot;i&quot; : 3 }</comment>
                            <comment id="16362" author="eliot" created="Mon, 2 Aug 2010 13:10:57 +0000"  >&lt;p&gt;Can you provide all the startup lines and output of db.printShardingStatus&lt;br/&gt;
Also - what version are you running?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10329" name="console.txt" size="1919" author="stewwu" created="Mon, 2 Aug 2010 09:26:04 +0000"/>
                            <attachment id="10332" name="mongod2.log" size="326767" author="stewwu" created="Tue, 3 Aug 2010 06:21:07 +0000"/>
                            <attachment id="10328" name="mongos.log" size="4268" author="stewwu" created="Mon, 2 Aug 2010 09:26:04 +0000"/>
                            <attachment id="10330" name="mongos2.log" size="12859" author="stewwu" created="Tue, 3 Aug 2010 03:53:22 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 2 Aug 2010 13:10:57 +0000</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>auto</customfieldvalue>
            <customfieldvalue>stewwu</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpibb:</customfieldvalue>

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

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

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