Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
4.1
-
None
-
None
Description
When setting up SolrCloud, we have the admin make a copy of example directory into the shard template.
But we issue the warning "Make sure there are no documents present"
Doc reference:
http://lucidworks.lucidimagination.com/display/solr/Getting+Started+with+SolrCloud
Red box: "... On the other hand, make sure also that there are no documents in the example directory before making copies."
We don't say what happens if the data directory is not empty? If this is really bad, then I'm not sure if we should just automatically nuke it, or prompt them, or give a warning and exit, or maybe a command line switch, OR maybe just move it out of the way, maybe renaming it to something with a ".NON-CLOUD-INDEX".
There should be an opportunity to do this. When SolrCloud initializes a new shard node, I believe it knows that this is the first time (based on whether ZooKeeper has persisted this node's shard assignment, etc.)
Attachments
Issue Links
- is part of
-
SOLR-4430 SolrCloud: (epic) improve "Developer Curb Appeal", cleanup Developer Packaging for new devs
- Open