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

CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.2.1, 4.3, 6.0
    • SolrCloud
    • None

    Description

            if (coreContainer.getZkController() != null) {
              if (coreContainer.getCore(name) != null) {
                log.info("Re-creating a core with existing name is not allowed in cloud mode");
                throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
                    "Core with name '" + name + "' already exists.");
              }
            }
      

      Attachments

        Activity

          People

            markrmiller@gmail.com Mark Miller
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: