You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/09/03 17:42:14 UTC
[lucene-solr] branch reference_impl_dev updated: @725 Tighten.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 3f0a312 @725 Tighten.
3f0a312 is described below
commit 3f0a31253b67c14122c36a34cb7d4572af2c1965
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Sep 3 12:41:58 2020 -0500
@725 Tighten.
---
solr/core/src/java/org/apache/solr/update/UpdateHandler.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/update/UpdateHandler.java b/solr/core/src/java/org/apache/solr/update/UpdateHandler.java
index 6dde152..0baa28e 100644
--- a/solr/core/src/java/org/apache/solr/update/UpdateHandler.java
+++ b/solr/core/src/java/org/apache/solr/update/UpdateHandler.java
@@ -163,9 +163,12 @@ UpdateHandler implements SolrInfoBean, Closeable {
} else {
ourUpdateLog = updateLog;
}
- } catch (Exception e) {
+ } catch (Throwable e) {
IOUtils.closeQuietly(ourUpdateLog);
ObjectReleaseTracker.release(this);
+ if (e instanceof Error) {
+ throw e;
+ }
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);
} finally {
ulog = ourUpdateLog;