[
https://issues.apache.org/jira/browse/SOLR-13262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808838#comment-16808838
]
Andrzej Bialecki commented on SOLR-13262:
------------------------------------------
[~gus_heck] - these are very good points, thanks.
I'm inclined to initially forbid renaming router aliases, at least for now. I
believe eventually it can be supported but it needs more changes in the way
routed aliases work (eg. storing the initial alias as a "prefixName" property
in the alias properties, so that the current alias name wouldn't be used for
constructing / parsing of collection names).
I'm also inclined to forbid sending updates to a non-routed alias that consists
of more than 1 collection - the current behavior is documented but other than
that it's unintuitive and misleading - a scenario where users would want an
update to succeed if they accidentally send it to a multi-collection alias
seems very unlikely? Of course, if it's there I'm sure someone uses and relies
on it, so there would be a back-compat aspect of this change...
Collection admin commands rarely make sense, too, if the alias points to more
than 1 collection. We could either refuse supporting any aliases (which was the
situation before this patch ;) ) or accept only requests that refer to 1:1
aliases. Hence the need for recognizing this specific sub-class of alias.
Re: documentation - yes, this needs clarification, which I'm happy to provide
once we're ready with the functionality.
> 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: [email protected]
For additional commands, e-mail: [email protected]