[ 
https://issues.apache.org/jira/browse/SOLR-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792692#comment-13792692
 ] 

Shalin Shekhar Mangar commented on SOLR-5308:
---------------------------------------------

For splitting a single source shard into a single target collection/shard by a 
route key such as:
{code}
/admin/collections?action=migrate&collection=collection1&split.key=A!&shard=shardX&target.collection=collection2&target.shard=shardY
{code}
A rough strategy could be to:
# Create new core X on source
# Create new core Y on target
# Ask target core to buffer updates
# Start forwarding updates for route key received by source shard to target 
collection
# Split source shard to a new core X
# Ask Y to replicate fully from X
# Core Admin merge Y to target core
# Ask target core to replay buffer updates


> Split all documents of a route key into another collection
> ----------------------------------------------------------
>
>                 Key: SOLR-5308
>                 URL: https://issues.apache.org/jira/browse/SOLR-5308
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.6, 5.0
>
>
> Enable SolrCloud users to split out a set of documents from a source 
> collection into another collection.
> This will be useful in multi-tenant environments. This feature will make it 
> possible to split a tenant out of a collection and put them into their own 
> collection which can be scaled separately.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to