Fail all stages on abrupt termination #22652

This commit is contained in:
Johan Andrén 2017-04-28 11:11:50 +02:00 committed by GitHub
parent 7ca40a8518
commit 87b28d0dc5
23 changed files with 307 additions and 72 deletions

View file

@ -546,7 +546,7 @@ import scala.util.control.NonFatal
if (enabled) shutdownCounter(logic.stageId) |= KeepGoingFlag
else shutdownCounter(logic.stageId) &= KeepGoingMask
private def finalizeStage(logic: GraphStageLogic): Unit = {
private[stream] def finalizeStage(logic: GraphStageLogic): Unit = {
try {
logic.postStop()
logic.afterPostStop()