Skip to content

Commit

Permalink
Made DominantShareAllocator call allocate() once a framework has been
Browse files Browse the repository at this point in the history
activated (contributed by Vinod Kone,
https://reviews.apache.org/r/6116).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1364874 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
benh committed Jul 24, 2012
1 parent 8a0259d commit caff34a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/master/dominant_share_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ void DominantShareAllocator::frameworkActivated(
CHECK(!frameworks.contains(frameworkId));

frameworks[frameworkId] = frameworkInfo;

LOG(INFO) << "Activated framework " << frameworkId;

allocate();
}


Expand Down

0 comments on commit caff34a

Please sign in to comment.