diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-04-27 22:46:43 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-27 22:46:43 -0700 |
commit | be317d4a90b3ca906fefeb438f89a09b1c7da5a8 (patch) | |
tree | eb12c7e00e60460cc79d40e6be622e9c8a3ddf4a /project/MimaExcludes.scala | |
parent | ae4e3def5eacb8e383a3535e6c685897fd1aaf4c (diff) | |
download | spark-be317d4a90b3ca906fefeb438f89a09b1c7da5a8.tar.gz spark-be317d4a90b3ca906fefeb438f89a09b1c7da5a8.tar.bz2 spark-be317d4a90b3ca906fefeb438f89a09b1c7da5a8.zip |
[SPARK-10001][CORE] Don't short-circuit actions in signal handlers
## What changes were proposed in this pull request?
The current signal handlers have a subtle bug that stops evaluating registered actions as soon as one of them returns true, this is because `forall` is short-circuited.
This PR adds a strict mapping stage before evaluating returned result.
There are no known occurrences of the bug and this is a preemptive fix.
## How was this patch tested?
As with the original introduction of signal handlers, this was tested manually (unit testing with signals is not straightforward).
Author: Jakob Odersky <jakob@odersky.com>
Closes #12745 from jodersky/SPARK-10001-hotfix.
Diffstat (limited to 'project/MimaExcludes.scala')
0 files changed, 0 insertions, 0 deletions