On 4/9/2018 2:28 PM, Karthik Ramachandran wrote:
> We are using Solr cloud with 3 nodes, no replication with 8 shard per node
> per collection. We have multiple collection on that node.
>
> We have backup of data the data folder, so we can recover it, is there a
> way to reconstruct core.properties for all the replica's for that node?

If the router in use for a multi-shard collection is compositeId, then
the core.properties file does NOT contain all the information necessary
to restore the shard in the collection.  Part of the information will
ONLY be in zookeeper.  I am thinking specifically the hash range for the
shard.

I think it might be a good idea to write all information necessary to
fully recreate a shard in a collection to core.properties.  Make it
possible to reconstruct a SolrCloud if the zookeeper database is lost. 
Store information currently only in ZK, like the router name, shard hash
range, etc.

Thanks,
Shawn

Reply via email to