lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1658090 - /lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
Date Sat, 07 Feb 2015 18:12:24 GMT
Author: markrmiller
Date: Sat Feb  7 18:12:24 2015
New Revision: 1658090

URL: http://svn.apache.org/r1658090
Log:
SOLR-6920, SOLR-6640: Do not log an error when a file does not exist for comparison.

Modified:
    lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java?rev=1658090&r1=1658089&r2=1658090&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
(original)
+++ lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
Sat Feb  7 18:12:24 2015
@@ -889,6 +889,9 @@ public class SnapPuller {
           return compareResult;
         }
       }
+    } catch (NoSuchFileException | FileNotFoundException e) {
+      compareResult.equal = false;
+      return compareResult;
     } catch (IOException e) {
       LOG.error("Could not read file " + filename + ". Downloading it again", e);
       compareResult.equal = false;



Mime
View raw message