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

Amrit Sarkar commented on SOLR-18602:
-------------------------------------

[~psalagnac] [~dsmiley] Fix is at 
[#5259|https://github.com/apache/solr/pull/5259]. {{DELETEREPLICA}} with 
{{count}} now resolves aliases like the other paths do. It's small and sits 
next to SOLR-18589, so the two could be reviewed together.

> DELETEREPLICA with count ignores followAliases
> ----------------------------------------------
>
>                 Key: SOLR-18602
>                 URL: https://issues.apache.org/jira/browse/SOLR-18602
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Amrit Sarkar
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: SOLR-18602-failing-test.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{DELETEREPLICA}} by {{count}} fails when {{collection}} is an alias, even 
> with {{followAliases=true}}:
> {noformat}
> /admin/collections?action=DELETEREPLICA&collection=myAlias&shard=shard1&count=1&followAliases=true
> {noformat}
> returns {{Could not find collection : myAlias}}.
> {{DeleteReplicaCmd.call}} routes count requests to 
> {{deleteReplicaBasedOnCount}} before it reads {{followAliases}}, and 
> {{deleteReplicaBasedOnCount}} looks up {{collection}} as given. Deleting by 
> replica name ({{replica=...}}) resolves the alias and works.
> Expected: resolve the alias in the count path too, with or without {{shard}}.
> Found while writing tests for SOLR-18589.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to