Repository: mesos Updated Branches: refs/heads/master c53869e24 -> 6b0a304b5
Updated a comment in the allocator. Revocable resources may come from different sources: usage slack (aka oversubscribed resources), allocation slack (aka optimistic offers). We should not use "oversubscribed" and "revocable" interchangeably. Review: https://reviews.apache.org/r/42633/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d1831a2a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d1831a2a Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d1831a2a Branch: refs/heads/master Commit: d1831a2ad957d5e64d521774e07182c45de3a2c9 Parents: c53869e Author: Alexander Rukletsov <[email protected]> Authored: Tue Feb 9 18:30:57 2016 +0100 Committer: Benjamin Mahler <[email protected]> Committed: Tue Feb 9 20:00:41 2016 +0100 ---------------------------------------------------------------------- src/master/allocator/mesos/hierarchical.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/d1831a2a/src/master/allocator/mesos/hierarchical.hpp ---------------------------------------------------------------------- diff --git a/src/master/allocator/mesos/hierarchical.hpp b/src/master/allocator/mesos/hierarchical.hpp index 1f0c440..20d7ceb 100644 --- a/src/master/allocator/mesos/hierarchical.hpp +++ b/src/master/allocator/mesos/hierarchical.hpp @@ -410,11 +410,11 @@ protected: // algorithm. Each level has its own sorter and hence may have different // fairness calculations. // - // NOTE: The hierarchical allocator considers oversubscribed - // resources as regular resources when doing fairness calculations. + // NOTE: The hierarchical allocator considers revocable resources as + // regular resources when doing fairness calculations. // // TODO(vinod): Consider using a different fairness algorithm for - // oversubscribed resources. + // revocable resources. // A sorter for active roles. This sorter determines the order in which // roles are allocated resources during Level 1 of the second stage.
