Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Allowing aliases and collections to have the same name is fragile and a potentially a data issue. I'll link in a few JIRAs illustrating this and one at least where the discussion gets long.
Straw-man proposal to start things off.
Deprecate this ability now, and enforce it in 9.0.
We have to provide a graceful way for users to get themselves out of the following currently-possible use-case.
- a collection C1 is created and all the front-end uses it.
- users want to atomically switch to a new collection for various reasons
- users create C2 and test it out.
- users create an alias C1->C2
Let's discuss.
Attachments
Issue Links
- duplicates
-
SOLR-11488 Do not allow collections and aliases to have the same name
- Open
- is related to
-
SOLR-13583 Impossible to delete a collection with the same name as an existing alias
- Closed
-
SOLR-13122 Ability to query aliases in Solr Admin UI
- Resolved