You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2019/04/02 10:52:00 UTC

[jira] [Commented] (SOLR-13262) Implement collection RENAME command

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

Andrzej Bialecki  commented on SOLR-13262:
------------------------------------------

This patch implements the RENAME command using the alias functionality. It contains several other related changes:
 * allow using alias names in lieu of real collection names in all collection admin commands. Operations are always performed on the underlying real collections, it's just that their names can now stay hidden behind aliases.
 * collection admin commands use a special call to resolve the real collection name, which prevents from accidentally using compound aliases (ie. those that point to more than 1 collection) for admin operations.
 * when creating a collection Solr now always sets up the corresponding alias (simplifies the conditionals in all other commands). The alias can be set to the same name as the collection name, or a different name (effectively combining two calls - create collection + create alias)
 * aliases support one level of indirection (alias -> alias -> collection), but currently deleting aliases didn't handle for the second level. Now both DeleteAlias and RENAME perform changes to both levels of indirection.

> Implement collection RENAME command
> -----------------------------------
>
>                 Key: SOLR-13262
>                 URL: https://issues.apache.org/jira/browse/SOLR-13262
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.0, master (9.0)
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>             Fix For: 8.1, master (9.0)
>
>         Attachments: SOLR-13262.patch
>
>
> There's no RENAME collection command, which makes it unnecessarily difficult to manage long-term collection life-cycles.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org