[
https://issues.apache.org/jira/browse/SOLR-18602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-18602:
----------------------------------
Labels: pull-request-available (was: )
> 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]