Repository: mesos
Updated Branches:
  refs/heads/master f6614b425 -> dbf73c53f


Expanded labels comment in mesos.proto.

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


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

Branch: refs/heads/master
Commit: dbf73c53f25495db7b21729109778d8d2b1825b7
Parents: f6614b4
Author: Niklas Nielsen <[email protected]>
Authored: Mon Dec 1 12:41:55 2014 -0800
Committer: Niklas Q. Nielsen <[email protected]>
Committed: Mon Dec 1 12:43:24 2014 -0800

----------------------------------------------------------------------
 include/mesos/mesos.proto | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dbf73c53/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 0085aba..e0b6375 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -630,8 +630,12 @@ message TaskInfo {
   // A health check for the task (currently in *alpha* and initial
   // support will only be for TaskInfo's that have a CommandInfo).
   optional HealthCheck health_check = 8;
-  // Labels are free-form key value pairs which are exposed
-  // through master and slave endpoints.
+
+  // Labels are free-form key value pairs which are exposed through
+  // master and slave endpoints. Labels will not be interpreted or
+  // acted upon by Mesos itself. As opposed to the data field, labels
+  // will be kept in memory on master and slave processes. Therefore,
+  // labels should be used to tag tasks with light-weight meta-data.
   repeated Label labels = 10;
 }
 

Reply via email to