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

SEVERE: Unable to move index file from: tempfile to: indexfile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.4
    • 3.1, 4.0-ALPHA
    • replication (java)
    • None
    • Linux, JDK6,SOLR 1.4

    Description

      SOLR index directory remvoed,but do not know what the reasons for this.

      I add some codes on SnapPuller.java 577 line can reslove this bug.
      line 576
      File indexFileInIndex = new File(indexDir, fname);
      +
      if (!indexDir.exists()) indexDir.mkdir();
      boolean success = indexFileInTmpDir.renameTo(indexFileInIndex);

      Attachments

        1. SnapPuller.patch
          0.5 kB
          wyhw whon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: