Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
9.0, 8.11.2, 9.1
-
None
-
None
Description
Renaming a collection results in a broken alias (name as the source param) pointing to a non-existent collection (named as the target param).
Steps to reproduce:
- First create a new collection
bin/solr create -c films -s 2 -rf 2
- Second issue rename call
> curl -X POST "http://127.0.0.1:8983/solr/admin/collections?action=RENAME&name=films&target=morefilms" { "responseHeader":{ "status":0, "QTime":125}}
This will create an alias called 'films' pointing to a collection named 'morefilms', when it should be the other way around.
> curl -X GET http://localhost:8983/api/cluster/aliases { "responseHeader": { "status": 0, "QTime": 0 }, "aliases": { "films": "morefilms" }, "properties": {} }
Attachments
Attachments
Issue Links
- links to