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

Erick Erickson updated SOLR-11218:
----------------------------------
    Attachment: SOLR-11218.patch

Changed the title since "beefing up testing" is not controversial at all.

This patch adds some tests but also changes behavior by refusing to delete a 
collection if it's pointed to by an alias.

Comments?

I'm not going to commit this until at least next week sometime to give people a 
chance to comment.

> Return an error when a collection is deleted that's part of an alias
> --------------------------------------------------------------------
>
>                 Key: SOLR-11218
>                 URL: https://issues.apache.org/jira/browse/SOLR-11218
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-11218.patch, SOLR-11218.patch
>
>
> We don't really have good tests that when an alias and collection have the 
> same name "the right thing" happens. In this case, admin operations should 
> operate on the collection rather than the alias.
> Additionally we should have some tests to insure that alias resolution takes 
> precedence for adds and searches in this case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to