Solr
  1. Solr
  2. SOLR-1822

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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);

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Mark Miller
              Reporter:
              wyhw whon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development