open-nomad/nomad/state
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
..
autopilot.go remove node events for state track changing pr 2020-09-04 10:23:35 -04:00
autopilot_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
deployment_events_test.go Events/mv structs (#9430) 2020-11-23 14:01:10 -05:00
events.go Events/acl events (#9595) 2020-12-11 10:40:50 -05:00
events_test.go Events/acl events (#9595) 2020-12-11 10:40:50 -05:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
schema_test.go remove event durability (#9147) 2020-10-22 12:21:03 -04:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go deploymentwatcher: reset progress deadline on promotion (#10042) 2021-02-22 16:44:03 -05:00
state_store_oss.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
state_store_test.go ignore setting job summary when oldstatus == newstatus (#9884) 2021-01-25 10:34:27 -05:00
testing.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00