Skip to content

Commit

Permalink
[FLINK-8931] TASK_KILLING is not covered by match in TaskMonitor#when…
Browse files Browse the repository at this point in the history
…Unhandled

This closes apache#5744.
  • Loading branch information
yanghua authored and tillrohrmann committed Mar 23, 2018
1 parent cc94090 commit 6384aa7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class TaskMonitor(
LOG.warn(s"Mesos task ${goal.taskID.getValue} failed unexpectedly.")
context.parent ! TaskTerminated(goal.taskID, msg.status())
stop()
case TASK_KILLING => stay()
}

case Event(msg: StatusUpdate, StateData(goal: Released)) =>
Expand All @@ -175,6 +176,7 @@ class TaskMonitor(
LOG.info(s"Mesos task ${goal.taskID.getValue} exited as planned.")
context.parent ! TaskTerminated(goal.taskID, msg.status())
stop()
case TASK_KILLING => stay()
}
}

Expand Down

0 comments on commit 6384aa7

Please sign in to comment.