open-nomad/client/allocrunner
Michael Schurter d7e5ace1ed client: do not restart dead tasks until server is contacted
Fixes #1795

Running restored allocations and pulling what allocations to run from
the server happen concurrently. This means that if a client is rebooted,
and has its allocations rescheduled, it may restart the dead allocations
before it contacts the server and determines they should be dead.

This commit makes tasks that fail to reattach on restore wait until the
server is contacted before restarting.
2019-05-14 10:53:27 -07:00
..
interfaces client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
state stale allocation data leads to incorrect (and even negative) metrics (#5637) 2019-05-07 15:54:36 -04:00
taskrunner client: do not restart dead tasks until server is contacted 2019-05-14 10:53:27 -07:00
alloc_runner.go client: do not restart dead tasks until server is contacted 2019-05-14 10:53:27 -07:00
alloc_runner_hooks.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
alloc_runner_test.go Update deployment health on failed allocations only if health is unset 2019-05-02 22:59:56 -05:00
alloc_runner_unix_test.go client: emit event and call exited hooks during cleanup 2019-03-05 15:12:02 -08:00
allocdir_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
config.go client/drivermananger: add driver manager 2018-12-18 22:55:18 -05:00
health_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
health_hook_test.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
migrate_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
testing.go client: add proper build flag to allocrunner testing.go 2018-12-19 20:22:07 -05:00
upstream_allocs_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
util.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00