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/10/21 21:15:30 UTC
[6/8] mesos git commit: Changed description of TASK_GONE.
Changed description of TASK_GONE.
Review: https://reviews.apache.org/r/52801/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/976a1ebc
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/976a1ebc
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/976a1ebc
Branch: refs/heads/master
Commit: 976a1ebcd8ecc336a91dcc384a3c5f11df4faec1
Parents: c4b69ec
Author: Neil Conway <ne...@gmail.com>
Authored: Fri Oct 21 14:13:36 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Oct 21 14:13:36 2016 -0700
----------------------------------------------------------------------
include/mesos/mesos.proto | 10 ++++++----
include/mesos/v1/mesos.proto | 10 ++++++----
2 files changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/976a1ebc/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 9a268dd..22ce886 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -1536,10 +1536,12 @@ enum TaskState {
// may or may not still be running.
TASK_UNREACHABLE = 10;
- // The task was running on an agent that has been shutdown (e.g.,
- // the agent become partitioned, rebooted, and then reconnected to
- // the master; any tasks running before the reboot will transition
- // from UNREACHABLE to GONE). The task is no longer running.
+ // The task is no longer running. This can occur if the agent has
+ // been terminated along with all of its tasks (e.g., the host that
+ // was running the agent was rebooted). It might also occur if the
+ // task was terminated due to an agent or containerizer error, or if
+ // the task was preempted by the QoS controller in an
+ // oversubscription scenario.
TASK_GONE = 11; // TERMINAL.
// The task was running on an agent that the master cannot contact;
http://git-wip-us.apache.org/repos/asf/mesos/blob/976a1ebc/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index 855377f..d113283 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -1535,10 +1535,12 @@ enum TaskState {
// may or may not still be running.
TASK_UNREACHABLE = 10;
- // The task was running on an agent that has been shutdown (e.g.,
- // the agent become partitioned, rebooted, and then reconnected to
- // the master; any tasks running before the reboot will transition
- // from UNREACHABLE to GONE). The task is no longer running.
+ // The task is no longer running. This can occur if the agent has
+ // been terminated along with all of its tasks (e.g., the host that
+ // was running the agent was rebooted). It might also occur if the
+ // task was terminated due to an agent or containerizer error, or if
+ // the task was preempted by the QoS controller in an
+ // oversubscription scenario.
TASK_GONE = 11; // TERMINAL.
// The task was running on an agent that the master cannot contact;