lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-5665) Would like a 'REBUILD' method in the collections api to reconstruct missing cores
Date Sat, 25 Jan 2014 16:04:38 GMT


Mark Miller commented on SOLR-5665:

This type of functionality will be part of the "ZooKeeper is cluster truth" mode that is being
developed. Rather than being a command, I think it should actually be fairly automatic.

> Would like a 'REBUILD' method in the collections api to reconstruct missing cores
> ---------------------------------------------------------------------------------
>                 Key: SOLR-5665
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Nathan Neulinger
>         Attachments:
> Test Scenario:
>    Multinode solrCloud deployment
>    Completely delete one of those nodes
>    Bring it back online empty (no cores, no indexes at all)
>    Node will come up with each of the replicas in recovery mode and they will stay there
forever since the cores don't actually exist.
> I've written a small external script that goes and gets the  collections/shards/replicas->core
mapping from clusterstate.json, and then calls the core create url for each core that is in
a down state. This was relatively easy to implement externally - and should be even more trivial
to implement inside of the collections api. 
> I envision this to apply this to all collections:
> http://localhost:8983/solr/admin/collections?action=REBUILD
> and this to apply the operation to a single collection:
> http://localhost:8983/solr/admin/collections?action=REBUILD&name=collname
> Independently, I'd like to see this sort of "server is blank, recreate missing automatically"
triggered automatically, but I can see where that might not be expected behavior. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message