lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <>
Subject [jira] [Commented] (SOLR-10826) CloudSolrClient using unsplit collection list when expanding aliases
Date Fri, 23 Jun 2017 14:58:00 GMT


Varun Thacker commented on SOLR-10826:

Hi Tim,

good catch! seems like a bug introduced by SOLR-9784 . 

I think we should add a test case for this as well? We could write some additional tests in
AliasIntegrationTest ?

> CloudSolrClient using unsplit collection list when expanding aliases
> --------------------------------------------------------------------
>                 Key: SOLR-10826
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 6.4, 6.5.1, 6.6
>            Reporter: Tim Owen
>         Attachments: SOLR-10826.patch
> Some recent refactoring seems to have introduced a bug in SolrJ's CloudSolrClient, when
it's expanding a collection list and resolving aliases, it's using the wrong local variable
for the alias lookup. This leads to an exception because the value is not an alias.
> E.g. suppose you made a request with {{&collection=x,y}} where either or both of
{{x}} and {{y}} are not real collection names but valid aliases. This will fail, incorrectly,
because the lookup is using {{x,y}} as a potential alias name lookup.
> Patch to fix this attached, which was tested locally and fixed the issue.

This message was sent by Atlassian JIRA

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

View raw message