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

CoreDescriptor holds wrong instance dir for single core

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: