mirror of https://github.com/apache/lucene.git
SOLR-4467: While looking into what looks like some kind of resource leak, make this hard fail a soft logging fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17cdd3a46b
commit
edba3cc309
|
@ -96,7 +96,8 @@ public abstract class UpdateHandler implements SolrInfoMBean {
|
||||||
File f = new File(tlogDir, file);
|
File f = new File(tlogDir, file);
|
||||||
boolean s = f.delete();
|
boolean s = f.delete();
|
||||||
if (!s) {
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue