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

When defining a core with the same name (discovery mode or not), CoreContainer should throw an error

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3, 6.0
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      When you define a core with the same name as another core (discovery mode definitely, old-style xml probably), last one wins. Which means it's very hard to track down what caused the problem.

      What's worse, the last-encountered core replaces the first one, leading to cores that change an unexpected index.

        Attachments

        1. SOLR-4790.patch
          4 kB
          Erick Erickson
        2. SOLR-4790.patch
          6 kB
          Erick Erickson
        3. SOLR-4790.patch
          9 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: