Files
nomad/scheduler
Tim Gross 6ed0f4e564 scheduler: DesiredCanaries can be set on every pass safely
The reconcile loop sets `DeploymentState.DesiredCanaries` only on the first
pass through the loop and if the job is not paused/pending. In MRD,
deployments will make one pass though the loop while "pending", and were not
ever getting `DesiredCanaries` set. We can't set it in the initial
`DeploymentState` constructor because the first pass through setting up
canaries expects it's not there yet. However, this value is static for a given
version of a job because it's coming from the update stanza, so it's safe to
re-assign the value on subsequent passes.
2020-07-20 11:25:53 -04:00
..
2018-12-06 15:09:26 -08:00
2017-07-07 12:03:11 -07:00
2020-06-22 10:28:45 -04:00
2020-05-01 13:13:30 -04:00
2018-09-15 16:23:13 -07:00
2020-06-19 09:42:10 -04:00
2018-03-28 12:26:28 -05:00
2017-10-13 14:36:02 -07:00
2020-03-21 16:51:10 -04:00
2020-06-18 11:01:31 -07:00