[
https://issues.apache.org/jira/browse/SOLR-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447347#comment-13447347
]
Yonik Seeley commented on SOLR-3755:
------------------------------------
Just committed some more progress.
http://svn.apache.org/viewvc?rev=1380287&view=rev
I started up a ZK cluster with one shard, one node.
curl "http://localhost:8983/solr/admin/cores?core=collection1&action=SPLIT"
The cloud state after looks like
{code}
{"collection1":{
"shard1":{"Rogue:8983_solr_collection1":{
"shard":"shard1",
"roles":null,
"leader":"true",
"state":"active",
"core":"collection1",
"collection":"collection1",
"node_name":"Rogue:8983_solr",
"base_url":"http://Rogue:8983/solr"}},
"shard1_0":{"Rogue:8983_solr_collection1_0":{
"shard":"shard1_0",
"leader":"true",
"roles":null,
"state":"active",
"core":"collection1_0",
"collection":"collection1",
"node_name":"Rogue:8983_solr",
"base_url":"http://Rogue:8983/solr"}},
"shard1_1":{"Rogue:8983_solr_collection1_1":{
"shard":"shard1_1",
"roles":null,
"leader":"true",
"state":"active",
"core":"collection1_1",
"collection":"collection1",
"node_name":"Rogue:8983_solr",
"base_url":"http://Rogue:8983/solr"}}}}
{code}
The original core had 32 docs. After I did a manual commit on both of the new
cores, the first showed 14 docs and the second 18.
> shard splitting
> ---------------
>
> Key: SOLR-3755
> URL: https://issues.apache.org/jira/browse/SOLR-3755
> Project: Solr
> Issue Type: New Feature
> Components: SolrCloud
> Reporter: Yonik Seeley
> Attachments: SOLR-3755.patch, SOLR-3755.patch
>
>
> We can currently easily add replicas to handle increases in query volume, but
> we should also add a way to add additional shards dynamically by splitting
> existing shards.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]