open-nomad/nomad
Alex Dadgar c261fe324e Fix a panic during plan evaluation
This PR fixes a potential source of a panic while evaluating a plan with
all_at_once set to true with partial failures.

Fixes #2531
2017-04-10 14:56:21 -07:00
..
mock Fix fsm/env test 2017-01-24 09:36:22 -08:00
state Fix periodic job state 2017-03-27 10:35:36 -07:00
structs Track task start/finish time & improve logs errors 2017-03-31 16:14:11 -07:00
types Change the signature of the PeriodicCallback to return an error 2016-06-10 15:54:39 -04:00
alloc_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
alloc_endpoint_test.go Fix nomad tests 2017-02-07 22:10:33 -08:00
blocked_evals.go Cancel blocked evals upon successful one for job 2017-01-04 16:16:04 -08:00
blocked_evals_test.go Cancel blocked evals upon successful one for job 2017-01-04 16:16:04 -08:00
config.go Require TLS for server RPC when enabled 2017-04-06 09:34:36 -07:00
core_sched.go Eval GC will collect allocs from stopped batch job 2017-03-11 15:48:57 -08:00
core_sched_test.go Eval GC will collect allocs from stopped batch job 2017-03-11 15:48:57 -08:00
eval_broker.go Remove requeue because it is a subset of EnqueueAll now 2016-06-24 10:14:34 -07:00
eval_broker_test.go Remove requeue because it is a subset of EnqueueAll now 2016-06-24 10:14:34 -07:00
eval_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
eval_endpoint_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
fsm.go Fix dispatch of periodic job 2017-03-27 16:55:17 -07:00
fsm_test.go Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
heartbeat.go Nomad builds 2017-02-07 20:31:23 -08:00
heartbeat_test.go Merge pull request #2282 from hashicorp/f-raft-v2-stage-one 2017-02-08 15:26:16 -08:00
job_endpoint.go Fix dispatch of periodic job 2017-03-27 16:55:17 -07:00
job_endpoint_test.go Fix dispatch of periodic job 2017-03-27 16:55:17 -07:00
leader.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
leader_test.go Merge pull request #2282 from hashicorp/f-raft-v2-stage-one 2017-02-08 15:26:16 -08:00
merge.go nomad: adding merge guard for non-nomad servers 2015-06-04 13:15:46 +02:00
node_endpoint.go Fix error checking 2017-03-29 13:59:43 -07:00
node_endpoint_test.go Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
operator_endpoint.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
operator_endpoint_test.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
periodic.go Handle periodic paramaterized jobs 2017-03-01 11:45:20 -08:00
periodic_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
periodic_endpoint_test.go Tests compile 2017-02-07 21:30:57 -08:00
periodic_test.go Handle periodic paramaterized jobs 2017-03-01 11:45:20 -08:00
plan_apply.go Fix a panic during plan evaluation 2017-04-10 14:56:21 -07:00
plan_apply_pool.go nomad: guard against a negative pool size 2016-02-20 15:56:08 -08:00
plan_apply_pool_test.go nomad: Adding Size to EvaluatePool 2016-02-20 13:42:13 -08:00
plan_apply_test.go Tests compile 2017-02-07 21:30:57 -08:00
plan_endpoint.go core: Pause NackTimeout while in the plan_queue as progress is being made 2016-03-04 12:59:35 -08:00
plan_endpoint_test.go eval_broker.Enqueue no longer returns an error 2016-05-18 11:35:15 -07:00
plan_queue.go nomad: cleanup stats goroutines 2015-08-05 16:45:50 -07:00
plan_queue_test.go Fix test to tolerate multiple pending plans with the same time stamp. 2015-12-03 10:52:53 -05:00
pool.go Remove dead code 2017-03-03 18:27:49 -08:00
raft_rpc.go Join + Leave peer 2017-02-02 15:49:06 -08:00
regions_endpoint.go nomad: leader forwarding not needed for regions 2015-11-23 22:27:07 -08:00
regions_endpoint_test.go nomad: testing region list 2015-11-23 22:27:07 -08:00
rpc.go Require TLS for server RPC when enabled 2017-04-06 09:34:36 -07:00
rpc_test.go nomad: modify forward RPC to hold when no known leader 2016-07-10 13:36:55 -04:00
serf.go Handle Serf Reap event 2017-02-13 14:22:54 -08:00
serf_test.go Handle Serf Reap event 2017-02-13 14:22:54 -08:00
server.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
server_test.go Require TLS for server RPC when enabled 2017-04-06 09:34:36 -07:00
status_endpoint.go Respond to comments 2017-02-08 14:50:19 -08:00
status_endpoint_test.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
system_endpoint.go Making servers reconcile job summaries when they acquire leadership 2016-08-05 16:47:36 -07:00
system_endpoint_test.go Tests compile 2017-02-07 21:30:57 -08:00
timetable.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
timetable_test.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
util.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
util_test.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
vault.go remove leading slash on vault path 2017-02-28 14:03:18 -08:00
vault_test.go Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
vault_testing.go Add server metrics 2017-02-14 16:02:18 -08:00
worker.go Nomad builds 2017-02-07 20:31:23 -08:00
worker_test.go Tests compile 2017-02-07 21:30:57 -08:00