You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:54:51 UTC

[jira] [Updated] (SOLR-4433) Developer Curb Appeal: automatically cleanup, or at least offer to cleanup, any docs from template index directory

     [ https://issues.apache.org/jira/browse/SOLR-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated SOLR-4433:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Developer Curb Appeal: automatically cleanup, or at least offer to cleanup, any docs from template index directory
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4433
>                 URL: https://issues.apache.org/jira/browse/SOLR-4433
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.1
>            Reporter: Mark Bennett
>             Fix For: 4.8
>
>
> 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.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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