<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:37 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-1292] easier to convert single mongod to sharded system WAS: add an &apos;&quot;onShard&quot; option to the shardCollection command</title>
                <link>https://jira.mongodb.org/browse/SERVER-1292</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="12243">SERVER-1292</key>
            <summary>easier to convert single mongod to sharded system WAS: add an &apos;&quot;onShard&quot; option to the shardCollection command</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="alerner">Alberto Lerner</assignee>
                                    <reporter username="jeffers">Jeff Lanza</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Jun 2010 12:25:43 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:04 +0000</updated>
                            <resolved>Mon, 2 Aug 2010 19:15:13 +0000</resolved>
                                                    <fixVersion>1.5.8</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="16383" author="auto" created="Mon, 2 Aug 2010 19:14:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1292&quot; title=&quot;easier to convert single mongod to sharded system WAS: add an &amp;#39;&amp;quot;onShard&amp;quot; option to the shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1292&quot;&gt;&lt;del&gt;SERVER-1292&lt;/del&gt;&lt;/a&gt; Test moving and splitting collection from mongod turned shard&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/07d12c233647a34c72486fa03f38a787d3d4c0c6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/07d12c233647a34c72486fa03f38a787d3d4c0c6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16327" author="auto" created="Fri, 30 Jul 2010 23:56:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1292&quot; title=&quot;easier to convert single mongod to sharded system WAS: add an &amp;#39;&amp;quot;onShard&amp;quot; option to the shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1292&quot;&gt;&lt;del&gt;SERVER-1292&lt;/del&gt;&lt;/a&gt; When adding a shard, bring all the DBs that mongod carried before&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/18ff2014651c88aa0cabcd6fd652026d00f60918&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/18ff2014651c88aa0cabcd6fd652026d00f60918&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16315" author="auto" created="Fri, 30 Jul 2010 17:22:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1292&quot; title=&quot;easier to convert single mongod to sharded system WAS: add an &amp;#39;&amp;quot;onShard&amp;quot; option to the shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1292&quot;&gt;&lt;del&gt;SERVER-1292&lt;/del&gt;&lt;/a&gt; For now, don&apos;t add a mongod as a shard if it&apos;s not empty. Will allow that next.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/5a69c45341c23f654832f948febf793c6896e6b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/5a69c45341c23f654832f948febf793c6896e6b4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16261" author="auto" created="Wed, 28 Jul 2010 18:25:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1292&quot; title=&quot;easier to convert single mongod to sharded system WAS: add an &amp;#39;&amp;quot;onShard&amp;quot; option to the shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1292&quot;&gt;&lt;del&gt;SERVER-1292&lt;/del&gt;&lt;/a&gt; A bit more prep, separate grid.&lt;/p&gt;
{h,cpp}
&lt;p&gt; from config&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/bceacf2544acfb6c3509ca8db791e90fe41c8599&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/bceacf2544acfb6c3509ca8db791e90fe41c8599&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16166" author="auto" created="Mon, 26 Jul 2010 20:14:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1292&quot; title=&quot;easier to convert single mongod to sharded system WAS: add an &amp;#39;&amp;quot;onShard&amp;quot; option to the shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1292&quot;&gt;&lt;del&gt;SERVER-1292&lt;/del&gt;&lt;/a&gt; Prep work by moving shard adding logic to Grid&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/e53107eeeb37b391e79ed29671fdf635f3f48abd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/e53107eeeb37b391e79ed29671fdf635f3f48abd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16102" author="eliot" created="Sat, 24 Jul 2010 01:26:20 +0000"  >&lt;p&gt;Yes - that should be the default behavior.&lt;br/&gt;
If there is a conflict, addShard should fail.&lt;/p&gt;

&lt;p&gt;YOu don&apos;t really need --shardsrv at all - just changes ports&lt;/p&gt;</comment>
                            <comment id="16099" author="alerner" created="Fri, 23 Jul 2010 22:41:19 +0000"  >&lt;p&gt;Do we even need a special option for the behavior? Perhaps addShard could automatically register the databases that it finds in the mongod that became a shard.&lt;/p&gt;

&lt;p&gt;One related question is whether a mongod can become a shard without downtime, ie. how to turn on --shardsvr on a mongod that was started without it? Is that a concern, and if so, does it belong to this JIRA?&lt;/p&gt;</comment>
                            <comment id="15056" author="eliot" created="Thu, 24 Jun 2010 17:52:49 +0000"  >&lt;p&gt;I see.&lt;/p&gt;

&lt;p&gt;What about an option on the &quot;addShard&quot; command like &quot;original&quot;&lt;/p&gt;

&lt;p&gt;then when it loads all the dbs from that shard?&lt;/p&gt;</comment>
                            <comment id="15055" author="redbeard0531" created="Thu, 24 Jun 2010 17:50:02 +0000"  >&lt;p&gt;On second thought this probably belongs in the enablesharding (db-level) command. The idea is that if you have an existing mongod with data, you can add all of your shards to mongos/config-servers first, then shard the existing collection. Right now you need to add the single shard, set all your collections up, then add the other shards. I think allowing the user to specify the default shard when enabling sharding will do the trick.&lt;/p&gt;</comment>
                            <comment id="15054" author="jeffers" created="Thu, 24 Jun 2010 17:18:52 +0000"  >&lt;p&gt;mstearn1 requested I submit the bug. I think it&apos;s related to performing some sort of action to migrate to sharding on an already existent database.&lt;/p&gt;
</comment>
                            <comment id="15053" author="eliot" created="Thu, 24 Jun 2010 16:53:49 +0000"  >&lt;p&gt;What does &quot;onShard&quot; mean?&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>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 24 Jun 2010 16:53:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 29 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_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, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alerner</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jeffers</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpkvb:</customfieldvalue>

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

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

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