Details
-
Story
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Aurora is declining Mesos offers in various scenarios:
- when launching a task, the remaining resources of the offer are declined implicitly
- when compacting multiple offers of a slave into a single one
Whenever we do this, we don't pass a Filter and therefore use the default of 5 seconds. This tells Mesos to return the resources to us only after a timeout of 5 seconds, even if there is no other framework that wants them.
This is not a problem if you have large clusters. However for small clusters or clusters with little available free resources this can lead to Aurora unnecessarily throttling itself.In addition, this might lead to tasks being scheduled on nodes which have be been put into maintenance mode.