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/14 22:54:25 UTC

mesos git commit: Tweaked description of framework checkpointing behavior.

Repository: mesos
Updated Branches:
  refs/heads/master 3a143b155 -> 2fd78e6a0


Tweaked description of framework checkpointing behavior.

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


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

Branch: refs/heads/master
Commit: 2fd78e6a0593d75a1e1128af65d7e84fe88ee3c6
Parents: 3a143b1
Author: Neil Conway <ne...@gmail.com>
Authored: Fri Oct 14 15:54:10 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Oct 14 15:54:10 2016 -0700

----------------------------------------------------------------------
 include/mesos/mesos.proto    | 11 +++++++----
 include/mesos/v1/mesos.proto | 11 +++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/2fd78e6a/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index d071431..0017d3d 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -236,10 +236,13 @@ message FrameworkInfo {
   // frameworks typically set this to a large value (e.g., 1 week).
   optional double failover_timeout = 4 [default = 0.0];
 
-  // If set, framework pid, executor pids and status updates are
-  // checkpointed to disk by the slaves. Checkpointing allows a
-  // restarted slave to reconnect with old executors and recover
-  // status updates, at the cost of disk I/O.
+  // If set, agents running tasks started by this framework will write
+  // the framework pid, executor pids and status updates to disk. If
+  // the agent exits (e.g., due to a crash or as part of upgrading
+  // Mesos), this checkpointed data allows the restarted agent to
+  // reconnect to executors that were started by the old instance of
+  // the agent. Enabling checkpointing improves fault tolerance, at
+  // the cost of a (usually small) increase in disk I/O.
   optional bool checkpoint = 5 [default = false];
 
   // Used to group frameworks for allocation decisions, depending on

http://git-wip-us.apache.org/repos/asf/mesos/blob/2fd78e6a/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index 74761a0..def33ef 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -236,10 +236,13 @@ message FrameworkInfo {
   // frameworks typically set this to a large value (e.g., 1 week).
   optional double failover_timeout = 4 [default = 0.0];
 
-  // If set, framework pid, executor pids and status updates are
-  // checkpointed to disk by the agents. Checkpointing allows a
-  // restarted agent to reconnect with old executors and recover
-  // status updates, at the cost of disk I/O.
+  // If set, agents running tasks started by this framework will write
+  // the framework pid, executor pids and status updates to disk. If
+  // the agent exits (e.g., due to a crash or as part of upgrading
+  // Mesos), this checkpointed data allows the restarted agent to
+  // reconnect to executors that were started by the old instance of
+  // the agent. Enabling checkpointing improves fault tolerance, at
+  // the cost of a (usually small) increase in disk I/O.
   optional bool checkpoint = 5 [default = false];
 
   // Used to group frameworks for allocation decisions, depending on