Files
nomad/client
Alex Dadgar 4826d8464e Fix two issues during client restore state
This PR fixes two issues:

1) A close of a nil stopCollection channel when restoring and prestart
fails. The failure will cause the killCh to be triggered which will
close collection before it has been initialized.

2) Fixes a deadlock in which the handleWaitCh is never triggered since
it is not initialized when there is an error in prestart and the killCh
is triggered.

Both fixes are by maintaining the loop invariant that the two channels
are valid after there is a handle.
2017-02-28 10:29:12 -08:00
..
2017-02-27 13:42:37 -08:00
2017-01-10 14:14:58 -08:00
2017-02-14 17:34:05 -08:00
2017-02-27 16:00:19 -08:00
2017-02-20 16:43:28 -08:00
2017-02-01 13:12:46 -08:00
2017-01-31 15:51:20 -08:00
2017-02-22 15:55:33 -08:00
2016-06-10 15:48:36 -04:00
2016-12-01 11:22:51 -08:00