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

CoreDescriptor holds wrong instance dir for single core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.3
    • None
    • None

    Description

      for single core ,the CoreDescriptor is instantiated with the following code

      CoreDescriptor dcore = new CoreDescriptor(cores, "", cfg.getResourceLoader().getInstanceDir());
      

      and the reload in CoreContainer#create(CoreDescriptor dcore) has a snippet as follows

      File idir = new File(loader.getInstanceDir(), dcore.getInstanceDir());
      

      which will make the idir value something like "solr/solr/" which is wrong

      Attachments

        1. SOLR-753.patch
          0.9 kB
          Noble Paul

        Activity

          People

            Unassigned Unassigned
            noble.paul Noble Paul
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: