You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ka...@apache.org on 2017/08/18 17:38:16 UTC

[6/7] mesos git commit: Synchronized comment in v1 and unversioned master.proto.

Synchronized comment in v1 and unversioned master.proto.

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


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

Branch: refs/heads/1.4.x
Commit: 9dd08ece26532985d8ff041c3f93a6c543cbfe57
Parents: 6fa5327
Author: Kapil Arya <ka...@mesosphere.io>
Authored: Fri Aug 18 09:19:15 2017 -0400
Committer: Kapil Arya <ka...@mesosphere.io>
Committed: Fri Aug 18 13:36:35 2017 -0400

----------------------------------------------------------------------
 include/mesos/v1/master/master.proto | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/9dd08ece/include/mesos/v1/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/master/master.proto b/include/mesos/v1/master/master.proto
index c3fb31d..4ded0a8 100644
--- a/include/mesos/v1/master/master.proto
+++ b/include/mesos/v1/master/master.proto
@@ -360,7 +360,7 @@ message Response {
     // `recovered` field set to true.
     //
     // TODO(neilc): Remove this field in Mesos 2.0.
-    repeated FrameworkInfo recovered_frameworks = 3;
+    repeated FrameworkInfo recovered_frameworks = 3 [deprecated=true];
   }
 
   // Lists information about all the executors known to the master at the
@@ -374,11 +374,10 @@ message Response {
 
     repeated Executor executors = 1;
 
-    // As of Mesos 1.2, this field will always be empty.
+    // As of Mesos 1.3.0, this field is deprecated and will always be empty.
     //
-    // TODO(neilc): Remove this field after a deprecation cycle starting
-    // in Mesos 1.2.
-    repeated Executor orphan_executors = 2;
+    // TODO(neilc): Remove this field in Mesos 2.0.
+    repeated Executor orphan_executors = 2 [deprecated=true];
   }
 
   // Lists information about all the tasks known to the master at the current
@@ -407,11 +406,10 @@ message Response {
     // acknowledged by the scheduler.
     repeated Task completed_tasks = 3;
 
-    // As of Mesos 1.2, this field will always be empty.
+    // As of Mesos 1.3.0, this field is deprecated and will always be empty.
     //
-    // TODO(neilc): Remove this field after a deprecation cycle starting
-    // in Mesos 1.2.
-    repeated Task orphan_tasks = 4;
+    // TODO(neilc): Remove this field in Mesos 2.0.
+    repeated Task orphan_tasks = 4 [deprecated=true];
   }
 
   // Provides information about every role that is on the role whitelist (if