mirror of https://github.com/apache/druid.git
RealtimeIndexTask: If a Throwable was thrown it is not a normalExit
This commit is contained in:
parent
83b4641e31
commit
7f430d9fde
|
@ -341,11 +341,11 @@ public class RealtimeIndexTask extends AbstractTask
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
normalExit = false;
|
||||
log.makeAlert(e, "Exception aborted realtime processing[%s]", schema.getDataSource())
|
||||
.emit();
|
||||
normalExit = false;
|
||||
throw Throwables.propagate(e);
|
||||
throw e;
|
||||
}
|
||||
finally {
|
||||
if (normalExit) {
|
||||
|
|
Loading…
Reference in New Issue