d2iq-archive / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 843 forks source link

Always release lock after scale check. (#7198) #7210

Closed jeschkies closed 4 years ago

jeschkies commented 4 years ago

Summary: MarathonScheuduleActor would not release the lock on a run spec if the scale check for the lock run spec failed.

A scale attempt can fail when the instance of a run spec is removed before we try to set its goal.

JIRA issues: MARATHON-8758

Co-authored-by: Tim Harper tharper@mesosphere.com