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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.4
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: replication (java)
    • Labels:
      None
    • Environment:

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: