open-nomad/client/allocrunner/taskrunner
Michael Schurter af9096c8ba client: register before restoring
Registration and restoring allocs don't share state or depend on each
other in any way (syncing allocs with servers is done outside of
registration).

Since restoring is synchronous, start the registration goroutine first.

For nodes with lots of allocs to restore or close to their heartbeat
deadline, this could be the difference between becoming "lost" or not.
2019-05-14 10:53:27 -07:00
..
getter
interfaces
restarts
state client: test logmon cleanup 2019-03-04 13:15:15 -08:00
template vault e2e: pass vault version into setup instead of having to infer it from test name 2019-04-10 10:34:10 -05:00
testdata executor/linux: make chroot binary paths absolute 2019-04-01 15:45:31 -07:00
artifact_hook.go client: ensure task is cleaned up when terminal 2019-03-01 14:00:23 -08:00
artifact_hook_test.go client: ensure task is cleaned up when terminal 2019-03-01 14:00:23 -08:00
device_hook.go
device_hook_test.go
dispatch_hook.go
dispatch_hook_test.go
driver_handle.go implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
errors.go
errors_test.go
lazy_handle.go
lifecycle.go client: simplify kill logic 2019-04-04 15:18:33 -07:00
logmon_hook.go retry grpc unavailable errors even if not shutting down 2019-04-25 18:39:17 -04:00
logmon_hook_test.go logmon: make Start rpc idempotent and simplify hook 2019-03-19 14:02:36 -04:00
logmon_hook_unix_test.go try checking process status 2019-04-25 18:16:13 -04:00
service_hook.go
service_hook_test.go
stats_hook.go
stats_hook_test.go
task_dir_hook.go client: ensure task is cleaned up when terminal 2019-03-01 14:00:23 -08:00
task_runner.go client: do not restart dead tasks until server is contacted (try 2) 2019-05-14 10:53:27 -07:00
task_runner_getters.go Merge pull request #5518 from hashicorp/f-simplify-kill 2019-04-15 14:11:58 -07:00
task_runner_hooks.go client: ensure task is cleaned up when terminal 2019-03-01 14:00:23 -08:00
task_runner_test.go client: register before restoring 2019-05-14 10:53:27 -07:00
template_hook.go
validate_hook.go
validate_hook_test.go
vault_hook.go
vault_hook_test.go