[ 
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

Patch, all tests pass as does precommit.

I deleted a test in CloudSolrClientTest that created an alias to a collection 
then deleted the collection, tries to add a doc and is expected to fail.

You can't delete the collection out from under the alias now, and you can't 
create an alias that points to a non-existent collection so this test seems 
unnecessary. 

I'll commit this this week sometime unless there are objections.

> Fail and return an error when attempting to delete a collection 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, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to