lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1447308 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java
Date Mon, 18 Feb 2013 15:17:24 GMT
Author: markrmiller
Date: Mon Feb 18 15:17:23 2013
New Revision: 1447308

URL: http://svn.apache.org/r1447308
Log:
SOLR-4467: While looking into what looks like some kind of resource leak, make this hard fail
a soft logging fail

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java?rev=1447308&r1=1447307&r2=1447308&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/UpdateHandler.java Mon Feb
18 15:17:23 2013
@@ -96,7 +96,8 @@ public abstract class UpdateHandler impl
         File f = new File(tlogDir, file);
         boolean s = f.delete();
         if (!s) {
-          throw new SolrException(ErrorCode.SERVER_ERROR, "Could not remove tlog file:" +
f.getAbsolutePath());
+          log.error("Could not remove tlog file:" + f.getAbsolutePath());
+          //throw new SolrException(ErrorCode.SERVER_ERROR, "Could not remove tlog file:"
+ f.getAbsolutePath());
         }
       }
     }



Mime
View raw message