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,139
27.03.2018 11:37:44
-7,200
7d0b4489bb940bf0b116342589b22edc247b65b9
Made the default executor log kill failures. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -1245,7 +1245,13 @@ protected:\nreturn;\n}\n- kill(container.get(), killPolicy);\n+ const ContainerID& containerId = container->containerId;\n+ kill(container.get(...
C++
Apache License 2.0
apache/mesos
Made the default executor log kill failures. Review: https://reviews.apache.org/r/66233/
46,139
27.03.2018 11:38:06
-7,200
554429fec0cebb15673d0f675ad2642b07403f18
Fixed variable shadowing in the default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -958,16 +958,16 @@ protected:\ncontainer->killingTaskGroup = true;\nforeach (const TaskInfo& task, container->taskGroup.tasks()) {\n- const TaskID& taskId = task.t...
C++
Apache License 2.0
apache/mesos
Fixed variable shadowing in the default executor. Review: https://reviews.apache.org/r/66234/
46,139
27.03.2018 11:38:13
-7,200
4e7bbe67f55fbaa560466fc1d0a2f5e5bdb6ab32
Added a reference to to the default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -1142,6 +1142,19 @@ protected:\nforward(status);\n}\n+\n+ // Ideally we should detect and act on this kill's failure, and perform the\n+ // following actions only ...
C++
Apache License 2.0
apache/mesos
Added a reference to MESOS-8557 to the default executor. Review: https://reviews.apache.org/r/66235/
46,056
27.03.2018 12:27:40
-7,200
124c677c86c7b12ca4568f004895b8ca30d60dcf
Fixed the `mesos-this-capture` warning in the default executor.
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -1142,7 +1142,6 @@ protected:\nforward(status);\n}\n-\n// Ideally we should detect and act on this kill's failure, and perform the\n// following actions only once ...
C++
Apache License 2.0
apache/mesos
Fixed the `mesos-this-capture` warning in the default executor.
46,103
28.03.2018 00:00:34
-7,200
f8b400b7761de9b52d98b5dd30001e3df67afff5
Added implicit conversion from nullptr to Owned and Shared. To communicate absence of a reference we usually use `nullptr` inside smart pointers. This patch adds smart pointer constructors from `nullptr_t` which mirror conversion present in `std::unique_ptr` and `std::shared_ptr` simplifying such use cases. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/owned.hpp", "new_path": "3rdparty/libprocess/include/process/owned.hpp", "diff": "#define __PROCESS_OWNED_HPP__\n#include <atomic>\n+#include <cstddef>\n#include <memory>\n#include <glog/logging.h>\n@@ -37,6 +38,7 @@ class O...
C++
Apache License 2.0
apache/mesos
Added implicit conversion from nullptr to Owned and Shared. To communicate absence of a reference we usually use `nullptr` inside smart pointers. This patch adds smart pointer constructors from `nullptr_t` which mirror conversion present in `std::unique_ptr` and `std::shared_ptr` simplifying such use cases. Review: h...
46,186
28.03.2018 16:35:49
25,200
bc6265d9aeaacdb5a6d229750208c3a31e541692
Clarified usage of docker_remove_delay flag. This closes
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -603,9 +603,10 @@ containerizer. (default: https://registry-1.docker.io)\n--docker_remove_delay=VALUE\n</td>\n<td>\n-The amount of time to wait before removing docker containe...
C++
Apache License 2.0
apache/mesos
Clarified usage of docker_remove_delay flag. This closes #278
46,055
28.03.2018 15:05:25
25,200
dd5f5c153715ab4454ba42cb91e41e19c22ccff5
Used native protobuf map in Docker v1 image spec. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/docker/v1.proto", "new_path": "include/mesos/docker/v1.proto", "diff": "@@ -18,16 +18,6 @@ syntax = \"proto2\";\npackage docker.spec.v1;\n-/**\n- * The Label of a docker image, used for adding custom metadata.\n- * https://docs.docker.com/engine/...
C++
Apache License 2.0
apache/mesos
Used native protobuf map in Docker v1 image spec. Review: https://reviews.apache.org/r/66206/
46,055
28.03.2018 15:05:29
25,200
2614f5ba2abc8b7d3a7bf51506fc84b8d2e843c4
Used native protobuf map in OCI v1 image spec. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/oci/spec.proto", "new_path": "include/mesos/oci/spec.proto", "diff": "@@ -29,11 +29,7 @@ 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
Used native protobuf map in OCI v1 image spec. Review: https://reviews.apache.org/r/66207/
46,087
28.03.2018 22:47:46
25,200
f7f3c227a76a5f646ab618afd93eec9d51c03e0d
Added the `stall_timeout` parameter to `net::download()`. When the `stall_timeout` is given, the download would be aborted if the download speed keeps below 1 byte per second during the timeout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/net.hpp", "new_path": "3rdparty/stout/include/stout/net.hpp", "diff": "#include <string>\n#include <stout/bytes.hpp>\n+#include <stout/duration.hpp>\n#include <stout/error.hpp>\n#include <stout/ip.hpp>\n#include <stout/option.hpp>\...
C++
Apache License 2.0
apache/mesos
Added the `stall_timeout` parameter to `net::download()`. When the `stall_timeout` is given, the download would be aborted if the download speed keeps below 1 byte per second during the timeout. Review: https://reviews.apache.org/r/65855/
46,087
28.03.2018 22:47:52
25,200
4971a277ddc943b8179cc71567e0412629ed0260
Added `--fetcher_stall_timeout` to abort stalled artifact fetching. This flag specifies a timeout for `mesos-fetcher` to wait before aborting if the download speed keeps below 1 bytes/sec. This would avoid containers to get stuck at FETCHING. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -780,6 +780,18 @@ for several reasons:\nSize of the fetcher cache in Bytes. (default: 2GB)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --fetcher_stall_timeout=VALUE\n+ </td>\n+ <td>\n+Amo...
C++
Apache License 2.0
apache/mesos
Added `--fetcher_stall_timeout` to abort stalled artifact fetching. This flag specifies a timeout for `mesos-fetcher` to wait before aborting if the download speed keeps below 1 bytes/sec. This would avoid containers to get stuck at FETCHING. Review: https://reviews.apache.org/r/65856/
46,087
28.03.2018 22:47:58
25,200
af2a404b59e949163b1d85dcb5ec354ecac02e70
Enabled `--fetch_stall_timeout` in curl-based URI fetcher plugins. This patch passes the `--fetch_stall_timeout` agent flag into `DockerFetcherPlugin` (through setting flag `docker_stall_timeout` in the Docker store) and `CurlFetcherPlugin` (through setting flag `curl_stall_timeout` in the Appc store). Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/appc/store.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/appc/store.cpp", "diff": "@@ -131,7 +131,10 @@ Try<Owned<slave::Store>> Store::create(\n// TODO(jojy): Uri fetcher has 'shared' semantics for the\...
C++
Apache License 2.0
apache/mesos
Enabled `--fetch_stall_timeout` in curl-based URI fetcher plugins. This patch passes the `--fetch_stall_timeout` agent flag into `DockerFetcherPlugin` (through setting flag `docker_stall_timeout` in the Docker store) and `CurlFetcherPlugin` (through setting flag `curl_stall_timeout` in the Appc store). Review: https:...
46,066
29.03.2018 13:21:59
-7,200
c51e9b86ad1f76932156f0a54704e72682d1881c
Removed forwarding of OpenSSL include dir. Setting 'OPENSSL_INCLUDE_DIR' doesn't provide enough information for the 'FindOpenSSL' module to find library paths. Hence, nothing is gained by forwarding this argument. This reverts commit Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -141,13 +141,6 @@ if (ENABLE_SSL)\nlist(APPEND CMAKE_SSL_FORWARD_ARGS\n-DOPENSSL_MSVC_STATIC_RT=${OPENSSL_MSVC_STATIC_RT})\nendif ()\n-\n- # Setting this but not setting 'OPENSSL_ROOT...
C++
Apache License 2.0
apache/mesos
Removed forwarding of OpenSSL include dir. Setting 'OPENSSL_INCLUDE_DIR' doesn't provide enough information for the 'FindOpenSSL' module to find library paths. Hence, nothing is gained by forwarding this argument. This reverts commit ab65fb3b6e9f675b39aed0a01e2fce92153d5ff8. Review: https://reviews.apache.org/r/6635...
46,188
29.03.2018 17:13:43
25,200
59b2281271f8530beeeb221887a8fe9b9e19be96
Added WIP CHANGELOG for the 1.6.0 release.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "+Release Notes - Mesos - Version 1.6.0 (WIP)\n+-------------------------------------------\n+This release contains the following new features:\n+\n+ * [MESOS-8534] - **Experimental** A nested container is now allow...
C++
Apache License 2.0
apache/mesos
Added WIP CHANGELOG for the 1.6.0 release.
46,139
29.03.2018 18:11:47
25,200
7e58e14de74a5dd39b167d6698e79e29cdd24ac6
Fixed grammar errors in comments in SLRP tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -297,7 +297,7 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_NoResource)\n// is registered, it is guaranteed that the slave w...
C++
Apache License 2.0
apache/mesos
Fixed grammar errors in comments in SLRP tests. Review: https://reviews.apache.org/r/66182/
46,055
02.04.2018 09:57:57
-28,800
7513e89769d4790cd5ee3f094412b83477a0d0e0
Fixed a typo in the comments of `LinuxLauncher::available()`.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/linux_launcher.cpp", "new_path": "src/slave/containerizer/mesos/linux_launcher.cpp", "diff": "@@ -203,7 +203,7 @@ bool LinuxLauncher::available()\n{\n// Make sure:\n// 1. Are running as root.\n- // 2. 'freezer' subsytem is enabled...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the comments of `LinuxLauncher::available()`.
46,139
02.04.2018 10:43:56
25,200
1f2da7b28b8dbb48010c0796224894b159a7411f
Fixed use of const reference for storing an rvalue in a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -3257,7 +3257,7 @@ TEST_F(\n.WillOnce(FutureArg<1>(&retriedUpdate));\n// Create a volume.\n- const string& operationId = \"oper...
C++
Apache License 2.0
apache/mesos
Fixed use of const reference for storing an rvalue in a test. Review: https://reviews.apache.org/r/66362/
46,139
02.04.2018 10:44:04
25,200
b7cc83140561816444842968d6c4d3b13d4c49a0
Removed unnecessary code and a misleading comment from a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/reconciliation_tests.cpp", "new_path": "src/tests/reconciliation_tests.cpp", "diff": "@@ -448,14 +448,11 @@ TEST_F(ReconciliationTest, RecoveredAgent)\nTry<Owned<cluster::Master>> master = StartMaster(masterFlags);\nASSERT_SOME(master);\n- // Reuse s...
C++
Apache License 2.0
apache/mesos
Removed unnecessary code and a misleading comment from a test. Review: https://reviews.apache.org/r/66363/
46,139
02.04.2018 10:44:06
25,200
9689d78307d4db4232e6bc3ad6df7cfe9ab49854
Added missing `type` field to the `scheduler::Response` protos. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/scheduler/scheduler.proto", "new_path": "include/mesos/scheduler/scheduler.proto", "diff": "@@ -222,7 +222,8 @@ message Response {\nrepeated OperationStatus operation_statuses = 1;\n}\n- optional ReconcileOperations reconcile_operations = 1;\n+ o...
C++
Apache License 2.0
apache/mesos
Added missing `type` field to the `scheduler::Response` protos. Review: https://reviews.apache.org/r/66364/
46,139
02.04.2018 10:44:07
25,200
9f3f1f979d520f5a77715976dcea9ba39517ec0f
Fixed generation of operation statuses in `Slave::applyOperation()`. This patch updates `Slave::applyOperation()` to make it include the operation ID in operation statuses when the ID is set. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4267,6 +4267,10 @@ void Slave::applyOperation(const ApplyOperationMessage& message)\n? message.framework_id()\n: Option<FrameworkID>::none();\n+ Option<OperationID> operationId = message.ope...
C++
Apache License 2.0
apache/mesos
Fixed generation of operation statuses in `Slave::applyOperation()`. This patch updates `Slave::applyOperation()` to make it include the operation ID in operation statuses when the ID is set. Review: https://reviews.apache.org/r/66365/
46,139
02.04.2018 10:44:11
25,200
4e677ad8d8137b3d29ed7a20a02c934910a5b1c5
Fixed generation of operation status updates in `Master::_apply()`. This patch updates `Master::_apply() ` to make it include operation ID in the initial operation status of operations that have an ID set. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10820,7 +10820,11 @@ void Master::_apply(\nOperation* operation = new Operation(\nprotobuf::createOperation(\noperationInfo,\n- protobuf::createOperationStatus(OPERATION_PENDING),\n+ pro...
C++
Apache License 2.0
apache/mesos
Fixed generation of operation status updates in `Master::_apply()`. This patch updates `Master::_apply() ` to make it include operation ID in the initial operation status of operations that have an ID set. Review: https://reviews.apache.org/r/66366/
46,139
02.04.2018 10:44:15
25,200
594ee20c2453dad836313769aef9f8655cd75cd5
Made the master drop `RECONCILE_OPERATIONS` calls from v0 schedulers. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2432,7 +2432,10 @@ void Master::receive(\nbreak;\ncase scheduler::Call::RECONCILE_OPERATIONS:\n- reconcileOperations(framework, call.reconcile_operations());\n+ drop(\n+ from,\n+ call,\n...
C++
Apache License 2.0
apache/mesos
Made the master drop `RECONCILE_OPERATIONS` calls from v0 schedulers. Review: https://reviews.apache.org/r/66367/
46,107
04.04.2018 22:06:15
25,200
8125ac7f9163ab07f44a034eb9b9d965f5fe484d
Fixed wrong example of executor message. The example of executor message in executor-http-api.md is wrong. This closes
[ { "change_type": "MODIFY", "old_path": "docs/executor-http-api.md", "new_path": "docs/executor-http-api.md", "diff": "@@ -206,8 +206,10 @@ Accept: application/json\n\"value\": \"9aaa9d0d-e00d-444f-bfbd-23dd197939a0-0000\"\n},\n\"type\": \"MESSAGE\",\n+ \"message\": {\n\"data\": \"t+Wonz5fRFKMzCnEptl...
C++
Apache License 2.0
apache/mesos
Fixed wrong example of executor message. The example of executor message in executor-http-api.md is wrong. This closes #280
46,120
05.04.2018 11:53:01
-7,200
00f4cbd248c4ebcd025ac199568b33df1680ebc3
Fixed 3rdparty build commands for FreeBSD. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -55,6 +55,18 @@ if (WIN32)\nset(GLOG_URL ${3RDPARTY_DEPENDENCIES}/glog-${GLOG_VERSION}.tar.gz)\nendif ()\n+# On platforms like FreeBSD where gmake is not the default, we need to look ...
C++
Apache License 2.0
apache/mesos
Fixed 3rdparty build commands for FreeBSD. Review: https://reviews.apache.org/r/66314/
46,114
05.04.2018 10:37:18
25,200
887dfaf28ebda153a3e4b6dd4b6c3aeaef9fc1e6
Fixed build break on Windows. We do not use `make` on Windows, so this `FATAL_ERROR` when it's not found broke the build.
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -55,10 +55,11 @@ if (WIN32)\nset(GLOG_URL ${3RDPARTY_DEPENDENCIES}/glog-${GLOG_VERSION}.tar.gz)\nendif ()\n-# On platforms like FreeBSD where gmake is not the default, we need to look...
C++
Apache License 2.0
apache/mesos
Fixed build break on Windows. We do not use `make` on Windows, so this `FATAL_ERROR` when it's not found broke the build.
46,120
05.04.2018 13:41:20
25,200
2a503da1acc440ef0abbeb75339247d8842ccc70
Linked libm in ZooKeeper build on FreeBSD. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/zookeeper-3.4.8.patch", "new_path": "3rdparty/zookeeper-3.4.8.patch", "diff": "diff --git c/src/c/CMakeLists.txt w/src/c/CMakeLists.txt\nnew file mode 100644\n-index 000000000..0f256b59c\n+index 000000000..57677caef\n--- /dev/null\n+++ w/src/c/CMakeLi...
C++
Apache License 2.0
apache/mesos
Linked libm in ZooKeeper build on FreeBSD. Review: https://reviews.apache.org/r/66384/
46,120
05.04.2018 13:41:32
25,200
ab65ffbcd5d0055688251cb12ff6efd1c21d9e22
Linked execinfo in Glog build on FreeBSD. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -370,6 +370,9 @@ if (WIN32)\nelse ()\n# TODO(andschwa): Build with CMake instead when glog is updated.\nset(GLOG_CONFIG_CMD ${GLOG_ROOT}/src/../configure --with-pic GTEST_CONFIG=no --...
C++
Apache License 2.0
apache/mesos
Linked execinfo in Glog build on FreeBSD. Review: https://reviews.apache.org/r/66385/
46,120
05.04.2018 13:41:37
25,200
279e487f10438b394ebb3cb3e31d50123e52caee
Linked subversion in stout build on FreeBSD. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/CMakeLists.txt", "new_path": "3rdparty/stout/CMakeLists.txt", "diff": "@@ -32,6 +32,7 @@ target_link_libraries(\nzlib\n$<$<PLATFORM_ID:Linux>:rt dl svn>\n$<$<PLATFORM_ID:Darwin>:svn>\n- $<$<PLATFORM_ID:Windows>:Ws2_32 IPHlpAPI Mswsock Secur32 Us...
C++
Apache License 2.0
apache/mesos
Linked subversion in stout build on FreeBSD. Review: https://reviews.apache.org/r/66387/
46,120
05.04.2018 13:41:43
25,200
6c77580d49d9465a05d4a1e1714d88d0c70673e5
Imported sasl2 target on non-Windows platforms. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -277,6 +277,9 @@ else ()\nif (NOT SASL2_LIB)\nmessage(FATAL_ERROR \"Could not find sasl2 dependency.\")\nendif ()\n+\n+ add_library(sasl2 SHARED IMPORTED GLOBAL)\n+ set_property(TARGE...
C++
Apache License 2.0
apache/mesos
Imported sasl2 target on non-Windows platforms. Review: https://reviews.apache.org/r/66392/
46,114
05.04.2018 15:06:38
25,200
abf070082ff93ed0f09f0776773077be313a40ae
Windows: Extracted job object code into `os/windows/jobobject.hpp`. The functions written to deal with job objects on Windows had become large enough to warrant being refactored into their own file. Also was the perfect opportunity to fix formatting issues. When including `jobobject.hpp` for `killtree.hpp`, other unnec...
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -173,6 +173,7 @@ nobase_include_HEADERS = \\\nstout/os/windows/ftruncate.hpp \\\nstout/os/windows/getcwd.hpp \\\nstout/os/windows/getenv.hpp \\\n+ stout/os/windo...
C++
Apache License 2.0
apache/mesos
Windows: Extracted job object code into `os/windows/jobobject.hpp`. The functions written to deal with job objects on Windows had become large enough to warrant being refactored into their own file. Also was the perfect opportunity to fix formatting issues. When including `jobobject.hpp` for `killtree.hpp`, other unn...
46,114
05.04.2018 15:06:45
25,200
c62fb69a1903f6e775f8800bcf309318d204fe72
Windows: Included used `jobobject.hpp` stout header in libprocess. The job object functions were refactored upstream from `windows/os.hpp` to `os/windows/jobobject.hpp`. Also removed `windows/os.hpp` because `os.hpp` includes it for us. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/windows/jobobject.hpp", "new_path": "3rdparty/libprocess/include/process/windows/jobobject.hpp", "diff": "#include <stout/lambda.hpp>\n#include <stout/nothing.hpp>\n#include <stout/windows.hpp> // For `SharedHandle`.\n-#incl...
C++
Apache License 2.0
apache/mesos
Windows: Included used `jobobject.hpp` stout header in libprocess. The job object functions were refactored upstream from `windows/os.hpp` to `os/windows/jobobject.hpp`. Also removed `windows/os.hpp` because `os.hpp` includes it for us. Review: https://reviews.apache.org/r/66421/
46,114
05.04.2018 15:06:47
25,200
a60bbd865ed79d3ffa55896efd42a6da40dd64e0
Windows: Included used `jobobject.hpp` stout header in Mesos. The job object functions were refactored upstream from `windows/os.hpp` to `os/windows/jobobject.hpp`. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "#include <stout/os/environment.hpp>\n#include <stout/os/kill.hpp>\n#include <stout/os/killtree.hpp>\n+\n#ifdef __WINDOWS__\n-#include <stout/windows/os.hpp>\n+#include <stout/os/wind...
C++
Apache License 2.0
apache/mesos
Windows: Included used `jobobject.hpp` stout header in Mesos. The job object functions were refactored upstream from `windows/os.hpp` to `os/windows/jobobject.hpp`. Review: https://reviews.apache.org/r/66422/
46,148
05.04.2018 17:43:50
25,200
dbd5515b82e319631a159c53136bd2d60cc63dd3
Updated an agent test to use the mock authorizer. The test `RemoveExecutorUponFailedTaskAuthorization` currently depends on catching and modifying the input arguments of agent `_run()` function to mock the authorizer behavior. Using the mock authorizer instead gives better readability and more functionality. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -572,7 +572,8 @@ Try<Owned<cluster::Slave>> MesosTest::StartSlave(\nmesos::master::detector::MasterDetector* detector,\nslave::Containerizer* containerizer,\nmesos::Authorizer* authorizer,\n-...
C++
Apache License 2.0
apache/mesos
Updated an agent test to use the mock authorizer. The test `RemoveExecutorUponFailedTaskAuthorization` currently depends on catching and modifying the input arguments of agent `_run()` function to mock the authorizer behavior. Using the mock authorizer instead gives better readability and more functionality. Review: ...
46,148
05.04.2018 17:43:57
25,200
397cdd599470bb6626f1656e848731eec2539600
Added a mock garbage collector. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -682,6 +682,15 @@ MockAuthorizer::MockAuthorizer()\nMockAuthorizer::~MockAuthorizer() {}\n+MockGarbageCollector::MockGarbageCollector()\n+{\n+ EXPECT_CALL(*this, unschedule(_)).WillRepeatedly...
C++
Apache License 2.0
apache/mesos
Added a mock garbage collector. Review: https://reviews.apache.org/r/66119/
46,148
05.04.2018 17:44:00
25,200
aa2b49591c7ef2898c7ed07170783c782ee783d2
Updated an agent test to use the mock garbage collector. The test `RemoveExecutorUponFailedTaskGroupLaunch` currently depends on catching and modifying the input arguments of the `Slave::__run()` function to mock the garbage collector behavior. Using the mock garbage collector gives better readability and more function...
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -430,16 +430,23 @@ Try<Owned<cluster::Slave>> MesosTest::StartSlave(\nTry<Owned<cluster::Slave>> MesosTest::StartSlave(\nMasterDetector* detector,\nslave::GarbageCollector* gc,\n- const Optio...
C++
Apache License 2.0
apache/mesos
Updated an agent test to use the mock garbage collector. The test `RemoveExecutorUponFailedTaskGroupLaunch` currently depends on catching and modifying the input arguments of the `Slave::__run()` function to mock the garbage collector behavior. Using the mock garbage collector gives better readability and more functio...
46,148
05.04.2018 17:44:06
25,200
cc57765ca35558acf787be7abae586bae3e69b42
Addressed flakiness in the agent tests. Directly invoking unmocked calls in tests can lead to concurrent access of actor state from multiple execution contexts. It is more robust to dispatch the unmocked calls instead. Expectations are also added to avoid "uninteresting mock function call" test warnings. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -4168,6 +4168,9 @@ TEST_F(SlaveTest, KillTaskBetweenRunTaskParts)\n&MockSlave::unmocked_removeFramework),\nFutureSatisfy(&removeFramework)));\n+ EXPECT_CALL(sched, executorLost(&d...
C++
Apache License 2.0
apache/mesos
Addressed flakiness in the agent tests. Directly invoking unmocked calls in tests can lead to concurrent access of actor state from multiple execution contexts. It is more robust to dispatch the unmocked calls instead. Expectations are also added to avoid "uninteresting mock function call" test warnings. Review: htt...
46,148
05.04.2018 17:44:12
25,200
adfdffdbe0ade15b3e7290aba0e6d8454a9383a2
Refactored agent task launch for better composition [1/2]. This helps to encapsulate a task launch into a single future which will be useful when enforcing the task launch order. This patch also consolidated the error handling code in the task launch path. Affected tests are also updated. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -2152,22 +2152,88 @@ void Slave::run(\n}\n}\n+ auto onUnscheduleGCFailure =\n+ [=](const Future<list<bool>>& unschedules) -> Future<list<bool>> {\n+ LOG(ERROR) << \"Failed to unschedule direc...
C++
Apache License 2.0
apache/mesos
Refactored agent task launch for better composition [1/2]. This helps to encapsulate a task launch into a single future which will be useful when enforcing the task launch order. This patch also consolidated the error handling code in the task launch path. Affected tests are also updated. Review: https://reviews.ap...
46,148
05.04.2018 17:44:20
25,200
37c477a68cdc93053fbbfe1dc208362d518ffcb1
Refactored agent task launch for better composition [2/2]. This helps to encapsulate a task launch into a single future which will be useful when enforcing the task launch order. Affected tests are also updated. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -2206,8 +2206,9 @@ void Slave::run(\nreturn unschedules;\n};\n- // Run the task after the unschedules are done.\n- collect(unschedules)\n+ // Handle any unschedule GC failure. If unschedule G...
C++
Apache License 2.0
apache/mesos
Refactored agent task launch for better composition [2/2]. This helps to encapsulate a task launch into a single future which will be useful when enforcing the task launch order. Affected tests are also updated. Review: https://reviews.apache.org/r/66143/
46,148
05.04.2018 17:44:32
25,200
028ea54866064762f9e044929a75b2003a5986eb
Added three matchers for agent tests. Added a test matcher to match the `TaskID` of `Option<TaskInfo>`, a matcher to match an `Option<TaskGroupInfo>` which contains a task with the specified `TaskID`, and a matcher to match the `TaskID` of `authorization::Request.Object.TaskInfo`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -3600,6 +3600,47 @@ MATCHER_P(TaskStatusUpdateStateEq, taskState, \"\")\n}\n+// This matcher is used to match the task id of\n+// `authorization::Request.Object.TaskInfo`.\n+MATCHER_P(Authori...
C++
Apache License 2.0
apache/mesos
Added three matchers for agent tests. Added a test matcher to match the `TaskID` of `Option<TaskInfo>`, a matcher to match an `Option<TaskGroupInfo>` which contains a task with the specified `TaskID`, and a matcher to match the `TaskID` of `authorization::Request.Object.TaskInfo`. Review: https://reviews.apache.org/r...
46,148
05.04.2018 17:44:53
25,200
06d8d759a4d7d85e291644711cecd835825d54dd
Added a test for killing the executor during task launch. This test verifies that when the agent shuts down a running executor, launching tasks on the agent that use the same executor will be dropped. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -5641,6 +5641,176 @@ TEST_F(SlaveTest, LaunchTaskGroupsUsingSameExecutorKillLaterTaskGroup)\n}\n+// This test verifies that when agent shuts down a running executor, launching\n+/...
C++
Apache License 2.0
apache/mesos
Added a test for killing the executor during task launch. This test verifies that when the agent shuts down a running executor, launching tasks on the agent that use the same executor will be dropped. Review: https://reviews.apache.org/r/66347/
46,210
06.04.2018 20:05:36
-7,200
1e2af373a39a39ee015c1994ff36161eb29c79dd
Added to a comment in master.cpp. Adds an additional example to a comment explaining a seemingly duplicate registration attempt of a slave. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6475,9 +6475,12 @@ void Master::_registerSlave(\nif (Slave* slave = slaves.registered.get(pid)) {\nif (!slave->connected) {\n// The slave was previously disconnected but it is now trying...
C++
Apache License 2.0
apache/mesos
Added to a comment in master.cpp. Adds an additional example to a comment explaining a seemingly duplicate registration attempt of a slave. Review: https://reviews.apache.org/r/66164/
46,103
09.04.2018 13:48:58
-7,200
55688ac6983d74532439c1dad8d00ac2ea61bcb4
Added missing gmock expectation. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_provider_manager_tests.cpp", "new_path": "src/tests/resource_provider_manager_tests.cpp", "diff": "@@ -1109,6 +1109,7 @@ TEST_P(ResourceProviderManagerHttpApiTest, ResubscribeResourceProvider)\nFuture<Nothing> __recover = FUTURE_DISPATCH(_, ...
C++
Apache License 2.0
apache/mesos
Added missing gmock expectation. Review: https://reviews.apache.org/r/66450/
46,103
09.04.2018 13:49:20
-7,200
4bed840cab4ee029e810e10c4014fa888d638922
Tightened resource provider manager registrar tests. This patch changes tests of operations on the resource provider manager registrar to make the operations return with a success instead of just checking that the future results get ready. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_provider_manager_tests.cpp", "new_path": "src/tests/resource_provider_manager_tests.cpp", "diff": "@@ -857,11 +857,17 @@ TEST_F(ResourceProviderRegistrarTest, AgentRegistrar)\nAWAIT_READY(registrar.get()->recover());\n- AWAIT_READY(registrar...
C++
Apache License 2.0
apache/mesos
Tightened resource provider manager registrar tests. This patch changes tests of operations on the resource provider manager registrar to make the operations return with a success instead of just checking that the future results get ready. Review: https://reviews.apache.org/r/66476/
46,103
09.04.2018 13:49:51
-7,200
d3cc91ee24fd3cbd20e2f05675f7f513b40c59d2
Added devolve function for 'ResourceProviderInfo'. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -124,6 +124,12 @@ ResourceProviderID devolve(const v1::ResourceProviderID& resourceProviderId)\nreturn id;\n}\n+ResourceProviderInfo devolve(\n+ const v1::ResourceProviderInfo& reso...
C++
Apache License 2.0
apache/mesos
Added devolve function for 'ResourceProviderInfo'. Review: https://reviews.apache.org/r/66451/
46,103
09.04.2018 13:50:02
-7,200
7b14bf72b6a97cd0a63ca1ca28e21b559cbb0651
Added stringification for resource provider message type. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/message.hpp", "new_path": "src/resource_provider/message.hpp", "diff": "@@ -45,6 +45,19 @@ struct ResourceProviderMessage\nDISCONNECT\n};\n+ friend std::ostream& operator<<(std::ostream& stream, const Type& type) {\n+ switch (type) {\n+ c...
C++
Apache License 2.0
apache/mesos
Added stringification for resource provider message type. Review: https://reviews.apache.org/r/66471/
46,111
27.03.2018 15:12:26
25,200
0cd87235ea75a946100e1b5aa0b110852ab4958f
Added difference operator overload for hashset. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/hashset.hpp", "new_path": "3rdparty/stout/include/stout/hashset.hpp", "diff": "@@ -162,4 +162,30 @@ hashset<Elem, Hash, Equal>& operator|=(\nreturn left;\n}\n+\n+// Difference operator.\n+template <typename Elem, typename Hash, typ...
C++
Apache License 2.0
apache/mesos
Added difference operator overload for hashset. Review: https://reviews.apache.org/r/66342
46,111
27.03.2018 15:12:42
25,200
be47e96e727f07758ff9b8ba1c23bbec2a489cd6
Added test for difference operator of hashset. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/hashset_tests.cpp", "new_path": "3rdparty/stout/tests/hashset_tests.cpp", "diff": "@@ -161,3 +161,31 @@ TEST(HashsetTest, Union)\nASSERT_EQ(hs3, hs4);\n}\n+\n+\n+TEST(HashsetTest, Difference)\n+{\n+ hashset<int> hs1;\n+ hs1.insert(1);\n+ h...
C++
Apache License 2.0
apache/mesos
Added test for difference operator of hashset. Review: https://reviews.apache.org/r/66343
46,103
10.04.2018 17:06:39
-7,200
befb4d7cb9873c220bfb3033c727d42a17828645
Avoided copy in accessing resource provider subscription field. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/manager.cpp", "new_path": "src/resource_provider/manager.cpp", "diff": "@@ -579,7 +579,7 @@ void ResourceProviderManagerProcess::subscribe(\nconst HttpConnection& http,\nconst Call::Subscribe& subscribe)\n{\n- ResourceProviderInfo resourc...
C++
Apache License 2.0
apache/mesos
Avoided copy in accessing resource provider subscription field. Review: https://reviews.apache.org/r/66527/
46,103
10.04.2018 17:06:49
-7,200
88f5629e510d71a32bd7e0ff7ee09e150f944e72
Added logging of failed resource provider registry updates. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/registrar.cpp", "new_path": "src/resource_provider/registrar.cpp", "diff": "@@ -282,7 +282,13 @@ void AgentRegistrarProcess::update()\nRegistry updatedRegistry = registry.get();\nforeach (Owned<Registrar::Operation>& operation, operations...
C++
Apache License 2.0
apache/mesos
Added logging of failed resource provider registry updates. Review: https://reviews.apache.org/r/66528/
46,148
10.04.2018 17:30:00
25,200
21166da14fc8bbe501de0dd36deacaf2b0f0e3eb
Refactored resources chopping logic in allocator. Introduced a `shrinkResources()` lambda in allocator so that the same resource chopping logic can be re-used in the future, in particular, when introducing the quota limit. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1574,6 +1574,45 @@ void HierarchicalAllocatorProcess::__allocate()\nreturn quotaRoleSorter->allocationScalarQuantities(role).toUnreserved();\n...
C++
Apache License 2.0
apache/mesos
Refactored resources chopping logic in allocator. Introduced a `shrinkResources()` lambda in allocator so that the same resource chopping logic can be re-used in the future, in particular, when introducing the quota limit. Review: https://reviews.apache.org/r/66044/
46,148
10.04.2018 17:50:16
25,200
1a8cdfa50c53ca1fafbfff7567463c73c979d72f
Renamed `resources` in allocator to `toAllocate`. `resources` is currently used in the allocator to denote resources that are going to be allocated. This name is too general and ambiguous. Renamed it to `toAllocate` for better readability. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1868,7 +1868,7 @@ void HierarchicalAllocatorProcess::__allocate()\n//\n// NOTE: Since we currently only support top-level roles to\n// have qu...
C++
Apache License 2.0
apache/mesos
Renamed `resources` in allocator to `toAllocate`. `resources` is currently used in the allocator to denote resources that are going to be allocated. This name is too general and ambiguous. Renamed it to `toAllocate` for better readability. Review: https://reviews.apache.org/r/66045/
46,053
10.04.2018 23:40:52
25,200
3dcd225dbb817da676ae57f4f8871650ece5a0b8
Updated minimum supported Linux kernel version. Implementation of `freezer` cgroup, which supports nested containers, was introduced in 2.6.28. This patch updates documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -24,7 +24,7 @@ There are different ways you can get Mesos:\nMesos runs on Linux (64 Bit) and Mac OS X (64 Bit). To build Mesos from source, GCC 4.8.1+ or Clang 3.5+ is required.\n-On Linux, a kerne...
C++
Apache License 2.0
apache/mesos
Updated minimum supported Linux kernel version. Implementation of `freezer` cgroup, which supports nested containers, was introduced in 2.6.28. This patch updates documentation. Review: https://reviews.apache.org/r/66474/
46,128
11.04.2018 11:47:27
25,200
7097eec5c7ec57665071adf7710ccf5e075588a0
Updated the documented release schedule. Review:
[ { "change_type": "MODIFY", "old_path": "docs/versioning.md", "new_path": "docs/versioning.md", "diff": "@@ -16,15 +16,15 @@ This document describes the release strategy for Mesos post 1.0.0 release.\n## Release Schedule\n-Mesos releases are time-based, not feature-based. This gives users and develop...
C++
Apache License 2.0
apache/mesos
Updated the documented release schedule. Review: https://reviews.apache.org/r/66454/
46,111
11.04.2018 14:33:22
25,200
8a6e912273cc5f4fe9061027e93f3a9e113a0a65
Converted `pid` in command executor to `Option<pid_t>`. This avoids unix's assumption that `pid_t` is a signed integer (which is not the case on Windows) and explicitly shows whether a pid has been assigned from launching. We also changed argument name in `reaped` method to `_pid` to avoid shadowing. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -141,7 +141,7 @@ public:\nkilled(false),\nkilledByHealthCheck(false),\nterminated(false),\n- pid(-1),\n+ pid(None()),\nshutdownGracePeriod(_shutdownGracePeriod),\nframeworkInfo(No...
C++
Apache License 2.0
apache/mesos
Converted `pid` in command executor to `Option<pid_t>`. This avoids unix's assumption that `pid_t` is a signed integer (which is not the case on Windows) and explicitly shows whether a pid has been assigned from launching. We also changed argument name in `reaped` method to `_pid` to avoid shadowing. Review: https:/...
46,053
11.04.2018 14:29:31
25,200
28998f7186682ba53b6e10b7f2116f4d0b23ae8d
Updated tests due to change of containerizer's `destroy()` return type. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/cluster.cpp", "new_path": "src/tests/cluster.cpp", "diff": "@@ -655,7 +655,8 @@ Slave::~Slave()\nprocess::Future<Option<ContainerTermination>> wait =\ncontainerizer->wait(containerId);\n- process::Future<bool> destroy = containerizer->destroy(contain...
C++
Apache License 2.0
apache/mesos
Updated tests due to change of containerizer's `destroy()` return type. Review: https://reviews.apache.org/r/66511/
46,055
12.04.2018 16:44:29
-28,800
99c73e0c4b0bee67790d98650e064843fef3933c
Fixed a typo in the help message of the agent flag `--recovery_timeout`.
[ { "change_type": "MODIFY", "old_path": "src/slave/flags.cpp", "new_path": "src/slave/flags.cpp", "diff": "@@ -498,7 +498,7 @@ mesos::internal::slave::Flags::Flags()\n\"For partition-aware frameworks, it makes sense to set this higher\\n\"\n\"than the timeout that the framework uses to give up on the...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the help message of the agent flag `--recovery_timeout`.
46,172
12.04.2018 14:37:10
-7,200
2f7f03f249a724d61265dabfadb5bb83eb2008e8
Improved documentation regarding the new CLI setup. Explains how to create the necessary virtual environment from anywhere and how to set up autocompletion in such case. Also removes an unnecessary activation of the virtual environment in `mesos` and `mesos-cli-tests`. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/README.md", "new_path": "src/python/cli_new/README.md", "diff": "@@ -32,9 +32,36 @@ when you are done.\n$ source deactivate\n```\n-**NOTE:** The virtual environment will also setup bash\n-autocomplete for all `mesos` commands.\n+You can also...
C++
Apache License 2.0
apache/mesos
Improved documentation regarding the new CLI setup. Explains how to create the necessary virtual environment from anywhere and how to set up autocompletion in such case. Also removes an unnecessary activation of the virtual environment in `mesos` and `mesos-cli-tests`. Review: https://reviews.apache.org/r/65585/
46,172
12.04.2018 06:10:28
25,200
bffa9f3c5b8dc5ed27fc4f079c0376c2a64ea042
Added options to build the Python CLI and run unit tests. An update of the discarded review /r/52543. Works with Autotools and CMake. Review:
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -57,7 +57,13 @@ add_subdirectory(src)\n# TESTS.\n########\nadd_custom_target(check COMMAND ctest -V -C $<CONFIG> DEPENDS tests)\n-add_custom_target(tests DEPENDS stout-tests libprocess-tests mesos-test...
C++
Apache License 2.0
apache/mesos
Added options to build the Python CLI and run unit tests. An update of the discarded review /r/52543. Works with Autotools and CMake. Review: https://reviews.apache.org/r/64211/
46,120
12.04.2018 13:07:44
25,200
3fb36f1581cac36ad946fe3916f635c6429f0b9a
Made FreeBSD default to non-GNU ld. This patch fixes linking on FreeBSD (when building with Clang) by adding the necessary linker flags to use either LLD or GOLD (whichever is found first) instead of GNU LD (BFD), which is incompatible. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -357,6 +357,34 @@ string(COMPARE EQUAL ${CMAKE_SYSTEM_NAME} \"Linux\" LINUX)\n######################\nstring(COMPARE EQUAL ${CMAKE_SYSTEM_NAME} \"FreeBSD\" FREEBSD)\...
C++
Apache License 2.0
apache/mesos
Made FreeBSD default to non-GNU ld. This patch fixes linking on FreeBSD (when building with Clang) by adding the necessary linker flags to use either LLD or GOLD (whichever is found first) instead of GNU LD (BFD), which is incompatible. Review: https://reviews.apache.org/r/66493/
46,087
12.04.2018 12:07:07
25,200
ea7a94bd2a9605f91b1baad5c3b7b5e3d9505384
Bumped the CSI spec bundle to 0.2.0. The bundle is generated as follows: 1. Download the tarball from the following link: v0.2.0.tar.gz 2. Run the following commands: tar zxf v0.2.0.tar.gz mv spec-0.2.0 csi-0.2.0 tar zcf csi-0.2.0.tar.gz csi-0.2.0 Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/Versions.cmake", "new_path": "3rdparty/cmake/Versions.cmake", "diff": "@@ -2,8 +2,8 @@ set(BOOST_VERSION \"1.65.0\")\nset(BOOST_HASH \"SHA256=085A1696AE2E735AACD0A497d46AACD7EEC0476E0D39937162F642B92F406476\")\nset(CONCURRENTQUEUE_VERSION \"7b69...
C++
Apache License 2.0
apache/mesos
Bumped the CSI spec bundle to 0.2.0. The bundle is generated as follows: 1. Download the tarball from the following link: https://github.com/container-storage-interface/spec/archive/ v0.2.0.tar.gz 2. Run the following commands: tar zxf v0.2.0.tar.gz mv spec-0.2.0 csi-0.2.0 tar zcf csi-0.2.0.tar.gz csi-...
46,087
12.04.2018 12:07:19
25,200
aeffcd7d9a1f9c97e5e347063ceab71c43c00e2d
Adapted storage local resource provider to use CSI v0.2. This patch contains necessary changes for the storage local resource provider to use CSI v0.2. Support for the `STAGE_UNSTAGE_VOLUME` CSI node service capability is not implemented in this patch yet. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -366,10 +366,11 @@ private:\nvoid reconcileOperations(\nconst Event::ReconcileOperations& reconcile);\n- Future<csi::Client> connect(const string...
C++
Apache License 2.0
apache/mesos
Adapted storage local resource provider to use CSI v0.2. This patch contains necessary changes for the storage local resource provider to use CSI v0.2. Support for the `STAGE_UNSTAGE_VOLUME` CSI node service capability is not implemented in this patch yet. Review: https://reviews.apache.org/r/66410/
46,087
12.04.2018 12:34:02
25,200
f852ffaccece40ddd2ba1ac1b29a117687bf6917
Made the test CSI plugin compatible to CSI v0.2. This patch contains necessary changes for the test CSI plugin to support CSI v0.2. The `STAGE_UNSTAGE_VOLUME` node service capability is not implemented in this patch yet. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/test_csi_plugin.cpp", "new_path": "src/examples/test_csi_plugin.cpp", "diff": "@@ -98,20 +98,18 @@ public:\nclass TestCSIPlugin\n- : public csi::Identity::Service,\n- public csi::Controller::Service,\n- public csi::Node::Service\n+ : public csi::v...
C++
Apache License 2.0
apache/mesos
Made the test CSI plugin compatible to CSI v0.2. This patch contains necessary changes for the test CSI plugin to support CSI v0.2. The `STAGE_UNSTAGE_VOLUME` node service capability is not implemented in this patch yet. Review: https://reviews.apache.org/r/66411/
46,087
12.04.2018 18:41:42
25,200
554503985288dde4cd016c424b17cf3aedb1e4b0
Handled failed publish and unpublish CSI calls properly. Previously, when a `ControllerPublishVolume` or a `NodePublishVolume` fails, SLRP assumes the volume states remain unchanged, which are not suggested by the CSI spec. This patch handles such failures properly. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -99,12 +99,13 @@ using process::collect;\nusing process::defer;\nusing process::loop;\nusing process::spawn;\n-using process::undiscardable;\nusi...
C++
Apache License 2.0
apache/mesos
Handled failed publish and unpublish CSI calls properly. Previously, when a `ControllerPublishVolume` or a `NodePublishVolume` fails, SLRP assumes the volume states remain unchanged, which are not suggested by the CSI spec. This patch handles such failures properly. Review: https://reviews.apache.org/r/66418/
46,087
12.04.2018 19:42:26
25,200
a9aa3ad8599cdafbd8d36620887c7f9002ff56d2
Supported `STAGE_UNSTAGE_VOLUME` CSI node capability in SLRP. The storage local resource provider now properly calls `NodeStageVolume` or `NodeUnstageVolume` when publishing or deleting volumes for CSI plugins support the `STAGE_UNSTAGE_VOLUME` capability. Review:
[ { "change_type": "MODIFY", "old_path": "src/csi/state.proto", "new_path": "src/csi/state.proto", "diff": "@@ -26,10 +26,13 @@ message VolumeState {\nenum State {\nUNKNOWN = 0;\nCREATED = 1; // The volume is provisioned but not published.\n- NODE_READY = 2; // The volume is attached to the node.\n- P...
C++
Apache License 2.0
apache/mesos
Supported `STAGE_UNSTAGE_VOLUME` CSI node capability in SLRP. The storage local resource provider now properly calls `NodeStageVolume` or `NodeUnstageVolume` when publishing or deleting volumes for CSI plugins support the `STAGE_UNSTAGE_VOLUME` capability. Review: https://reviews.apache.org/r/66575/
46,087
12.04.2018 19:42:29
25,200
5a105893acbae841f68fe95c109a6ff3c3fd63a9
Added `STAGE_UNSTAGE_VOLUME` capability to the test CSI plugin. Now it is required to call `NodeStageVolume` before `NodePublishVolume` for the test CSI plugin. `NodeStageVolume` would bind-mount the volume directory to the specified staging path, and then `NodePublishVolume` would bind-mount the staging path to the ta...
[ { "change_type": "MODIFY", "old_path": "src/examples/test_csi_plugin.cpp", "new_path": "src/examples/test_csi_plugin.cpp", "diff": "@@ -216,6 +216,16 @@ public:\nconst csi::v0::ControllerGetCapabilitiesRequest* request,\ncsi::v0::ControllerGetCapabilitiesResponse* response) override;\n+ virtual Stat...
C++
Apache License 2.0
apache/mesos
Added `STAGE_UNSTAGE_VOLUME` capability to the test CSI plugin. Now it is required to call `NodeStageVolume` before `NodePublishVolume` for the test CSI plugin. `NodeStageVolume` would bind-mount the volume directory to the specified staging path, and then `NodePublishVolume` would bind-mount the staging path to the t...
46,057
13.04.2018 13:12:45
-7,200
6dbedb34ec059eefae4391daf1b4f59c35ae95cf
Provided new overload of 'ProcessBase::route()'. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/logging.hpp", "new_path": "3rdparty/libprocess/include/process/logging.hpp", "diff": "@@ -44,15 +44,7 @@ public:\nprotected:\nvirtual void initialize()\n{\n- if (authenticationRealm.isSome()) {\n- route(\"/toggle\", authenti...
C++
Apache License 2.0
apache/mesos
Provided new overload of 'ProcessBase::route()'. Review: https://reviews.apache.org/r/65461/
46,057
13.04.2018 13:13:12
-7,200
fabf2edc83eae6b32048e22edc18fe4d8738dbe1
Used the new 'route()' overload from libprocess. Review:
[ { "change_type": "MODIFY", "old_path": "src/files/files.cpp", "new_path": "src/files/files.cpp", "diff": "@@ -172,6 +172,23 @@ private:\nconst http::Request& request,\nconst Option<Principal>& principal);\n+ // These functions log the request before continuing to the actual function.\n+ Future<http:...
C++
Apache License 2.0
apache/mesos
Used the new 'route()' overload from libprocess. Review: https://reviews.apache.org/r/65462/
46,159
13.04.2018 15:03:10
25,200
c716f70fcb1643325e8f190223c12d63325c1216
Fixed a typo and formatting in docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/replicated-log-internals.md", "new_path": "docs/replicated-log-internals.md", "diff": "@@ -40,7 +40,7 @@ Each replica keeps an array of log entries. The array index is the log position.\n### Reaching consensus for a single log entry\n-A Paxos round can he...
C++
Apache License 2.0
apache/mesos
Fixed a typo and formatting in docs. Review: https://reviews.apache.org/r/64921/
46,159
13.04.2018 15:03:15
25,200
925afdca4bd0bf45a316403e1b3e89cca16c57ed
Added VOTING replica catch-up section to replicated log docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/replicated-log-internals.md", "new_path": "docs/replicated-log-internals.md", "diff": "@@ -113,6 +113,14 @@ The other choice is to do automatic initialization. Our idea is: we allow a repl\nTo do auto-initialization, if we use a single-phase protocol and ...
C++
Apache License 2.0
apache/mesos
Added VOTING replica catch-up section to replicated log docs. Review: https://reviews.apache.org/r/64922/
46,159
13.04.2018 15:04:46
25,200
34d92d8b3495c1ea871b4993eb174bb94f1c31ef
Added replicated log reader catch-up section to the upgrades doc. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -408,6 +408,10 @@ We categorize the changes as follows:\n* Protobuf version 3+ is required to build Mesos. Please upgrade your Protobuf library if you are using an unbundled one.\n+<a name=\"1-5-x-...
C++
Apache License 2.0
apache/mesos
Added replicated log reader catch-up section to the upgrades doc. Review: https://reviews.apache.org/r/64923/
46,078
13.04.2018 15:16:00
25,200
95fc99fdfc328b171a71f0a0f98e3326b81537dd
Improved the documentation on Offer.executor_ids.
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1887,6 +1887,8 @@ message Offer {\nrepeated Resource resources = 5;\nrepeated Attribute attributes = 7;\n+\n+ // Executors of the same framework running on the this agent.\nrepea...
C++
Apache License 2.0
apache/mesos
Improved the documentation on Offer.executor_ids.
46,056
17.04.2018 13:59:24
-7,200
a95d9b8fb53ab8fbf4a7b6d762c9e0749b4c013a
Fixed the comment in mesos.proto.
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1888,7 +1888,7 @@ message Offer {\nrepeated Resource resources = 5;\nrepeated Attribute attributes = 7;\n- // Executors of the same framework running on the this agent.\n+ // Exe...
C++
Apache License 2.0
apache/mesos
Fixed the comment in mesos.proto.
46,129
07.04.2018 01:38:50
25,200
2bfcbccdeeb37c5f83e571113b03fa904b3fee05
Added unit test slave recovery for default executor tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1372,6 +1372,104 @@ TEST_P(DefaultExecutorTest, ReservedResources)\n}\n+// This test verifies that the agent could recover if the agent\n+// metadata is che...
C++
Apache License 2.0
apache/mesos
Added unit test slave recovery for default executor tests. Review: https://reviews.apache.org/r/66538
46,129
10.04.2018 12:22:31
25,200
eeaf5052f02701833aa7662960d6a24dff7f48ab
Added unit test for recovering nested container without slave state. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "diff": "@@ -1706,6 +1706,113 @@ TEST_F(NestedMesosContainerizerTest, ROOT_CGROUPS_RecoverNested)\n}\n+// This test verif...
C++
Apache License 2.0
apache/mesos
Added unit test for recovering nested container without slave state. Review: https://reviews.apache.org/r/66540
46,129
08.04.2018 20:01:20
25,200
bd447bb5c0295b7cb9f5773b02d1e4cb52bd154e
Added default executor test for agent recovery without metadata. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1470,6 +1470,113 @@ TEST_P(DefaultExecutorTest, SlaveRecoveryWithMetadataCheckpointed)\n}\n+#ifdef __linux__\n+// This test verifies that the agent could re...
C++
Apache License 2.0
apache/mesos
Added default executor test for agent recovery without metadata. Review: https://reviews.apache.org/r/66541
46,087
17.04.2018 18:38:38
25,200
cbb947d50adeb1d76768910367cd973712b06583
Marked volume/block creation and destroy operations as experimental. This patch marks the `CREATE_VOLUME`, `DESTROY_VOLUME`, `CREATE_BLOCK` and `DESTROY_BLOCK` as experimental APIs. It also unifies the way we mark experimental APIs. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -419,7 +419,7 @@ message FrameworkInfo {\n* specifying one of the optional fields. Specifying more than one type\n* is an error.\n*\n- * NOTE: This API is unstable and the related...
C++
Apache License 2.0
apache/mesos
Marked volume/block creation and destroy operations as experimental. This patch marks the `CREATE_VOLUME`, `DESTROY_VOLUME`, `CREATE_BLOCK` and `DESTROY_BLOCK` as experimental APIs. It also unifies the way we mark experimental APIs. Review: https://reviews.apache.org/r/66616/
46,087
17.04.2018 18:38:52
25,200
97cc6656279ed0b785226b3f5166e955f399a1e7
Marked the resource provider API as experimental. This patch marks the resource provider API as experimental, and make the v0 and v1 protos consistent. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_provider/resource_provider.proto", "new_path": "include/mesos/resource_provider/resource_provider.proto", "diff": "@@ -23,6 +23,9 @@ package mesos.resource_provider;\noption java_package = \"org.apache.mesos.resource_provider\";\noption ...
C++
Apache License 2.0
apache/mesos
Marked the resource provider API as experimental. This patch marks the resource provider API as experimental, and make the v0 and v1 protos consistent. Review: https://reviews.apache.org/r/66648/
46,057
17.04.2018 18:31:31
-7,200
cae2d20c28af742d1b92f5882009cfd0f62dc9d6
Added jemalloc release tarball and build rules. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -30,6 +30,7 @@ set(ELFIO_URL ${FETCH_URL}/elfio-${ELFIO_VERSION}.tar.gz)\nset(GLOG_URL ${FETCH_URL}/glog-${GLOG_VERSION}.tar.gz)\nset(GOOGLETEST_URL ${FETCH_URL}/googletest-release-${...
C++
Apache License 2.0
apache/mesos
Added jemalloc release tarball and build rules. Review: https://reviews.apache.org/r/63366/
46,057
17.04.2018 18:31:47
-7,200
58e224efe4173fe5061c968b41712053b7c22a3e
Added new --memory_profiling flag to agent and master binaries. This flag allows explicit disabling of the memory profiler endpoint in the master and agent binaries. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/flags.cpp", "new_path": "src/master/flags.cpp", "diff": "@@ -627,6 +627,17 @@ mesos::internal::master::Flags::Flags()\n\"However, this port (along with `advertise_ip`) may be used to\\n\"\n\"access this master.\");\n+ // TODO(bevers): Switch the def...
C++
Apache License 2.0
apache/mesos
Added new --memory_profiling flag to agent and master binaries. This flag allows explicit disabling of the memory profiler endpoint in the master and agent binaries. Review: https://reviews.apache.org/r/63370/
46,056
17.04.2018 23:05:49
-7,200
f5bd65340257dbc7e1784f14a3837808d08be729
Ensured HTTP responses end with period and linefeed. For consistency, all HTTP responses `MemoryProfiler` can produce now end with a period and a linefeed character.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -108,7 +108,8 @@ environment variable, for example LD_PRELOAD=/usr/lib/libjemalloc.so\nIf you're running a mesos binary, and want to have it li...
C++
Apache License 2.0
apache/mesos
Ensured HTTP responses end with period and linefeed. For consistency, all HTTP responses `MemoryProfiler` can produce now end with a period and a linefeed character.
46,056
18.04.2018 00:02:20
-7,200
47e88dd987b179d7db7d21b79b70d824560f5a40
Fixed help messages in MemoryProfiler.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -444,6 +444,7 @@ const std::string MemoryProfiler::DOWNLOAD_RAW_HELP()\n\"> id=VALUE Optional parameter to request a specific\",\n\"> version o...
C++
Apache License 2.0
apache/mesos
Fixed help messages in MemoryProfiler.
46,056
18.04.2018 01:01:02
-7,200
a3560c16610f79b4b402e0c0af2dadbb16232fdc
Removed std:: prefix in "memory_profiler.cpp".
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "#include \"memory_profiler.hpp\"\n+#include <chrono>\n+#include <fstream>\n+#include <sstream>\n+#include <string>\n+\n#include <process/delay.hpp...
C++
Apache License 2.0
apache/mesos
Removed std:: prefix in "memory_profiler.cpp".
46,056
18.04.2018 01:50:42
-7,200
f2cb9073c61c1089db559014abe5b6d2d6d71714
Simplified MemoryProfiler by removing a method overload.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -574,7 +574,7 @@ MemoryProfiler::ProfilingRun::ProfilingRun(\ntimer(delay(\nduration,\nprofiler,\n- &MemoryProfiler::_stopAndGenerateRawProfile...
C++
Apache License 2.0
apache/mesos
Simplified MemoryProfiler by removing a method overload.
46,056
18.04.2018 01:35:40
-7,200
963a289c6b3bfcec420092105c1d39837a261bbc
Cleaned up method ordering in memory profiler.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -545,25 +545,16 @@ void MemoryProfiler::initialize()\nDOWNLOAD_GRAPH_HELP(),\n&MemoryProfiler::downloadGraph);\n- route(\"/state\",\n- authenti...
C++
Apache License 2.0
apache/mesos
Cleaned up method ordering in memory profiler.
46,056
18.04.2018 03:07:32
-7,200
915bf398a930e2b7f0ec571fa5a5712d7bb3ca82
Simplified download pipeline in MemoryProfiler.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -818,6 +818,7 @@ Future<http::Response> MemoryProfiler::downloadRaw(\n\"No heap profile exists: \" + jemallocRawProfile.id().error() + \".\\n\"...
C++
Apache License 2.0
apache/mesos
Simplified download pipeline in MemoryProfiler.
46,056
18.04.2018 03:10:30
-7,200
081ef161a2bd72eb61e354fe9f033f915a5f89cc
Reconciled method names with the actions they perform.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -533,12 +533,12 @@ void MemoryProfiler::initialize()\nroute(\"/download/raw\",\nauthenticationRealm,\nDOWNLOAD_RAW_HELP(),\n- &MemoryProfiler::...
C++
Apache License 2.0
apache/mesos
Reconciled method names with the actions they perform.
46,056
18.04.2018 05:26:01
-7,200
ca21ca82071f2c53d5817424569977728260da65
Refactored `DiskArtifact` in memory profiler.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -300,15 +300,12 @@ Try<Path> getTemporaryDirectoryPath() {\n}\n+// TODO(alexr): Consider making this asynchronous.\nTry<Nothing> generateJeprof...
C++
Apache License 2.0
apache/mesos
Refactored `DiskArtifact` in memory profiler.
46,114
18.04.2018 17:52:53
25,200
1e30b3e357a83067a1e6285740188d8be90b764d
Windows: Fixed Ninja in Release configuration. Several third-party dependencies had TODOs to be resolved in order to build with `-DCMAKE_BUILD_TYPE=Release` with Ninja on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -706,16 +706,19 @@ if (WIN32)\nIMPORTED_LOCATION_DEBUG ${CURL_ROOT}-build/src/Debug/curl-d.exe\nIMPORTED_LOCATION_RELEASE ${CURL_ROOT}-build/src/Release/curl.exe)\nelse ()\n+ # This i...
C++
Apache License 2.0
apache/mesos
Windows: Fixed Ninja in Release configuration. Several third-party dependencies had TODOs to be resolved in order to build with `-DCMAKE_BUILD_TYPE=Release` with Ninja on Windows. Review: https://reviews.apache.org/r/66709
46,114
20.04.2018 12:20:57
25,200
b95312d4493b515c291f9e1871d1a7ef1db33b9a
Windows: Fixed build due to uses of `flags.switch_user`. While this test was disabled (at runtime) on Windows, it did not build because the field does not exist on Windows.
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -1262,13 +1262,13 @@ TEST_F(SlaveTest, DISABLED_ROOT_RunTaskWithCommandInfoWithUser)\ndriver.stop();\ndriver.join();\n}\n-#endif // __WINDOWS__\n// This test verifies that the age...
C++
Apache License 2.0
apache/mesos
Windows: Fixed build due to uses of `flags.switch_user`. While this test was disabled (at runtime) on Windows, it did not build because the field does not exist on Windows.
46,087
20.04.2018 18:17:43
25,200
2adbfdcbda9384ce5d29528a4a94b4b21dfca901
Enabled CSI proto compilation by default. CSI proto compilation is disabled due to which is resolved by bumping CSI to v0.2. This patch enables the compilation again. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -28,6 +28,10 @@ set(JAVA_PROTOBUF_SRC \"\")\n# Build the protobuf structs.\n#\n+# NOTE: The following `PROTOC_GENERATE` calls will list append to\n+# `PUBLIC_PROTO_PATH`, `PUBLIC_PROTOBUF_INCLU...
C++
Apache License 2.0
apache/mesos
Enabled CSI proto compilation by default. CSI proto compilation is disabled due to MESOS-8749, which is resolved by bumping CSI to v0.2. This patch enables the compilation again. Review: https://reviews.apache.org/r/66577/
46,087
20.04.2018 18:17:46
25,200
e06f3ec093dc255a9236caebd42331471a7f1863
Cherry-picked gRPC PR for Windows compilation. We added a gRPC patch file that includes to fix Windows compilation, and updated `grpc.md` to match the format of `protobuf.md`. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "3rdparty/grpc-1.10.0.patch", "diff": "+diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h\n+index bf1bf3df6a..85704e6559 100644\n+--- a/include/grpc/impl/codegen/port_platform.h\n++++ b/include/grp...
C++
Apache License 2.0
apache/mesos
Cherry-picked gRPC PR #15128 for Windows compilation. We added a gRPC patch file that includes https://github.com/grpc/grpc/pull/15128 to fix Windows compilation, and updated `grpc.md` to match the format of `protobuf.md`. Review: https://reviews.apache.org/r/66727/
46,087
20.04.2018 18:17:48
25,200
a2ee950fc605c67085360f1d28a9a0373b34d067
Building gRPC with CMake. This patch adds an `ENABLE_GRPC` option and builds the bundled gRPC 3rdparty library in CMake. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -29,6 +29,7 @@ set(CSI_URL ${FETCH_URL}/csi-${CSI_VERSION}.tar.gz)\nset(ELFIO_URL ${FETCH_URL}/elfio-${ELFIO_VERSION}.tar.gz)\nset(GLOG_URL ${FETCH_URL}/glog-${GLOG_VERSION}.tar.gz)\n...
C++
Apache License 2.0
apache/mesos
Building gRPC with CMake. This patch adds an `ENABLE_GRPC` option and builds the bundled gRPC 3rdparty library in CMake. Review: https://reviews.apache.org/r/61096/
46,087
20.04.2018 18:17:50
25,200
8021e29381dedf4dd8082f6f889e2f4e67505d2a
Building gRPC support in libprocess with CMake. This patch enables CMake to build code for gRPC support in libprocess along with tests. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/CMakeLists.txt", "new_path": "3rdparty/libprocess/src/CMakeLists.txt", "diff": "@@ -71,6 +71,11 @@ else ()\nsubprocess_posix.cpp)\nendif ()\n+if (ENABLE_GRPC)\n+ list(APPEND PROCESS_SRC\n+ grpc.cpp)\n+endif ()\n+\nif (ENABLE_LIBEVENT)\n...
C++
Apache License 2.0
apache/mesos
Building gRPC support in libprocess with CMake. This patch enables CMake to build code for gRPC support in libprocess along with tests. Review: https://reviews.apache.org/r/61118/
46,087
20.04.2018 18:17:53
25,200
12a907bf102014d31af6dd7d757ea96f5f6b4881
Built storage local resource provider with CMake. This patch adds CMake rules for compiling necessary source code for building storage local resource provider and related tests. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -478,6 +478,11 @@ add_definitions(\n-DVERSION=\"${PACKAGE_VERSION}\"\n-DPKGDATADIR=\"${DATA_INSTALL_PREFIX}\")\n+if (ENABLE_GRPC)\n+ # TODO(chhsiao): Make this non-g...
C++
Apache License 2.0
apache/mesos
Built storage local resource provider with CMake. This patch adds CMake rules for compiling necessary source code for building storage local resource provider and related tests. Review: https://reviews.apache.org/r/66163/
46,056
16.04.2018 19:18:49
-7,200
d6552b06cf2d1a345a8ac3ea61c0cb7eb5d293e3
Libprocess: Avoided magic values in decoder.hpp. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/decoder.hpp", "new_path": "3rdparty/libprocess/src/decoder.hpp", "diff": "namespace process {\n+namespace http_parsing {\n+\n+// We expect callbacks to return 0 on success and 1 on failure. These constants\n+// are introduced solely to ...
C++
Apache License 2.0
apache/mesos
Libprocess: Avoided magic values in decoder.hpp. Review: https://reviews.apache.org/r/66638
46,056
13.03.2018 13:37:49
-3,600
2d7b7ef6d17e81395214741a613a68a6fb86483f
Stout: Ensured exceptions are caught for `picojson::parse()`. `picojson::parse()` might throw in some cases, including when a parsed number is out of bounds. This patch captures possible exceptions at the call site and converts them to `Error`s. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/json.hpp", "new_path": "3rdparty/stout/include/stout/json.hpp", "diff": "@@ -890,13 +890,26 @@ inline Try<Value> parse(const std::string& s)\n// Because PicoJson supports repeated parsing of multiple objects/arrays in a\n// stream,...
C++
Apache License 2.0
apache/mesos
Stout: Ensured exceptions are caught for `picojson::parse()`. `picojson::parse()` might throw in some cases, including when a parsed number is out of bounds. This patch captures possible exceptions at the call site and converts them to `Error`s. Review: https://reviews.apache.org/r/66091
46,148
23.04.2018 00:16:09
25,200
7679600740028ce4af263e9bf0a7f03a653d039b
Improved error message in the fetcher. Included error message from `mkdir` when returning error. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/fetcher.cpp", "new_path": "src/launcher/fetcher.cpp", "diff": "@@ -305,7 +305,8 @@ static Try<string> fetchBypassingCache(\nif (result.isError()) {\nreturn Error(\n- \"Unable to create subdirectory \" + dirname + \" in sandbox\");\n+ \"Unable to c...
C++
Apache License 2.0
apache/mesos
Improved error message in the fetcher. Included error message from `mkdir` when returning error. Review: https://reviews.apache.org/r/66725/
46,066
23.04.2018 08:28:10
25,200
7a3c63fe16c7a31f93a6ac37f0d449cf177c1657
Fixed a regression in isolator ordering. The 'volume/sandbox_path' isolator works on POSIX but was only added to the Mesos containerizer isolators for Linux. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -400,9 +400,12 @@ Try<MesosContainerizer*> MesosContainerizer::create(\n// Volume isolators.\n+#ifndef __WINDOWS__\n+ {\"volume/sandbox...
C++
Apache License 2.0
apache/mesos
Fixed a regression in isolator ordering. The 'volume/sandbox_path' isolator works on POSIX but was only added to the Mesos containerizer isolators for Linux. Review: https://reviews.apache.org/r/66759/
46,139
23.04.2018 13:43:21
25,200
4e55884bf78f65cb62398df713426d4606dc9bc9
Fixed a bug in `Master::updateSlave()`. A part of `Master::updateSlave()` doesn't account for operations created via the operator API; this patch fixes that. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -7775,7 +7775,8 @@ void Master::updateSlave(UpdateSlaveMessage&& message)\naddOperation(framework, slave, new Operation(operation));\n- if (!protobuf::isTerminalState(operation.latest_sta...
C++
Apache License 2.0
apache/mesos
Fixed a bug in `Master::updateSlave()`. A part of `Master::updateSlave()` doesn't account for operations created via the operator API; this patch fixes that. Review: https://reviews.apache.org/r/66459/
46,139
23.04.2018 13:43:25
25,200
50b315a8271a221b1f83f558bc29a19ee39d32cc
Added an evolve function for `v1::scheduler::Response`. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/evolve.cpp", "new_path": "src/internal/evolve.cpp", "diff": "@@ -500,6 +500,12 @@ v1::executor::Event evolve(const executor::Event& event)\n}\n+v1::scheduler::Response evolve(const scheduler::Response& response)\n+{\n+ return evolve<v1::scheduler:...
C++
Apache License 2.0
apache/mesos
Added an evolve function for `v1::scheduler::Response`. Review: https://reviews.apache.org/r/66461/
46,139
23.04.2018 13:43:26
25,200
c265ae60b9976d16e74736704f8005029d4137a8
Cleaned up internal evolve functions. This patch removes the `mesos::` prefix from declarations where possible, uses a consistent number of empty lines in the header, and reorders some declarations. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/evolve.cpp", "new_path": "src/internal/evolve.cpp", "diff": "@@ -217,19 +217,19 @@ v1::UUID evolve(const UUID& uuid)\n}\n-v1::agent::Call evolve(const mesos::agent::Call& call)\n+v1::agent::Call evolve(const agent::Call& call)\n{\nreturn evolve<v1...
C++
Apache License 2.0
apache/mesos
Cleaned up internal evolve functions. This patch removes the `mesos::` prefix from declarations where possible, uses a consistent number of empty lines in the header, and reorders some declarations. Review: https://reviews.apache.org/r/66489/