ooici/epu — pull request #5 by labisso (2013-02-01 23:56:00+00:00)
Title: Rework PD terminate_process

- better validation of parameters
- don't try to terminate any process in a terminal state, not just
>= TERMINATED
- log process state changes
- fix race where TERMINATED heartbeats could be received before
TERMINATING state was set -- this resulted in the PD assuming
a erroneous termination, and restarting the process!