You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/12/08 01:06:23 UTC
[8/9] mesos git commit: Removed an inaccurate comment.
Removed an inaccurate comment.
Review: https://reviews.apache.org/r/54387/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/89c72283
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/89c72283
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/89c72283
Branch: refs/heads/master
Commit: 89c722839b14098c6c9f6563123b408b70140266
Parents: 310864a
Author: Neil Conway <ne...@gmail.com>
Authored: Wed Dec 7 17:04:53 2016 -0800
Committer: Vinod Kone <vi...@gmail.com>
Committed: Wed Dec 7 17:05:51 2016 -0800
----------------------------------------------------------------------
src/master/master.cpp | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/89c72283/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 588b8cc..353e6ea 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -7240,9 +7240,6 @@ void Master::failoverFramework(Framework* framework, const UPID& newPid)
void Master::_failoverFramework(Framework* framework)
{
// Remove the framework's offers (if they weren't removed before).
- // We do this after we have updated the pid and sent the framework
- // registered message so that the allocator can immediately re-offer
- // these resources to this framework if it wants.
foreach (Offer* offer, utils::copy(framework->offers)) {
allocator->recoverResources(
offer->framework_id(), offer->slave_id(), offer->resources(), None());