[
https://issues.apache.org/jira/browse/SOLR-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christine Poerschke updated SOLR-5326:
--------------------------------------
Attachment: OverseerCollectionProcessor.patch
CollectionsHandler.patch
Uploading patch against 4.4.0 which allows multiple shard= parameters and extra
information at the end of each parameter.
action=SPLITSHARD&shard=shard1/2x3&shard=shard2/4x1
for example will split shard1 and shard2 in parallel, shard1 will be split into
2 sub-shards, shard2 will be split into 4 sub-shards, for shard1 in total 3
replicas will be created but for shard2 only 1 replica will be created. The
extra information at the end of the shard= parameters eventually of course
should go into separate parameters.
> admin/collections?action=SPLITSHARD support for multiple shards
> ---------------------------------------------------------------
>
> Key: SOLR-5326
> URL: https://issues.apache.org/jira/browse/SOLR-5326
> Project: Solr
> Issue Type: New Feature
> Affects Versions: 4.4
> Reporter: Christine Poerschke
> Attachments: CollectionsHandler.patch,
> OverseerCollectionProcessor.patch
>
>
> The problem we saw was that splitting one shard took 'a long time' (around 4
> hours) and with there being 'many' (8 at the time) shards to split and the
> solr overseer serialising action=SPLITSHARD requests a full collection split
> would have taken 'a very long time'.
> Separately, shard splitting distributing replica2, replica3, etc. of each
> shard randomly across machines was not desirable and as in SOLR-5004
> splitting into 'n' rather than '2' sub-shards was useful.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]