Fail all stages on abrupt termination #22652
This commit is contained in:
parent
7ca40a8518
commit
87b28d0dc5
23 changed files with 307 additions and 72 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue