[ 
https://issues.apache.org/jira/browse/SOLR-13584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875003#comment-16875003
 ] 

Erick Erickson commented on SOLR-13584:
---------------------------------------

One proposal for handing the use-case I outlined in the Jira statement is to 
use the Collections RENAME command to rename your original collection to 
something else_._ I have not tested this at all, but "theoretically it should 
work".....

> Explore prohibiting aliases and collections from having the same name.
> ----------------------------------------------------------------------
>
>                 Key: SOLR-13584
>                 URL: https://issues.apache.org/jira/browse/SOLR-13584
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Priority: Major
>
> Allowing aliases and collections to have the same name is fragile and a 
> potentially a data issue. I'll link in a few JIRAs illustrating this and one 
> at least where the discussion  gets long.
> Straw-man proposal to start things off.
> Deprecate this ability now, and enforce it in 9.0.
> We have to provide a graceful way for users to get themselves out of the 
> following currently-possible use-case.
>  * a collection C1 is created and all the front-end uses it.
>  * users want to atomically switch to a new collection for various reasons
>  * users create C2 and test it out.
>  * users create an alias C1->C2
> Let's discuss.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to