mesosphere/marathon — pull request #913 by iven (2014-12-26 08:44:02+00:00)
Title: Fix deployment stuck when scaling apps

When doing SYNC, Marathon should try to check if the count of current running tasks equals the count of tasks we want to scale to. In the original code, it instead tries to match the count of tasks added this time, which is less than the expected size, so that the current running task size never reaches the expected size.