Repository: mesos
Updated Branches:
  refs/heads/master 937bf8a89 -> f5cb86db5


Fixed a double counting bug for staging tasks.

Review: https://reviews.apache.org/r/28433


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/407cc6b8
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/407cc6b8
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/407cc6b8

Branch: refs/heads/master
Commit: 407cc6b82c42cff9188a2264a378c5bf4d116869
Parents: 937bf8a
Author: Jie Yu <[email protected]>
Authored: Mon Dec 1 17:02:24 2014 -0800
Committer: Jie Yu <[email protected]>
Committed: Tue Dec 2 17:35:46 2014 -0800

----------------------------------------------------------------------
 src/slave/slave.cpp | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/407cc6b8/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index ed63ded..9ac6458 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -1995,8 +1995,6 @@ void Slave::registerExecutor(
                   << " for executor '" << executor->id << "'"
                   << " of framework " << framework->id;
 
-        stats.tasks[TASK_STAGING]++;
-
         RunTaskMessage message;
         message.mutable_framework_id()->MergeFrom(framework->id);
         message.mutable_framework()->MergeFrom(framework->info);

Reply via email to