Repository: mesos
Updated Branches:
  refs/heads/master 4b13bbfed -> a4eed9235


Enabled protobuf arenas code generation.

This adds `option cc_enable_arenas = true;` to those protobuf
files that have messages used within `install` handlers.

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


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

Branch: refs/heads/master
Commit: a4eed9235492f7d90fe80890a308707ab3d7ed38
Parents: 4b13bbf
Author: Dmitry Zhuk <dz...@twopensource.com>
Authored: Wed Oct 11 18:59:46 2017 -0700
Committer: Benjamin Mahler <bmah...@apache.org>
Committed: Wed Oct 11 19:18:48 2017 -0700

----------------------------------------------------------------------
 include/mesos/authentication/authentication.proto | 2 ++
 include/mesos/master/master.proto                 | 2 ++
 include/mesos/mesos.proto                         | 2 ++
 include/mesos/scheduler/scheduler.proto           | 2 ++
 src/messages/log.proto                            | 1 +
 src/messages/messages.proto                       | 2 ++
 6 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/include/mesos/authentication/authentication.proto
----------------------------------------------------------------------
diff --git a/include/mesos/authentication/authentication.proto 
b/include/mesos/authentication/authentication.proto
index 3869d6b..411bfd1 100644
--- a/include/mesos/authentication/authentication.proto
+++ b/include/mesos/authentication/authentication.proto
@@ -18,6 +18,8 @@ syntax = "proto2";
 
 package mesos.internal;
 
+option cc_enable_arenas = true;
+
 option java_package = "org.apache.mesos";
 option java_outer_classname = "Protos";
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/include/mesos/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/master/master.proto 
b/include/mesos/master/master.proto
index 79be497..87083be 100644
--- a/include/mesos/master/master.proto
+++ b/include/mesos/master/master.proto
@@ -24,6 +24,8 @@ import "mesos/quota/quota.proto";
 
 package mesos.master;
 
+option cc_enable_arenas = true;
+
 option java_package = "org.apache.mesos.master";
 option java_outer_classname = "Protos";
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 830985a..ba87339 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -18,6 +18,8 @@ syntax = "proto2";
 
 package mesos;
 
+option cc_enable_arenas = true;
+
 option java_package = "org.apache.mesos";
 option java_outer_classname = "Protos";
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/include/mesos/scheduler/scheduler.proto
----------------------------------------------------------------------
diff --git a/include/mesos/scheduler/scheduler.proto 
b/include/mesos/scheduler/scheduler.proto
index 0528a7e..f82f74d 100644
--- a/include/mesos/scheduler/scheduler.proto
+++ b/include/mesos/scheduler/scheduler.proto
@@ -20,6 +20,8 @@ import "mesos/mesos.proto";
 
 package mesos.scheduler;
 
+option cc_enable_arenas = true;
+
 option java_package = "org.apache.mesos.scheduler";
 option java_outer_classname = "Protos";
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/src/messages/log.proto
----------------------------------------------------------------------
diff --git a/src/messages/log.proto b/src/messages/log.proto
index ca740bd..88a489c 100644
--- a/src/messages/log.proto
+++ b/src/messages/log.proto
@@ -18,6 +18,7 @@ syntax = "proto2";
 
 package mesos.internal.log;
 
+option cc_enable_arenas = true;
 
 // Represents a "promise" that a replica has made. A promise is
 // *implicitly* valid for _all_ future actions that get performed on

http://git-wip-us.apache.org/repos/asf/mesos/blob/a4eed923/src/messages/messages.proto
----------------------------------------------------------------------
diff --git a/src/messages/messages.proto b/src/messages/messages.proto
index afca6d1..0a32b34 100644
--- a/src/messages/messages.proto
+++ b/src/messages/messages.proto
@@ -21,6 +21,8 @@ import "mesos/resource_provider/resource_provider.proto";
 
 package mesos.internal;
 
+option cc_enable_arenas = true;
+
 // TODO(benh): Consider splitting these messages into different "packages"
 // which represent which messages get handled by which components (e.g., the
 // "mesos.executor" package includes messages that the executor handles).

Reply via email to