open-nomad/scheduler
Alex Dadgar a9ec1d6ca7 Fix update limit calculation to avoid panic
This PR fixes the rolling update limit calculation to avoid a panic when
there are more allocations for a deployment that haven't determined
their health than the max_parallel count of the task group.

Fixes https://github.com/hashicorp/nomad/issues/2820
2017-07-19 11:11:47 -07:00
..
annotate.go Show canaries on plan 2017-07-07 12:03:11 -07:00
annotate_test.go Show canaries on plan 2017-07-07 12:03:11 -07:00
context.go Nomad builds 2017-02-07 20:31:23 -08:00
context_test.go Fix tests 2017-05-01 13:54:26 -07:00
feasible.go Feedback addressed 2017-03-09 21:36:27 -08:00
feasible_test.go Fix tests 2017-05-01 13:54:26 -07:00
generic_sched.go Stop before trying to place 2017-07-17 17:18:12 -07:00
generic_sched_test.go Fix deep copy of driver config 2017-07-17 17:53:21 -07:00
propertyset.go Fix in-place update 2017-03-09 22:03:10 -08:00
rank.go Renaming LocalDisk to EphemeralDisk (#1710) 2016-09-14 15:43:42 -07:00
rank_test.go Fix tests 2017-05-01 13:54:26 -07:00
reconcile.go Fix update limit calculation to avoid panic 2017-07-19 11:11:47 -07:00
reconcile_test.go Fix update limit calculation to avoid panic 2017-07-19 11:11:47 -07:00
reconcile_util.go Treat destructive updates atomically 2017-07-16 10:35:38 -07:00
scheduler.go cancel deployments 2017-07-07 12:01:17 -07:00
select.go Speling police 2016-05-15 09:41:34 -07:00
select_test.go scheduler: Adding SetLimit to LimitIterator 2015-09-11 12:01:22 -07:00
stack.go Split distinct property and host iterator and add iterator to system stack 2017-03-08 19:00:10 -08:00
stack_test.go Implemented SetPrefferingNodes in stack 2016-08-30 16:17:50 -07:00
system_sched.go Rolling node drains using max_parallel and stagger 2017-07-07 12:12:48 -07:00
system_sched_test.go non-purge deregisters 2017-04-15 17:08:05 -07:00
testing.go Rename CreateDeployments and remove cancelling behavior in state_store 2017-07-07 12:10:04 -07:00
util.go Stop before trying to place 2017-07-17 17:18:12 -07:00
util_test.go Remove canary 2017-07-07 12:10:04 -07:00