mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Marshall" <>
Subject Re: Review Request 13620: Fix the Allocator to recover resources when a slave/framework is removed
Date Mon, 19 Aug 2013 20:39:23 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 19, 2013, 8:39 p.m.)

Review request for mesos, Benjamin Hindman and Vinod Kone.


Ben's review - added helpers to the Framework and Slave structs for allocating and deallocating.

Bugs: MESOS-621

Repository: mesos-git


Previously, when a slave or framework was removed the allocator didn't recover the associated
resources, instead relying on the master calling Allocator::resourcesRecovered for all resources
allocated. This was difficult to reason about and meant that the allocator's state was sometimes
inconsistent with the reality of the cluster (for example, a framework could have resources
allocated to it on a slave that had been removed), so this patch fixes this.

This also solves a problem with the upcoming implementation of revocation where resources
were recovered from a removed framework and the allocator didn't know what that framework's
role is because it had been removed.

Diffs (updated)

  src/master/hierarchical_allocator_process.hpp 183b205 
  src/master/master.cpp d53b8bb 



make check


Thomas Marshall

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message