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

solr.xml should fail to load if multiple cores with the same name

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • None
    • None

    Description

      As noted in email a while back...

      http://search.lucidimagination.com/search/document/674bf5dfbbb349bc/multiple_cores_w_same_name_in_solr_xml

      but there is currently no assertion that every core have a name, or that the
      names be unique before the SolrCore is constructed ... it's not until the core is registered that an error will be
      generated if the core name is null, or that the previous core with an identicle name will be close()ed.

      I think we should fail fast if solr.xml specifies the same name more then once

      Attachments

        1. SOLR-1981.patch
          2 kB
          Chris M. Hostetter
        2. SOLR-1981.patch
          2 kB
          Chris M. Hostetter

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment