open-nomad/nomad/deploymentwatcher
Tim Gross b764f52ab9
deploymentwatcher: reset progress deadline on promotion (#10042)
In a deployment with two groups (ex. A and B), if group A's canary becomes
healthy before group B's, the deadline for the overall deployment will be set
to that of group A. When the deployment is promoted, if group A is done it
will not contribute to the next deadline cutoff. Group B's old deadline will
be used instead, which will be in the past and immediately trigger a
deployment progress failure. Reset the progress deadline when the job is
promotion to avoid this bug, and to better conform with implicit user
expectations around how the progress deadline should interact with promotions.
2021-02-22 16:44:03 -05:00
..
batcher.go deploymentwatcher: no batcher when disabling 2020-05-26 14:44:47 -04:00
deployment_watcher.go deploymentwatcher: reset progress deadline on promotion (#10042) 2021-02-22 16:44:03 -05:00
deployments_watcher.go multiregion: use pending instead of paused 2020-06-17 11:06:14 -04:00
deployments_watcher_test.go deploymentwatcher: reset progress deadline on promotion (#10042) 2021-02-22 16:44:03 -05:00
doc.go
multiregion_oss.go multiregion: use pending instead of paused 2020-06-17 11:06:14 -04:00
testutil_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00