Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13584

Explore prohibiting aliases and collections from having the same name.

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              erickerickson Erick Erickson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: