lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Commented] (SOLR-11218) Fail and return an error when attempting to delete a collection that's part of an alias
Date Wed, 10 Jan 2018 02:34:00 GMT


Steve Rowe commented on SOLR-11218:

My Jenkins found a reproducing failure after the {{4471c1b}} commit on this issue - note that
this seed reproduces only if I remove {{-Dtests.method=testParse}} from the repro cmdline;
likely one of the other tests in this suite isn't cleaning up properly:

   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TimeRoutedAliasUpdateProcessorTest
-Dtests.method=testParse -Dtests.seed=F40339E427E83E40 -Dtests.slow=true -Dtests.locale=es-PE
-Dtests.timezone=Asia/Pontianak -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.07s J3  | TimeRoutedAliasUpdateProcessorTest.testParse <<<
   [junit4]    > Throwable #1: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at Collection : myalias_2017-10-24 is part
of alias myalias remove or modify the alias before removing this collection.
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([F40339E427E83E40:9B8672BC9B9E0DAF]:0)
   [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(
   [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(
   [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(
   [junit4]    > 	at org.apache.solr.update.processor.TimeRoutedAliasUpdateProcessorTest.doBefore(
   [junit4]    > 	at

> Fail and return an error when attempting to delete a collection that's part of an alias
> ---------------------------------------------------------------------------------------
>                 Key: SOLR-11218
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>             Fix For: 7.3
>         Attachments: SOLR-11218.patch, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message