author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,157
16.03.2017 13:37:37
25,200
16298e7f0ee364222b8d4f00a9e137c1798c0fa9
Augmented a test to check protobuf::stripAllocationInfo. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/protobuf_utils_tests.cpp", "new_path": "src/tests/protobuf_utils_tests.cpp", "diff": "@@ -64,28 +64,29 @@ TEST(ProtobufUtilTest, GetRoles)\n}\n-// Tests that offer operations can be injected to include\n-// the appropriate allocation info, if not alr...
C++
Apache License 2.0
apache/mesos
Augmented a test to check protobuf::stripAllocationInfo. Review: https://reviews.apache.org/r/57631/
46,056
16.03.2017 21:38:16
-3,600
09efd575e9525fd5b9efd6c127f5a53dba5af8d5
Used `os::DEV_NULL` instead of plain "/dev/null" in checker library.
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -365,7 +365,7 @@ Future<int> CheckerProcess::commandCheck()\ns = process::subprocess(\ncommand.value(),\n- Subprocess::PATH(\"/dev/null\"),\n+ Subprocess::PATH(os::DEV_NULL),\nSubproces...
C++
Apache License 2.0
apache/mesos
Used `os::DEV_NULL` instead of plain "/dev/null" in checker library.
46,159
16.03.2017 13:00:22
25,200
09623fc4c5707b90f138d9f6c73b0368b58f60ce
Replaced Boost Type Traits with STL in stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/json.hpp", "new_path": "3rdparty/stout/include/stout/json.hpp", "diff": "#include <type_traits>\n#include <vector>\n-#include <boost/type_traits/is_arithmetic.hpp>\n-#include <boost/utility/enable_if.hpp>\n#include <boost/variant.h...
C++
Apache License 2.0
apache/mesos
Replaced Boost Type Traits with STL in stout. Review: https://reviews.apache.org/r/57689/
46,159
16.03.2017 13:01:27
25,200
1c2a077ec74f52aabda9bba2c5847469b311f4f4
Replaced Boost Type Traits with STL in libprocess. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/async.hpp", "new_path": "3rdparty/libprocess/include/process/async.hpp", "diff": "#ifndef __ASYNC_HPP__\n#define __ASYNC_HPP__\n-#include <boost/type_traits.hpp> // TODO(benh): Use C++11 type_traits.\n+#include <type_traits>...
C++
Apache License 2.0
apache/mesos
Replaced Boost Type Traits with STL in libprocess. Review: https://reviews.apache.org/r/57690/
46,159
16.03.2017 13:04:51
25,200
10d6547d648a3f26ab2ae77a48d9158bb24c2010
Enabled `AsyncExecutorProcess::execute()` via a template parameter. This change moves the enabler from function parameter to template parameter to simplify the function invocations. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/async.hpp", "new_path": "3rdparty/libprocess/include/process/async.hpp", "diff": "@@ -77,19 +77,21 @@ private:\nAsyncExecutorProcess(const AsyncExecutorProcess&);\nAsyncExecutorProcess& operator=(const AsyncExecutorProcess&)...
C++
Apache License 2.0
apache/mesos
Enabled `AsyncExecutorProcess::execute()` via a template parameter. This change moves the enabler from function parameter to template parameter to simplify the function invocations. Review: https://reviews.apache.org/r/57691/
46,078
28.02.2017 12:00:06
28,800
b4324db841950aad48d7cafcf39f3bb30fe0fcc3
Bumped up the number of args allowed in some libprocess templates. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/async.hpp", "new_path": "3rdparty/libprocess/include/process/async.hpp", "diff": "@@ -60,7 +60,7 @@ Future<Nothing> async(\nENUM_BINARY_PARAMS(N, A, a), \\\ntypename std::enable_if<std::is_void<typename result_of<F(ENUM_PARA...
C++
Apache License 2.0
apache/mesos
Bumped up the number of args allowed in some libprocess templates. Review: https://reviews.apache.org/r/57520
46,055
17.03.2017 09:30:56
-28,800
8dd18dfd4cdc7d4f341950da262ff84697145368
Corrected the order of the committer list. The committers in the list should be ordered by committer's last name.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -96,6 +96,20 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td></td>\n<td>ianh@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+8</td>\n+ <td>Haosdent Huang</td>\n+...
C++
Apache License 2.0
apache/mesos
Corrected the order of the committer list. The committers in the list should be ordered by committer's last name.
46,089
17.03.2017 10:28:08
25,200
62161ac4416323b7373cc5e2a63b285f6f510d11
No need to set `agent_subsystems` for all the slave tests. We do not specifically depend on or test them, and since the logic of moving the slave into its own cgroup is done outside of the `Slave` class now, setting the `agent_subsystems` in the tests would have no effect. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -971,12 +971,6 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_PERF_PerfForward)\nslave::Flags flags = CreateSlaveFlags();\nflags.iso...
C++
Apache License 2.0
apache/mesos
No need to set `agent_subsystems` for all the slave tests. We do not specifically depend on or test them, and since the logic of moving the slave into its own cgroup is done outside of the `Slave` class now, setting the `agent_subsystems` in the tests would have no effect. Review: https://reviews.apache.org/r/57712/
46,181
17.03.2017 11:30:06
25,200
af5f259d4edddaad465611b88774240555f4ecb0
Synchronize "v1" and unversioned copies of several files.
[ { "change_type": "MODIFY", "old_path": "include/mesos/attributes.hpp", "new_path": "include/mesos/attributes.hpp", "diff": "@@ -28,6 +28,7 @@ namespace mesos {\nstd::ostream& operator<<(std::ostream& stream, const Attribute& attribute);\n+\nclass Attributes\n{\npublic:\n@@ -39,6 +40,7 @@ public:\nat...
C++
Apache License 2.0
apache/mesos
Synchronize "v1" and unversioned copies of several files.
46,181
26.01.2017 11:47:29
28,800
d0cd96b8f920b28ec27c0f6ae9cb8f2101dc1d50
Fixed typos and cleaned up some text in the docs.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -575,7 +575,7 @@ without `DiscoveryInfo`. For instance, tasks may be made non discoverable to\nother frameworks (equivalent to `visibility=FRAMEWORK`) ...
C++
Apache License 2.0
apache/mesos
Fixed typos and cleaned up some text in the docs.
46,188
13.03.2017 17:03:16
25,200
a8527e05b101d56538d09648e8fbae254b1d9a19
Added a test to test the cgroup limit swap functionality. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "#include <stout/format.hpp>\n#include <stout/gtest.hpp>\n+#include <mesos/v1/scheduler.hpp>\n+\n#include \"slave/containerizer/mesos...
C++
Apache License 2.0
apache/mesos
Added a test to test the cgroup limit swap functionality. Review: https://reviews.apache.org/r/57575
46,165
18.03.2017 14:02:23
-28,800
c05eab4f4dfc87555cd131c82d9792cb71a796f4
Introduced a Roles tab in the webui. Initially, this includes the weight, number of frameworks involved with the role, and the resource allocation. Longer term this should include the quota information and the revocable resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1583,6 +1583,7 @@ nobase_dist_pkgdata_DATA += \\\nwebui/master/static/maintenance.html \\\nwebui/master/static/offers.html \\\nwebui/master/static/pailer.html \\\n+ webui/master/static/roles.html \\...
C++
Apache License 2.0
apache/mesos
Introduced a Roles tab in the webui. Initially, this includes the weight, number of frameworks involved with the role, and the resource allocation. Longer term this should include the quota information and the revocable resources. Review: https://reviews.apache.org/r/57622/
46,145
19.03.2017 09:09:12
25,200
b61cab7ff496401ec84b63865093eeb3c75b6444
Added a utility function to get back non-loopback address on the host. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/utils.cpp", "new_path": "src/tests/utils.cpp", "diff": "namespace http = process::http;\nnamespace inet = process::network::inet;\n+using std::set;\nusing std::string;\nusing process::Future;\n@@ -183,6 +184,33 @@ string getWebUIDir()\nreturn path;\n...
C++
Apache License 2.0
apache/mesos
Added a utility function to get back non-loopback address on the host. Review: https://reviews.apache.org/r/57628/
46,145
19.03.2017 09:09:15
25,200
e7f756d75f77a57893be926ac4c19389b70c5bbf
Fixed some coding style issues. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/utils.cpp", "new_path": "src/tests/utils.cpp", "diff": "@@ -103,6 +103,7 @@ string getModulePath(const string& name)\nreturn path::join(path, os::libraries::expandName(name));\n}\n+\nstring getLibMesosPath()\n{\nstring path = path::join(\n@@ -118,6 +...
C++
Apache License 2.0
apache/mesos
Fixed some coding style issues. Review: https://reviews.apache.org/r/57719/
46,145
19.03.2017 09:09:17
25,200
2467fa4977f45f0350900b28b61f5dfb4ab2ae70
Added test for CNI port-mapper plugin. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "#include <process/clock.hpp>\n-#include <stout/ip.hpp>\n-\n#include \"slave/containerizer/fetcher.hpp\"\n#include \"slave/containerizer/meso...
C++
Apache License 2.0
apache/mesos
Added test for CNI port-mapper plugin. Review: https://reviews.apache.org/r/53264/
46,188
19.03.2017 09:48:47
25,200
5324b5999145116d95b3c324f443cf0a70c78356
Adjusted the ordering in CNI tests file.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -191,78 +191,6 @@ public:\n};\n-class CniIsolatorPortMapperTest : public CniIsolatorTest\n-{\n-public:\n- virtual void SetUp()\n- {\n- Cn...
C++
Apache License 2.0
apache/mesos
Adjusted the ordering in CNI tests file.
46,056
20.03.2017 19:38:08
-3,600
dcae184ebe939fd3c8346f01c1cfbd0b924dc920
Updated the style guide with escape rules for IDs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/c++-style-guide.md", "new_path": "docs/c++-style-guide.md", "diff": "@@ -52,6 +52,7 @@ void Slave::statusUpdate(StatusUpdate update, const UPID& pid)\n## Strings\n* Strings used in log and error messages should end without a period.\n+* ID values in log a...
C++
Apache License 2.0
apache/mesos
Updated the style guide with escape rules for IDs. Review: https://reviews.apache.org/r/57789
46,136
16.03.2017 11:35:51
25,200
e0c54017313843502cd808cfa568d43417476b03
Modified a test to also check if the data was written to the volume. Previously, it was possbile that the directory exists but does not link to the persistent volume. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1421,6 +1421,7 @@ TEST_P(PersistentVolumeDefaultExecutor, ROOT_PersistentResources)\nflags.authenticate_http_readwrite = false;\nflags.launcher = param.laun...
C++
Apache License 2.0
apache/mesos
Modified a test to also check if the data was written to the volume. Previously, it was possbile that the directory exists but does not link to the persistent volume. Review: https://reviews.apache.org/r/57700
46,108
21.03.2017 06:14:30
25,200
05e9a1d40572b8383a582e15663d861b134a7dad
Added `virtualenv` as a dependency in `getting-started.md`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/getting-started.md", "new_path": "docs/getting-started.md", "diff": "@@ -47,7 +47,7 @@ Following are the instructions for stock Ubuntu 14.04. If you are using a differ\n$ sudo apt-get install -y autoconf libtool\n# Install other Mesos dependencies.\n- $ s...
C++
Apache License 2.0
apache/mesos
Added `virtualenv` as a dependency in `getting-started.md`. Review: https://reviews.apache.org/r/57713/
46,208
22.03.2017 10:37:35
25,200
b5ecabb152983a1376c1046d6e46685d58970d2c
Added Eric Chung to contributors.yaml. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: dzhuk\nreviewboard_user: dzhuk\n+- name: Eric Chung\n+ affiliations:\n+ - {organization: Uber}\n+ emails:\n+ - cinchurge@gmail.com\n+ jira_user: cinchurge\n+ reviewboard_user: c...
C++
Apache License 2.0
apache/mesos
Added Eric Chung to contributors.yaml. Review: https://reviews.apache.org/r/57825/
46,062
23.03.2017 11:53:02
25,200
b2279c500a24410437e3abe6e4b372da67b0471a
Removed printing of `rbt` version in `post-reviews.py`.
[ { "change_type": "MODIFY", "old_path": "support/post-reviews.py", "new_path": "support/post-reviews.py", "diff": "@@ -79,7 +79,6 @@ if platform.system() == 'Windows':\nrbt_command = 'rbt.cmd'\nrbt_version = execute([rbt_command, '--version'], ignore_errors=True)\n-print rbt_version\nif rbt_version:\...
C++
Apache License 2.0
apache/mesos
Removed printing of `rbt` version in `post-reviews.py`.
46,210
23.03.2017 21:33:27
-3,600
47e04a4fc4b5d3b40616409a26003e9ec4596ec1
Fixed flags logging in Docker executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "@@ -724,8 +724,6 @@ int main(int argc, char** argv)\nreturn EXIT_FAILURE;\n}\n- std::cout << stringify(flags) << std::endl;\n-\nmesos::internal::logging::initialize(argv[0], flags, true)...
C++
Apache License 2.0
apache/mesos
Fixed flags logging in Docker executor. Review: https://reviews.apache.org/r/57889/
46,177
23.03.2017 12:07:17
25,200
82e4077ceb40e84c2796be43f1448eec0bfd7c69
Windows: Fixed usage of WindowsError in stat.hpp. This changes two error messages from using `WindowsError` to plain old `Error`. Using `WindowsError` gives the false impression that the error comes from the syscall, rather than from an invocation of a stout helper.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/stat.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/stat.hpp", "diff": "@@ -169,9 +169,7 @@ inline Try<dev_t> dev(\nstruct _stat s;\nif (follow == DO_NOT_FOLLOW_SYMLINK) {\n- return WindowsError(\n- ERROR_NOT...
C++
Apache License 2.0
apache/mesos
Windows: Fixed usage of WindowsError in stat.hpp. This changes two error messages from using `WindowsError` to plain old `Error`. Using `WindowsError` gives the false impression that the error comes from the syscall, rather than from an invocation of a stout helper.
46,114
23.03.2017 12:09:50
25,200
322300ff0432d32aea10cf71830596e938e6e4a6
Fixed 'all be it' typo. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/dispatch.hpp", "new_path": "3rdparty/libprocess/include/process/dispatch.hpp", "diff": "@@ -41,7 +41,7 @@ namespace process {\n// this mechanism for varying numbers of function types and arguments\n// requires support for va...
C++
Apache License 2.0
apache/mesos
Fixed 'all be it' typo. Review: https://reviews.apache.org/r/57859/
46,056
23.03.2017 17:10:59
-3,600
3f73a9250f5767cf1fc5f6777d04f9845f3e8eb3
Improved logging on a fatal condition in command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -893,7 +893,7 @@ private:\n}\ncase CheckInfo::UNKNOWN: {\n- CHECK_NE(CheckInfo::UNKNOWN, taskData->taskInfo.check().type());\n+ LOG(FATAL) << \"UNKNOWN check type is invalid\";\nb...
C++
Apache License 2.0
apache/mesos
Improved logging on a fatal condition in command executor. Review: https://reviews.apache.org/r/57773/
46,056
23.03.2017 17:11:07
-3,600
0d9d32898d0cc2422236cf9c70a17ca1d583b910
Moved health checker closer to container in default executor. With the recent introduction of the `Container` struct in the default executor, tasks' health checkers should be moved to this struct. Also, health checking is stopped on per-task basis and not on shutdown. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -89,6 +89,9 @@ private:\nTaskID taskId;\nTaskGroupInfo taskGroup; // Task group of the child container.\n+ // Health checker for the container.\n+ Option<Owned<che...
C++
Apache License 2.0
apache/mesos
Moved health checker closer to container in default executor. With the recent introduction of the `Container` struct in the default executor, tasks' health checkers should be moved to this struct. Also, health checking is stopped on per-task basis and not on shutdown. Review: https://reviews.apache.org/r/56449/
46,056
23.03.2017 17:11:12
-3,600
8093c866db0805e6c25d5b3c15c1cb6fa2bf91f8
Added a warning if default executor gets an unknown acknowledgement. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -196,9 +196,16 @@ public:\n}\ncase Event::ACKNOWLEDGED: {\n+ const UUID uuid = UUID::fromBytes(event.acknowledged().uuid()).get();\n+\n+ if (!unacknowledgedUpdates...
C++
Apache License 2.0
apache/mesos
Added a warning if default executor gets an unknown acknowledgement. Review: https://reviews.apache.org/r/57694/
46,056
23.03.2017 17:11:27
-3,600
7a4f62a7b3f35e7923ac6b6a83a2c22f3f866dc7
Added support for general checks to default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "#include <stout/os.hpp>\n#include <stout/uuid.hpp>\n+#include \"checks/checker.hpp\"\n#include \"checks/health_checker.hpp\"\n#include \"common/http.hpp\"\n@@ -91,6 +...
C++
Apache License 2.0
apache/mesos
Added support for general checks to default executor. Review: https://reviews.apache.org/r/56217/
46,056
23.03.2017 17:11:33
-3,600
9ce5b026922d27c24b63acc90b367a979ea5f1d2
Overloaded `<<` for `CheckStatusInfo`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -251,6 +251,11 @@ std::ostream& operator<<(\nconst CapabilityInfo& capabilityInfo);\n+std::ostream& operator<<(\n+ std::ostream& stream,\n+ const CheckStatusInfo& checkStatu...
C++
Apache License 2.0
apache/mesos
Overloaded `<<` for `CheckStatusInfo`. Review: https://reviews.apache.org/r/57696/
46,056
23.03.2017 17:11:40
-3,600
966833886efd9ba55b30c5ff225ce5691294e7bf
Added check tests for command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-#include <mesos/mesos.hpp>\n+#include <memory>\n+#include <string>\n+#incl...
C++
Apache License 2.0
apache/mesos
Added check tests for command executor. Review: https://reviews.apache.org/r/56213/
46,056
23.03.2017 17:11:47
-3,600
b465444a4454ee6d1b4d14539be8112e7baa76bf
Added a check test for default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -112,6 +112,7 @@ namespace tests {\n// are elements of the cartesian product `executor-type` x `check-type`\n// and are split into groups by `executor-type`:\n// * command executo...
C++
Apache License 2.0
apache/mesos
Added a check test for default executor. Review: https://reviews.apache.org/r/56218/
46,056
23.03.2017 17:11:53
-3,600
0a6b8ac24b20a2b9e60591e7c449d5e04678e473
Bailed out in docker executor if a check is specified. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "@@ -251,6 +251,8 @@ public:\n// the run future.\n}));\n+ inspect.onReady(defer(self(), &Self::launchCheck, task));\n+\ninspect.onReady(\ndefer(self(), &Self::launchHealthCheck, container...
C++
Apache License 2.0
apache/mesos
Bailed out in docker executor if a check is specified. Review: https://reviews.apache.org/r/57774/
46,056
24.03.2017 00:32:54
-3,600
47f16b909f3eec5c757ef57b3c96538cf5a70b07
Updated blog post section in the release guide. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -257,6 +257,12 @@ This guide describes the process of doing an official release of Mesos.\n4. Write a blog post announcing the new release and its features and major bug\nfixes. Include a...
C++
Apache License 2.0
apache/mesos
Updated blog post section in the release guide. Review: https://reviews.apache.org/r/57784/
46,139
24.03.2017 00:44:34
-3,600
37b9772b6f21776e2ad1269e6262f05628454bf4
Improved failure message in `MesosContainerizer::remove()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -2398,7 +2398,7 @@ Future<Nothing> MesosContainerizerProcess::remove(\nconst ContainerID rootContainerId = protobuf::getRootContainerId...
C++
Apache License 2.0
apache/mesos
Improved failure message in `MesosContainerizer::remove()`. Review: https://reviews.apache.org/r/57648/
46,139
24.03.2017 00:44:43
-3,600
b97d682a91dbbb9312d13425c7832dace14aa799
Improved the wording in COMMAND health check logs. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "@@ -400,8 +400,7 @@ Future<Nothing> HealthCheckerProcess::commandHealthCheck()\n}\nreturn Failure(\n- \"Command has not returned after \" + stringify(timeout) +\n- \"; aborti...
C++
Apache License 2.0
apache/mesos
Improved the wording in COMMAND health check logs. Review: https://reviews.apache.org/r/56288/
46,139
24.03.2017 00:48:50
-3,600
4bbfaebb793b3f08e9acf1f358e881da02b4a068
Added support for COMMAND health checks to default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "#include <mesos/mesos.hpp>\n+#include <mesos/agent/agent.hpp>\n+\n#include <process/collect.hpp>\n#include <process/delay.hpp>\n#include <process/dispatch.hpp>\n#include <sto...
C++
Apache License 2.0
apache/mesos
Added support for COMMAND health checks to default executor. Review: https://reviews.apache.org/r/55901/
46,139
24.03.2017 00:49:14
-3,600
85edc8f078adb513c20bc913b9e17fb5c5bbe78c
Enabled pause/resume for health checks. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "@@ -201,11 +201,15 @@ HealthChecker::~HealthChecker()\n}\n-void HealthChecker::stop()\n+void HealthChecker::pause()\n{\n- LOG(INFO) << \"Health checking stopped\";\n+ dispatc...
C++
Apache License 2.0
apache/mesos
Enabled pause/resume for health checks. Review: https://reviews.apache.org/r/57645/
46,139
24.03.2017 00:50:04
-3,600
0c0fbc57bed2ab26dff516491c6264f37d14cd4f
Made COMMAND health checks resilient to agent failovers. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "#include <process/collect.hpp>\n#include <process/delay.hpp>\n#include <process/dispatch.hpp>\n+#include <process/future.hpp>\n#include <process/http.hpp>\n#include <process/...
C++
Apache License 2.0
apache/mesos
Made COMMAND health checks resilient to agent failovers. Review: https://reviews.apache.org/r/57646/
46,139
24.03.2017 00:50:32
-3,600
9ff4b5172d5aaffd68133d438ee845ad542e6cb6
Refrained from reusing check's `ContainerID` in COMMAND health checks. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "#include <stout/strings.hpp>\n#include <stout/try.hpp>\n#include <stout/unreachable.hpp>\n+#include <stout/uuid.hpp>\n#include <stout/os/constants.hpp>\n#include <stout/os/ki...
C++
Apache License 2.0
apache/mesos
Refrained from reusing check's `ContainerID` in COMMAND health checks. Review: https://reviews.apache.org/r/57647/
46,210
24.03.2017 05:46:13
-3,600
b416dbe0f092f032edfa89f2f9e9c41239603ec9
Docker environment gets passed on docker run command. Removes the use of `--env_file` as that does not support newlines in environment variable values. Also avoids leaking of possibly sensitive environment variables to the log. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/docker.cpp", "new_path": "src/docker/docker.cpp", "diff": "@@ -805,43 +805,11 @@ Future<Option<int>> Docker::run(\nargv.push_back(stringify(options.memory->bytes()));\n}\n- string environmentVariables;\n-\nforeachpair(const string& key, const string...
C++
Apache License 2.0
apache/mesos
Docker environment gets passed on docker run command. Removes the use of `--env_file` as that does not support newlines in environment variable values. Also avoids leaking of possibly sensitive environment variables to the log. Review: https://reviews.apache.org/r/57846/
46,210
24.03.2017 06:05:05
-3,600
814aafab2e45d15d51ba61f59a0a267e45f85adf
Removed containerizer flag logging to prevent leak of sensitive data. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/posix/executor.cpp", "new_path": "src/launcher/posix/executor.cpp", "diff": "@@ -116,11 +116,14 @@ pid_t launchTaskPosix(\nlaunchFlags.launch_info = JSON::protobuf(launchInfo);\n+ // TODO(tillt): Consider using a flag allowing / disallowing the\n+...
C++
Apache License 2.0
apache/mesos
Removed containerizer flag logging to prevent leak of sensitive data. Review: https://reviews.apache.org/r/57764/
46,210
24.03.2017 06:55:46
-3,600
df05e921a98af42caab7cc144b97700cefa72a31
Fixed environment overwrite warning to not leak possibly sensitive data. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.cpp", "new_path": "src/slave/containerizer/mesos/launch.cpp", "diff": "@@ -653,6 +653,10 @@ int MesosContainerizerLaunch::execute()\n// specified, inherit the environment of the current process.\nOption<os::raw::Envp> envp;...
C++
Apache License 2.0
apache/mesos
Fixed environment overwrite warning to not leak possibly sensitive data. Review: https://reviews.apache.org/r/57763/
46,210
24.03.2017 06:57:42
-3,600
71a9feffd768d8857da34e2d6d06cd765403ccbc
Fixed environment duplication in command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -465,20 +465,52 @@ protected:\n// TODO(josephw): Windows tasks will inherit the environment\n// from the executor for now. Change this if a Windows isolator\n// ever uses the `--t...
C++
Apache License 2.0
apache/mesos
Fixed environment duplication in command executor. Review: https://reviews.apache.org/r/57762/
46,128
24.03.2017 10:00:30
25,200
7a267c9eb0c979780d8d735e1c861a7f3aa28748
Renamed a constant. Renamed the constant containing the default basic HTTP authenticator's name to accommodate the addition of the default JWT authenticator. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -950,11 +950,12 @@ Result<Authenticator*> createBasicAuthenticator(\nif (credentials.isNone()) {\nreturn Error(\n\"No credentials provided for the default '\" +\n- string(internal::DEFAULT_HT...
C++
Apache License 2.0
apache/mesos
Renamed a constant. Renamed the constant containing the default basic HTTP authenticator's name to accommodate the addition of the default JWT authenticator. Review: https://reviews.apache.org/r/57665/
46,128
24.03.2017 10:00:40
25,200
faf0c08721b5461de14304ec763dd80377b4fe95
Added the '--executor_secret_key' agent flag. Added a new agent flag, `--executor_secret_key` to allow the specification of a secret key to be used when generating and authenticating default executor tokens. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -1403,6 +1403,15 @@ Maximum number of completed executors per framework to store\nin memory. (default: 150)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --executor_secret_key=VALUE\n+ </td>\n+ <td>\n+...
C++
Apache License 2.0
apache/mesos
Added the '--executor_secret_key' agent flag. Added a new agent flag, `--executor_secret_key` to allow the specification of a secret key to be used when generating and authenticating default executor tokens. Review: https://reviews.apache.org/r/57664/
46,128
24.03.2017 10:00:50
25,200
ede794446284c5a68dd0ca205e0fee12edfa501c
Added the '--authenticate_http_executors' agent flag. This patch adds a new agent flag, `--authenticate_http_executors`, which requires authentication on the V1 executor API and loads the default JWT authenticator. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -127,8 +127,7 @@ HTTP authenticator implementation to use when handling requests to\nauthenticated endpoints. Use the default\n<code>basic</code>, or load an alternate\nHTTP authenticator...
C++
Apache License 2.0
apache/mesos
Added the '--authenticate_http_executors' agent flag. This patch adds a new agent flag, `--authenticate_http_executors`, which requires authentication on the V1 executor API and loads the default JWT authenticator. Review: https://reviews.apache.org/r/57666/
46,128
24.03.2017 10:00:59
25,200
3e62a134210f1ea3f5de8b02f761d2e50898b70d
Enabled authentication on the V1 executor API. This patch updates the `v1/executor` endpoint on the agent to route through the correct authentication realm, so that the agent may require authentication on the executor API. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "@@ -142,6 +142,9 @@ constexpr char READONLY_HTTP_AUTHENTICATION_REALM[] = \"mesos-agent-readonly\";\n// Name of the agent HTTP authentication realm for read-write endpoints.\nconstexpr c...
C++
Apache License 2.0
apache/mesos
Enabled authentication on the V1 executor API. This patch updates the `v1/executor` endpoint on the agent to route through the correct authentication realm, so that the agent may require authentication on the executor API. Review: https://reviews.apache.org/r/57670/
46,128
24.03.2017 10:01:06
25,200
1bb7ed28977d9b03c6a9162e8d8d10c7420a47f9
Allowed the agent to require executor authentication. This patch updates the agent initialization code to make use of the new `--authenticate_http_executors` flag. When the flag is set, authentication is required on the executor realm and the JWT authenticator is loaded. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "#include <mesos/authorizer/authorizer.hpp>\n#include <mesos/module/http_authenticator.hpp>\n+#include <process/authenticator.hpp>\n#include <process/dispatch.hpp>\n#include <process/future.hpp>\...
C++
Apache License 2.0
apache/mesos
Allowed the agent to require executor authentication. This patch updates the agent initialization code to make use of the new `--authenticate_http_executors` flag. When the flag is set, authentication is required on the executor realm and the JWT authenticator is loaded. Review: https://reviews.apache.org/r/57671/
46,165
16.03.2017 15:33:56
25,200
10d7988ee5948bc45518e7c1c339a371c4bf151f
Added multi-role framework support to the CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "+Release Notes - Mesos - Version 1.3.0 (WIP)\n+-------------------------------------------\n+This release contains the following new features:\n+\n+ * [MESOS-1763] - Support for frameworks to receive resources for ...
C++
Apache License 2.0
apache/mesos
Added multi-role framework support to the CHANGELOG. Review: https://reviews.apache.org/r/57707
46,128
25.03.2017 12:04:11
25,200
dfdd9bde5f67861a19083d0a173e683ec569fb63
Added support for auth tokens to the V1 executor library. This patch adds support for authentication tokens to the V1 default executor library. The tokens are loaded from a pre-determined environment variable, if present. Review:
[ { "change_type": "MODIFY", "old_path": "src/executor/executor.cpp", "new_path": "src/executor/executor.cpp", "diff": "@@ -223,6 +223,11 @@ public:\nupid.id +\n\"/api/v1/executor\");\n+ value = os::getenv(\"MESOS_EXECUTOR_AUTHENTICATION_TOKEN\");\n+ if (value.isSome()) {\n+ authenticationToken = valu...
C++
Apache License 2.0
apache/mesos
Added support for auth tokens to the V1 executor library. This patch adds support for authentication tokens to the V1 default executor library. The tokens are loaded from a pre-determined environment variable, if present. Review: https://reviews.apache.org/r/57615/
46,128
25.03.2017 12:04:14
25,200
0fea4c5fb4ab785cf8c6d6db9e288391a8705e65
Added support for auth tokens to the default executor. This patch updates the default executor to extract an authentication token from its environment when present, and use this token to authenticate with the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -120,7 +120,8 @@ public:\nconst ExecutorID& _executorId,\nconst ::URL& _agent,\nconst string& _sandboxDirectory,\n- const string& _launcherDirectory)\n+ const stri...
C++
Apache License 2.0
apache/mesos
Added support for auth tokens to the default executor. This patch updates the default executor to extract an authentication token from its environment when present, and use this token to authenticate with the agent. Review: https://reviews.apache.org/r/57808/
46,128
25.03.2017 12:04:22
25,200
2fc8033624b0119e4ef77fa864f7735f07b3175f
Added a output operator overload for Secret::Type. This patch adds an `operator<<` overload for the `Secret::Type` protobuf enum to facilitate logging. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -322,6 +322,9 @@ std::ostream& operator<<(\nstd::ostream& operator<<(std::ostream& stream, const Image::Type& imageType);\n+std::ostream& operator<<(std::ostream& stream, co...
C++
Apache License 2.0
apache/mesos
Added a output operator overload for Secret::Type. This patch adds an `operator<<` overload for the `Secret::Type` protobuf enum to facilitate logging. Review: https://reviews.apache.org/r/57929/
46,128
25.03.2017 12:04:49
25,200
8b6ddb5fcae38dcfad27cb5dae26b4054773134f
Updated the agent to generate executor secrets. This patch updates the agent code to generate executor authentication tokens when executor authentication is enabled. For now, the generated `Secret` objects must be of `VALUE` type, and they're passed directly into the executor environment. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "#include \"common/protobuf_utils.hpp\"\n#include \"common/resources_utils.hpp\"\n#include \"common/status_utils.hpp\"\n+#include \"common/validation.hpp\"\n#include \"credentials/credentials.hpp...
C++
Apache License 2.0
apache/mesos
Updated the agent to generate executor secrets. This patch updates the agent code to generate executor authentication tokens when executor authentication is enabled. For now, the generated `Secret` objects must be of `VALUE` type, and they're passed directly into the executor environment. Review: https://reviews.apac...
46,128
25.03.2017 12:05:09
25,200
873497f2718f91d86746ce2266376c7f442c8c5f
Fixed invocations of 'executorEnvironment' in the tests. This patch updates invocations of `executorEnvironment` in the tests to use the function's new signature, which accepts an authentication token. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/mesos_containerizer_tests.cpp", "new_path": "src/tests/containerizer/mesos_containerizer_tests.cpp", "diff": "#include <stout/uuid.hpp>\n#include \"slave/flags.hpp\"\n+#include \"slave/slave.hpp\"\n#include \"slave/containerizer/fetcher...
C++
Apache License 2.0
apache/mesos
Fixed invocations of 'executorEnvironment' in the tests. This patch updates invocations of `executorEnvironment` in the tests to use the function's new signature, which accepts an authentication token. Review: https://reviews.apache.org/r/57747/
46,128
25.03.2017 12:05:15
25,200
95dcb6faf19f4af7850a4cdbe9acdbb8b2aff4a3
Enabled executor authentication in the tests. This patch sets the `--authenticate_http_executors` and `--executor_secret_key` flags by default in the tests, and it updates the test cluster code to load a secret generator when those flags are set. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/cluster.cpp", "new_path": "src/tests/cluster.cpp", "diff": "@@ -536,6 +536,8 @@ Slave::~Slave()\nslave::READONLY_HTTP_AUTHENTICATION_REALM);\nprocess::http::authentication::unsetAuthenticator(\nslave::READWRITE_HTTP_AUTHENTICATION_REALM);\n+ process:...
C++
Apache License 2.0
apache/mesos
Enabled executor authentication in the tests. This patch sets the `--authenticate_http_executors` and `--executor_secret_key` flags by default in the tests, and it updates the test cluster code to load a secret generator when those flags are set. Review: https://reviews.apache.org/r/57748/
46,128
25.03.2017 12:05:19
25,200
2f6bb1fdd6f4872583e723851bd87ed09378d547
Turned off executor authentication in the ExecutorHttpApiTests. This patch turns off executor authentication in the ExecutorHttpApiTests, since authentication is not related to the functionality they are meant to test. Since executor tokens depend on the FrameworkID/ExecutorID/ContainerID of the executor, it would be d...
[ { "change_type": "MODIFY", "old_path": "src/tests/executor_http_api_tests.cpp", "new_path": "src/tests/executor_http_api_tests.cpp", "diff": "@@ -84,7 +84,24 @@ namespace tests {\nclass ExecutorHttpApiTest\n: public MesosTest,\n- public WithParamInterface<ContentType> {};\n+ public WithParamInterfac...
C++
Apache License 2.0
apache/mesos
Turned off executor authentication in the ExecutorHttpApiTests. This patch turns off executor authentication in the ExecutorHttpApiTests, since authentication is not related to the functionality they are meant to test. Since executor tokens depend on the FrameworkID/ExecutorID/ContainerID of the executor, it would be ...
46,128
25.03.2017 12:05:22
25,200
4050eb2c9d24ebc68fbf2efdc3e0601e50e1aacd
Updated 'SchedulerTest.TaskGroupRunning'. This patch updates the test `SchedulerTest.TaskGroupRunning` to confirm that the agent-side code responsible for launching task groups works correctly. Previously, this test only verified that the `RunTaskGroupMessage` was sent to the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/scheduler_tests.cpp", "new_path": "src/tests/scheduler_tests.cpp", "diff": "#include <process/metrics/metrics.hpp>\n+#include <stout/hashset.hpp>\n#include <stout/lambda.hpp>\n#include <stout/try.hpp>\n@@ -529,9 +530,6 @@ TEST_P(SchedulerTest, TaskRu...
C++
Apache License 2.0
apache/mesos
Updated 'SchedulerTest.TaskGroupRunning'. This patch updates the test `SchedulerTest.TaskGroupRunning` to confirm that the agent-side code responsible for launching task groups works correctly. Previously, this test only verified that the `RunTaskGroupMessage` was sent to the agent. Review: https://reviews.apache.org...
46,128
25.03.2017 12:05:24
25,200
3f9bf3798188c384253ab3c31c3dba4831aec48b
Turned on executor authentication in the 'DefaultExecutorTests'. Now that executor authentication has been added, this patch enables authentication for the agent's operator endpoint in the DefaultExecutorTests. This is only done when build with SSL, since executor authentication currently has SSL as a dependency. Revie...
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -80,7 +80,24 @@ namespace tests {\nclass DefaultExecutorTest\n: public MesosTest,\n- public WithParamInterface<string> {};\n+ public WithParamInterface<strin...
C++
Apache License 2.0
apache/mesos
Turned on executor authentication in the 'DefaultExecutorTests'. Now that executor authentication has been added, this patch enables authentication for the agent's operator endpoint in the DefaultExecutorTests. This is only done when build with SSL, since executor authentication currently has SSL as a dependency. Rev...
46,128
25.03.2017 12:05:45
25,200
3d822865e84d997e37e4b37cbe8c58531980a9d4
Changed the agent's SecretGenerator from Owned to pointer. This patch updates the agent to hold its `SecretGenerator` as a raw pointer instead of an `Owned` object. This is more consistent with the other dependencies injected into the agent, and makes it easier to test the agent with a mock secret generator. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -188,7 +188,8 @@ Slave::Slave(const string& id,\nexecutorDirectoryMaxAllowedAge(age(0)),\nresourceEstimator(_resourceEstimator),\nqosController(_qosController),\n- authorizer(_authorizer) {}\...
C++
Apache License 2.0
apache/mesos
Changed the agent's SecretGenerator from Owned to pointer. This patch updates the agent to hold its `SecretGenerator` as a raw pointer instead of an `Owned` object. This is more consistent with the other dependencies injected into the agent, and makes it easier to test the agent with a mock secret generator. Review: ...
46,128
25.03.2017 12:05:58
25,200
8f35d5269d844f361e4a544ce50cf2230c247001
Added a 'MockSecretGenerator'. This patch adds a mock secret generator, which will be used for testing failure scenarios involving executor secret generation. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "#include <mesos/v1/scheduler/scheduler.hpp>\n+#include <mesos/authentication/secret_generator.hpp>\n+\n#include <mesos/authorizer/authorizer.hpp>\n#include <mesos/fetcher/fetcher.hpp>\n@@ -2143,...
C++
Apache License 2.0
apache/mesos
Added a 'MockSecretGenerator'. This patch adds a mock secret generator, which will be used for testing failure scenarios involving executor secret generation. Review: https://reviews.apache.org/r/57880/
46,128
25.03.2017 12:06:02
25,200
ca58a52346c72cbfed703f2809894bf373f963e3
Added SecretGenerator injection to the MockSlave. This patch adds an overload of `Slave::initialize` to the mock slave for the purpose of injecting a secret generator. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mock_slave.cpp", "new_path": "src/tests/mock_slave.cpp", "diff": "#include <gmock/gmock.h>\n+#include <mesos/authentication/secret_generator.hpp>\n+\n#include <mesos/slave/qos_controller.hpp>\n#include <mesos/slave/resource_estimator.hpp>\n@@ -104,7 ...
C++
Apache License 2.0
apache/mesos
Added SecretGenerator injection to the MockSlave. This patch adds an overload of `Slave::initialize` to the mock slave for the purpose of injecting a secret generator. Review: https://reviews.apache.org/r/57882/
46,128
25.03.2017 12:06:06
25,200
d11dd0e6c1daa9724642ad57db94bdfd12436d22
Added a new unmocked method to the mock agent. This patch adds a new method to the mock agent, `MockSlave::unmocked_executorTerminated`. This will facilitate the testing of executor secret generation, as it allows us to forward the mock function call to the base class method. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mock_slave.cpp", "new_path": "src/tests/mock_slave.cpp", "diff": "using mesos::master::detector::MasterDetector;\n+using mesos::slave::ContainerTermination;\n+\nusing std::list;\nusing process::Future;\n@@ -139,6 +141,8 @@ MockSlave::MockSlave(\n.Wil...
C++
Apache License 2.0
apache/mesos
Added a new unmocked method to the mock agent. This patch adds a new method to the mock agent, `MockSlave::unmocked_executorTerminated`. This will facilitate the testing of executor secret generation, as it allows us to forward the mock function call to the base class method. Review: https://reviews.apache.org/r/5789...
46,128
25.03.2017 12:06:09
25,200
02c7083af8d267f5e403b56e392d6ec60fc4dee9
Added new tests for executor secret generation. This patch adds new tests, `SlaveTest.RunTaskGroupFailedSecretGeneration` and `SlaveTest.RunTaskGroupInvalidExecutorSecret`, to verify the agent's behavior when generation of the executor secret fails. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "#include <stout/option.hpp>\n#include <stout/os.hpp>\n#include <stout/path.hpp>\n+#include <stout/strings.hpp>\n#include <stout/try.hpp>\n#include \"common/build.hpp\"\n@@ -5112,6 +5...
C++
Apache License 2.0
apache/mesos
Added new tests for executor secret generation. This patch adds new tests, `SlaveTest.RunTaskGroupFailedSecretGeneration` and `SlaveTest.RunTaskGroupInvalidExecutorSecret`, to verify the agent's behavior when generation of the executor secret fails. Review: https://reviews.apache.org/r/57883/
46,139
27.03.2017 12:42:08
-7,200
eaccd79764c3037f219eeab37dae8fdba0a6ff1b
Reordered messages in 'acls.proto' for readability. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -401,6 +401,8 @@ message ACL {\n*\n* TODO(vinod): Do aggregation of ACLs when possible.\n*\n+ * NOTE: Fields in this message should be kept in\n+ * numerical o...
C++
Apache License 2.0
apache/mesos
Reordered messages in 'acls.proto' for readability. Review: https://reviews.apache.org/r/57950/
46,157
27.03.2017 18:18:52
25,200
43108b575e5a5f18f3884fad91d137439ae82faa
Added quota to /roles endpoint of master. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "#include <mesos/authentication/http/combined_authenticator.hpp>\n#include <mesos/authorizer/authorizer.hpp>\n#include <mesos/module/http_authenticator.hpp>\n+#include <mesos/quota/quota.hpp>\n#i...
C++
Apache License 2.0
apache/mesos
Added quota to /roles endpoint of master. Review: https://reviews.apache.org/r/57767
46,157
27.03.2017 18:30:30
25,200
b66047f8c834ac404e8bd82c8f18c1b57f5958c2
Added a test to check /roles endpoint of master includes quota info. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/role_tests.cpp", "new_path": "src/tests/role_tests.cpp", "diff": "@@ -375,6 +375,77 @@ TEST_F(RoleTest, EndpointNoFrameworks)\n}\n+// This test ensures that quota information is included\n+// in /roles endpoint of master.\n+TEST_F_TEMP_DISABLED_ON_WI...
C++
Apache License 2.0
apache/mesos
Added a test to check /roles endpoint of master includes quota info. Review: https://reviews.apache.org/r/57768/
46,157
27.03.2017 18:31:17
25,200
52dfc2f0082756e480f3099adca1b2fa50180807
Modified WebUI to display quota under `roles` tab. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/roles.html", "new_path": "src/webui/master/static/roles.html", "diff": "<th data-key=\"name\" data-sort>Role</th>\n<th data-key=\"weight\">Weight</th>\n<th data-key=\"frameworks.length\">Frameworks</th>\n- <th data-key=\"resources.cpus\...
C++
Apache License 2.0
apache/mesos
Modified WebUI to display quota under `roles` tab. Review: https://reviews.apache.org/r/57828/
46,055
28.03.2017 16:50:03
-28,800
87ca2fb0c9d179616a6c1b70882edac783bca34b
Updated OCI protobuf messages with latest OCI image spec. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/oci/spec.proto", "new_path": "include/mesos/oci/spec.proto", "diff": "@@ -29,6 +29,11 @@ message Descriptor {\nrequired string digest = 2;\nrequired int64 size = 3;\nrepeated string urls = 4;\n+\n+ // NOTE: We cannot use 'annotations' here becaus...
C++
Apache License 2.0
apache/mesos
Updated OCI protobuf messages with latest OCI image spec. Review: https://reviews.apache.org/r/56851/
46,055
28.03.2017 16:50:11
-28,800
0c1d50d236dbc100b9cbab194daba409483eed7a
Updated OCI spec parsing & validation code with latest OCI image spec. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/oci/spec.hpp", "new_path": "include/mesos/oci/spec.hpp", "diff": "@@ -26,8 +26,8 @@ namespace v1 {\n// Constant strings for OCI image media types:\n// https://github.com/opencontainers/image-spec/blob/master/media-types.md\n-constexpr char MEDIA_...
C++
Apache License 2.0
apache/mesos
Updated OCI spec parsing & validation code with latest OCI image spec. Review: https://reviews.apache.org/r/56852/
46,055
28.03.2017 16:50:18
-28,800
18f6642e28d0fee1031a88e62265a49e3bd601a6
Update OCI tests with the latest OCI image spec. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/oci_spec_tests.cpp", "new_path": "src/tests/containerizer/oci_spec_tests.cpp", "diff": "@@ -68,7 +68,7 @@ TEST_F(OCISpecTest, ParseDescriptor)\n}\n-TEST_F(OCISpecTest, ParseManifestList)\n+TEST_F(OCISpecTest, ParseIndex)\n{\nconst strin...
C++
Apache License 2.0
apache/mesos
Update OCI tests with the latest OCI image spec. Review: https://reviews.apache.org/r/56853/
46,056
15.03.2017 11:24:33
-3,600
48be0da2780f2ac2c04019c5ebf50cffeaedf42d
Updated website for 1.1.1 release. Review:
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -15,6 +15,10 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.1.1 is released!\n+ date: March 14, 2017\n+ blog: mesos-1-1-1-released\n+ tar...
C++
Apache License 2.0
apache/mesos
Updated website for 1.1.1 release. Review: https://reviews.apache.org/r/57783
46,165
28.03.2017 13:51:11
25,200
ec6c89b36736f005f7d6e9de7b54d4da9e159c47
Fixed the missing disk utilization in the webui.
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/agent_framework.html", "new_path": "src/webui/master/static/agent_framework.html", "diff": "<td>N/A</td>\n<td>{{monitor.frameworks[framework.id].executors[executor.id].statistics.mem_rss_bytes | dataSize}} /\n{{executor.resources.mem * ...
C++
Apache License 2.0
apache/mesos
Fixed the missing disk utilization in the webui.
46,056
29.03.2017 14:39:46
-7,200
08ca474287c6881cc3bd9cd18072d2a883723fc0
Fixed a typo in the website Readme.
[ { "change_type": "MODIFY", "old_path": "site/README.md", "new_path": "site/README.md", "diff": "@@ -63,7 +63,7 @@ ssh -NT -L 4567:localhost:4567 -L 35729:localhost:35729 <remote-machine>\nThe generation includes `doxygen` and `javadoc` as well. We could check out them\nunder `/api/latest/c++/index.h...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the website Readme.
46,181
29.03.2017 13:23:30
25,200
fe14bace50533fe35626d8f6f55935b43d493023
Fixed typos in flag usage strings.
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.hpp", "new_path": "src/docker/executor.hpp", "diff": "@@ -45,7 +45,7 @@ struct Flags : public virtual mesos::internal::logging::Flags\nadd(&Flags::docker_socket,\n\"docker_socket\",\n- \"Resource used by the agent and the executor to provic...
C++
Apache License 2.0
apache/mesos
Fixed typos in flag usage strings.
46,083
29.03.2017 13:37:22
25,200
b9a46ed5a914f45133ec5da7dba2b1c34bd9937f
Added Jeff Coffler to contributors.yaml. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: guoger\nreviewboard_user: guoger\n+- name: Jeff Coffler\n+ affiliations:\n+ - {organization: Microsoft}\n+ emails:\n+ - jeff@taltos.com\n+ jira_user: coffler\n+ reviewboard_user...
C++
Apache License 2.0
apache/mesos
Added Jeff Coffler to contributors.yaml. Review: https://reviews.apache.org/r/58015/
46,177
29.03.2017 12:26:41
25,200
5b12abb01bf24c2badddb34768494f92b942d497
Fully qualified the Authenticator class in common/http.cpp. When building with precompiled headers, the libprocess-level Authenticator has a namespace resolution conflict with the Mesos-level Authenticator: * `process::http::authentication::Authenticator` * `mesos::Authenticator` In common/http.cpp, the functions are i...
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -60,7 +60,6 @@ using std::vector;\nusing process::Failure;\nusing process::Owned;\n-using process::http::authentication::Authenticator;\n#ifdef USE_SSL_SOCKET\nusing process::http::authentica...
C++
Apache License 2.0
apache/mesos
Fully qualified the Authenticator class in common/http.cpp. When building with precompiled headers, the libprocess-level Authenticator has a namespace resolution conflict with the Mesos-level Authenticator: * `process::http::authentication::Authenticator` * `mesos::Authenticator` In common/http.cpp, the functions are...
46,181
29.03.2017 14:12:36
25,200
22cc80ad71187afcc0846e777f354c11f095e38d
Fixed typos in libprocess.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/dispatch.hpp", "new_path": "3rdparty/libprocess/include/process/dispatch.hpp", "diff": "@@ -48,7 +48,7 @@ namespace process {\n// routine itself creates a promise that is passed as an argument to a\n// partially applied 'dis...
C++
Apache License 2.0
apache/mesos
Fixed typos in libprocess.
46,181
29.03.2017 14:13:03
25,200
43ef2cd58a1e0d82f3835d7dc49b247e6fc849d0
Fixed typos in stout.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/check.hpp", "new_path": "3rdparty/stout/include/stout/check.hpp", "diff": "#include <stout/some.hpp>\n#include <stout/try.hpp>\n-// A generic macro to faciliate definitions of CHECK_*, akin to CHECK.\n+// A generic macro to facilit...
C++
Apache License 2.0
apache/mesos
Fixed typos in stout.
46,103
29.03.2017 15:04:13
25,200
50dc133cdb39221d1800c92127a8de284c5ecd13
Added ResourceProviderID. This patch introduces a new type 'ResourceProviderID'. We will use this id in later patches to mark resources with their abstract providers (not necessarily an agent). Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -95,6 +95,15 @@ message ContainerID {\n}\n+/**\n+ * A unique ID assigned to a resource provider. Currently, a resource\n+ * provider gets a new ID whenever it (re)registers with M...
C++
Apache License 2.0
apache/mesos
Added ResourceProviderID. This patch introduces a new type 'ResourceProviderID'. We will use this id in later patches to mark resources with their abstract providers (not necessarily an agent). Review: https://reviews.apache.org/r/57997/
46,165
29.03.2017 15:50:45
25,200
2774aee9163ce30e8f4df9fb3a1c73a7afa3a6f5
Added the multi-role framework design doc to the list of design docs.
[ { "change_type": "MODIFY", "old_path": "docs/design-docs.md", "new_path": "docs/design-docs.md", "diff": "@@ -51,3 +51,4 @@ layout: documentation\n- [Design Doc: Multiple Disk Support](https://docs.google.com/document/d/1syPxygVNEHjG6FoyqslnpUGgNpYKU9QzKBuV2yKmjfQ/edit#heading=h.4fzj9sl24cwy)\n- [Re...
C++
Apache License 2.0
apache/mesos
Added the multi-role framework design doc to the list of design docs.
46,165
29.03.2017 15:51:53
25,200
0dd86d182ed4d48133f531b6bfc26e1d60de16a4
Added the hierarchical roles design doc to the list of design docs.
[ { "change_type": "MODIFY", "old_path": "docs/design-docs.md", "new_path": "docs/design-docs.md", "diff": "@@ -52,3 +52,4 @@ layout: documentation\n- [Resource Monitoring Design Doc (Recovered)](https://docs.google.com/document/d/1LwFKbybtkAPt4MRmxGZQePp16IHcELsFrGbF2BEQopA/edit?usp=sharing)\n- [Meso...
C++
Apache License 2.0
apache/mesos
Added the hierarchical roles design doc to the list of design docs.
46,056
30.03.2017 12:45:49
-7,200
0c8fb0d91092434369e1a81bdab10c20ca48e651
Linked tickets with JIRAs in Mesos 1.1.1 blogpost.
[ { "change_type": "MODIFY", "old_path": "site/source/blog/2017-03-14-mesos-1-1-1-released.md", "new_path": "site/source/blog/2017-03-14-mesos-1-1-1-released.md", "diff": "@@ -14,23 +14,23 @@ important bug fixes and improvements on top of 1.1.0. It is highly recommended\nthat users use this version if...
C++
Apache License 2.0
apache/mesos
Linked tickets with JIRAs in Mesos 1.1.1 blogpost.
46,181
13.03.2017 19:29:13
25,200
07822815f6b07add8ee2e6429564764313d75354
Removed redundant call to `std::string::c_str()` in stout. Spotted using the "readability-redundant-string-cstr" clang-tidy check. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/elf.hpp", "new_path": "3rdparty/stout/include/stout/elf.hpp", "diff": "@@ -75,7 +75,7 @@ public:\n{\nFile* file = new File();\n- if (!file->elf.load(path.c_str())) {\n+ if (!file->elf.load(path)) {\ndelete file;\nreturn Error(\"Unk...
C++
Apache License 2.0
apache/mesos
Removed redundant call to `std::string::c_str()` in stout. Spotted using the "readability-redundant-string-cstr" clang-tidy check. Review: https://reviews.apache.org/r/58037
46,181
13.03.2017 19:29:54
25,200
5eec2a0b5ed0dacf5b54ed73fda559dd54ddad4a
Removed redundant call to `std::string::c_str()` in Mesos. Spotted using the "readability-redundant-string-cstr" clang-tidy check. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "new_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "diff": "@@ -102,9 +102,9 @@ protected:\n{\n// Try to remove any mounts under sandbox.\nif (::geteuid() == 0) {\n- Try<Nothing> u...
C++
Apache License 2.0
apache/mesos
Removed redundant call to `std::string::c_str()` in Mesos. Spotted using the "readability-redundant-string-cstr" clang-tidy check. Review: https://reviews.apache.org/r/58038
46,181
29.03.2017 18:16:30
25,200
c550d130f7f74f380e40edadeeb683b4dbb702b6
Added a check to default clang-tidy check list. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy.sh", "new_path": "support/mesos-tidy.sh", "diff": "@@ -24,7 +24,7 @@ MESOS_DIR=$(git rev-parse --show-toplevel)\n# Configure how checks are run. These variables can be overridden by setting the\n# respective environment variables before invo...
C++
Apache License 2.0
apache/mesos
Added a check to default clang-tidy check list. Review: https://reviews.apache.org/r/58060
46,181
14.03.2017 11:51:31
25,200
080e1b7eb10c4d455118c4ef8c7a3617a50fba89
Avoid redundant copies when using `std::get` on a tuple. `std::get` returns a reference; in most cases we can avoid a copy at the call site by assigning the result to a const reference. Spotted using the "performance-unnecessary-copy-initialization" clang-tidy check. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -541,7 +541,7 @@ Future<int> CheckerProcess::_httpCheck(\nFuture<string>,\nFuture<string>>& t)\n{\n- Future<Option<int>> status = std::get<0>(t);\n+ const Future<Option<int>>& status = ...
C++
Apache License 2.0
apache/mesos
Avoid redundant copies when using `std::get` on a tuple. `std::get` returns a reference; in most cases we can avoid a copy at the call site by assigning the result to a const reference. Spotted using the "performance-unnecessary-copy-initialization" clang-tidy check. Review: https://reviews.apache.org/r/58039
46,139
30.03.2017 12:58:38
-7,200
5c9ce378f627cbd4c2ed16f1e342dde16d5ee939
Improved log/failure messages in the (health)checker libraries. Make log/failure messages consistent across both libraries. Task and container IDs are user generated and can contain spaces, so we have to wrap them in single quotes. Remove the redundant task IDs from 'Failure' messages. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -102,13 +102,12 @@ static pid_t cloneWithSetns(\nTry<Nothing> setns = ns::setns(taskPid.get(), ns);\nif (setns.isError()) {\n// This effectively aborts the check.\n- LOG(FATAL) << \"Fai...
C++
Apache License 2.0
apache/mesos
Improved log/failure messages in the (health)checker libraries. - Make log/failure messages consistent across both libraries. - Task and container IDs are user generated and can contain spaces, so we have to wrap them in single quotes. - Remove the redundant task IDs from 'Failure' messages. Review: https://reviews...
46,139
30.03.2017 13:41:14
-7,200
3a689ab552a9ff23dd912e0178d3c5af393f7e84
Enabled pause/resume for general checks. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -127,6 +127,9 @@ public:\nconst Option<pid_t>& _taskPid,\nconst std::vector<std::string>& _namespaces);\n+ void pause();\n+ void resume();\n+\nvirtual ~CheckerProcess() {}\nprotected:\n...
C++
Apache License 2.0
apache/mesos
Enabled pause/resume for general checks. Review: https://reviews.apache.org/r/57912/
46,056
30.03.2017 17:53:14
-7,200
1a1fa95d0de179d7efab002a99a0e6261ce307f9
Cleaned up namespaces in "checker.cpp".
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "#include \"linux/ns.hpp\"\n#endif\n+namespace http = process::http;\n+\nusing process::Failure;\nusing process::Future;\nusing process::Owned;\nusing process::Promise;\nusing process::Subp...
C++
Apache License 2.0
apache/mesos
Cleaned up namespaces in "checker.cpp".
46,056
31.03.2017 11:37:21
-7,200
aa3409b6cb4894008f7b4d511a847335c92d4aa7
Augmented release guide with GPG goodies and a formatting reminder. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -51,7 +51,8 @@ This guide describes the process of doing an official release of Mesos.\n</servers>\n</settings>\n-6. Use `gpg-agent` to avoid typing your passphrase repeatedly.\n+6. Use `...
C++
Apache License 2.0
apache/mesos
Augmented release guide with GPG goodies and a formatting reminder. Review: https://reviews.apache.org/r/58101
46,056
31.03.2017 12:47:34
-7,200
07d9739364373913b542cd0d944acc85dfb65e74
Replaced <br> tags with formatting in release guide for consistency. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -14,14 +14,17 @@ This guide describes the process of doing an official release of Mesos.\n2. Add your GPG public key to the Apache Mesos dist repository in the KEYS file.\n- * Fetch the s...
C++
Apache License 2.0
apache/mesos
Replaced <br> tags with formatting in release guide for consistency. Review: https://reviews.apache.org/r/58103
46,056
31.03.2017 17:44:40
-7,200
1ab190a07e011ea816db99c5022a185e48c0ced3
Used operator<< for `CheckStatusInfo` instead of manual printing. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -682,32 +682,8 @@ protected:\nif (status.has_healthy()) {\ncout << \" healthy?: \" << status.healthy() << endl;\n}\n-\nif (status.has_check_status()) {\n- switch (status.check_status().type()...
C++
Apache License 2.0
apache/mesos
Used operator<< for `CheckStatusInfo` instead of manual printing. Review: https://reviews.apache.org/r/58108
46,188
31.03.2017 11:49:57
25,200
a9a754e46d693d06879c4100461d1004e92c2a2d
Updated the container image doc about the support of capabilities. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -231,8 +231,12 @@ of the Docker image.\nIf the `--switch_user` flag is set on the agent and the framework\nspecifies a user (either `CommandInfo.user` or `FrameworkInfo.user`),\nwe ex...
C++
Apache License 2.0
apache/mesos
Updated the container image doc about the support of capabilities. Review: https://reviews.apache.org/r/58117
46,188
31.03.2017 12:09:45
25,200
6ce7c197d7cb4ae76e480c46663a0e7d209ea2aa
Updated the container image doc about Docker networking support. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -238,9 +238,14 @@ the framework can limit the\nof the container by using the\n[linux/capabilities](linux_capabilities.md) isolator.\n-Only host network is supported. We will add bridg...
C++
Apache License 2.0
apache/mesos
Updated the container image doc about Docker networking support. Review: https://reviews.apache.org/r/58118
46,188
31.03.2017 12:50:29
25,200
86ab7c24947af56b50015cb498e15bc51ceaad68
Fixed a link in the container image doc.
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -241,7 +241,7 @@ of the container by using the\nCurrently, we support `host`, `bridge` and user defined networks\n([reference](https://docs.docker.com/engine/userguide/networking/)).\...
C++
Apache License 2.0
apache/mesos
Fixed a link in the container image doc.
46,210
31.03.2017 23:44:54
-7,200
38736e85b89a0444ec00341950cca258af4adb9d
Added Armand Grillet to the contributors list.
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: anindya.sinha\nreviewboard_user: anisinha\n+- name: Armand Grillet\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - armand.grillet@outlook.com\n+ - agrillet@meso...
C++
Apache License 2.0
apache/mesos
Added Armand Grillet to the contributors list.
46,165
29.03.2017 18:36:40
25,200
0d4e08ce3725cf3c0b91acbe27870bc41c430429
Added MULTI_ROLE support to the upgrades documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -53,10 +53,20 @@ We categorize the changes as follows:\n</ul>\n</td>\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Framework API-->\n+ <ul style=\"padding-left:10px;\">\n+ <l...
C++
Apache License 2.0
apache/mesos
Added MULTI_ROLE support to the upgrades documentation. Review: https://reviews.apache.org/r/58061
46,188
02.04.2017 17:56:35
25,200
30344e131f82a513a5205d1fe5b5f0dc137bddbc
Added the design doc for resource provider and CSI.
[ { "change_type": "MODIFY", "old_path": "docs/design-docs.md", "new_path": "docs/design-docs.md", "diff": "@@ -53,3 +53,4 @@ layout: documentation\n- [Mesos HTTP API](https://docs.google.com/document/d/1pnIY_HckimKNvpqhKRhbc9eSItWNFT-priXh_urR-T0/edit#heading=h.ej7mjb84f6x9)\n- [Multi-Role Frameworks...
C++
Apache License 2.0
apache/mesos
Added the design doc for resource provider and CSI.
46,128
03.04.2017 08:24:54
25,200
e37442578597725d8b36660070e5a8d620faba8c
Removed an old comment from 'v1/mesos.proto'. This patch removes an old comment in 'include/v1/mesos.proto' regarding the `DiskInfo.persistence.principal` field. Commit removed this comment from 'include/mesos.proto', but neglected to update the v1 proto definitions. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.proto", "new_path": "include/mesos/v1/mesos.proto", "diff": "@@ -964,11 +964,6 @@ message Resource {\n// with the \"destroy\" ACL to determine whether an entity\n// attempting to destroy the volume is permitted to do so.\n//\n- // NOTE: ...
C++
Apache License 2.0
apache/mesos
Removed an old comment from 'v1/mesos.proto'. This patch removes an old comment in 'include/v1/mesos.proto' regarding the `DiskInfo.persistence.principal` field. Commit 73790d3c141f91cc3a8f546091ac62594995b788 removed this comment from 'include/mesos.proto', but neglected to update the v1 proto definitions. Review: h...
46,181
14.03.2017 11:55:36
25,200
ce5cb6c186ff83737ef67da372a770a52bbce057
Avoid various redundant copies. Spotted using the "performance-unnecessary-copy-initialization" clang-tidy check. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/dynamic_reservation_framework.cpp", "new_path": "src/examples/dynamic_reservation_framework.cpp", "diff": "@@ -303,7 +303,7 @@ private:\nResource::ReservationInfo reservationInfo;\nResources taskResources;\n- Offer::Operation RESERVE(Resources res...
C++
Apache License 2.0
apache/mesos
Avoid various redundant copies. Spotted using the "performance-unnecessary-copy-initialization" clang-tidy check. Review: https://reviews.apache.org/r/58040