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())
|
log.makeAlert(e, "Exception aborted realtime processing[%s]", schema.getDataSource())
|
||||||
.emit();
|
.emit();
|
||||||
normalExit = false;
|
throw e;
|
||||||
throw Throwables.propagate(e);
|
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
if (normalExit) {
|
if (normalExit) {
|
||||||
|
|
Loading…
Reference in New Issue