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
23.04.2018 13:43:28
25,200
918f99e6558db465f4c6aca75563e0c49b0203d1
Added new operation states to be used for status reconciliation. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2309,6 +2309,35 @@ enum OperationState {\n// TERMINAL: The operation was dropped due to a transient error.\nOPERATION_DROPPED = 5;\n+\n+ // The operation affects an agent that ha...
C++
Apache License 2.0
apache/mesos
Added new operation states to be used for status reconciliation. Review: https://reviews.apache.org/r/66462/
46,139
23.04.2018 13:43:34
25,200
c7c384832905945aa3ef8cf02ed6ad20256290e7
Added a master metric for operation reconciliation messages. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -663,6 +663,13 @@ messages may indicate that there is a problem with the network.\n<td>Number of operation status update acknowledgement messages</td>\n<td>Counter</td>\n</tr>\n+<tr>\n+ <td>\n+...
C++
Apache License 2.0
apache/mesos
Added a master metric for operation reconciliation messages. Review: https://reviews.apache.org/r/66463/
46,139
23.04.2018 13:43:41
25,200
d26169081699b6bc654113ae7ea980e55cd5f67d
Implemented operation status reconciliation. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/scheduler/scheduler.proto", "new_path": "include/mesos/v1/scheduler/scheduler.proto", "diff": "@@ -426,7 +426,13 @@ message Call {\nmessage ReconcileOperations {\nmessage Operation {\nrequired OperationID operation_id = 1;\n+\n+ // If `agent_i...
C++
Apache License 2.0
apache/mesos
Implemented operation status reconciliation. Review: https://reviews.apache.org/r/66464/
46,139
23.04.2018 13:43:49
25,200
327a4a965b3d39b00b0d09d91b4475398adb6068
Updated `using` statements in `tests/mesos.hpp`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -413,6 +413,16 @@ namespace maintenance = mesos::v1::maintenance;\nnamespace master = mesos::v1::master;\nnamespace quota = mesos::v1::quota;\n+using mesos::v1::OPERATION_PENDING;\n+using mes...
C++
Apache License 2.0
apache/mesos
Updated `using` statements in `tests/mesos.hpp`. Review: https://reviews.apache.org/r/66465/
46,139
23.04.2018 13:43:51
25,200
28b93d53e2e5bfa7fd9a808aa203b178e2d8c75e
Updated `RESERVE()` helper to allow specifying an operation ID. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -1296,11 +1296,18 @@ inline TDomainInfo createDomainInfo(\n// Helpers for creating operations.\ntemplate <typename TResources, typename TOffer>\n-inline typename TOffer::Operation RESERVE(con...
C++
Apache License 2.0
apache/mesos
Updated `RESERVE()` helper to allow specifying an operation ID. Review: https://reviews.apache.org/r/66466/
46,139
23.04.2018 13:43:54
25,200
949b44e239aa218aefceb5fadf3cee7c46972ca9
Added a test helper for creating `RECONCILE_OPERATIONS` v1 calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2192,6 +2192,30 @@ inline mesos::v1::scheduler::Call createCallKill(\n}\n+inline mesos::v1::scheduler::Call createCallReconcileOperations(\n+ const mesos::v1::FrameworkID& frameworkId,\n+ co...
C++
Apache License 2.0
apache/mesos
Added a test helper for creating `RECONCILE_OPERATIONS` v1 calls. Review: https://reviews.apache.org/r/66467/
46,139
23.04.2018 13:43:56
25,200
c39ef69514e57ca7c90e764a4a617abf88cd144f
Added a `call()` method to the v1 scheduler library. This patch adds a `call()` method to the scheduler library that allows clients to send a `v1::scheduler::Call` to the master and receive a `v1::scheduler::Response`. It will be used to test operation state reconciliation. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/scheduler.hpp", "new_path": "include/mesos/v1/scheduler.hpp", "diff": "#include <mesos/v1/scheduler/scheduler.hpp>\n+#include <process/future.hpp>\n+\n+#include <stout/option.hpp>\n+\nnamespace mesos {\nnamespace master {\n@@ -48,6 +52,7 @@ pu...
C++
Apache License 2.0
apache/mesos
Added a `call()` method to the v1 scheduler library. This patch adds a `call()` method to the scheduler library that allows clients to send a `v1::scheduler::Call` to the master and receive a `v1::scheduler::Response`. It will be used to test operation state reconciliation. Review: https://reviews.apache.org/r/66460...
46,139
23.04.2018 13:43:58
25,200
b8cca436fb5646adad8174124efdb549f6988422
Added tests for operation status reconciliation. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2552,6 +2552,7 @@ mesos_tests_SOURCES = \\\ntests/mock_registrar.cpp \\\ntests/module.cpp \\\ntests/module_tests.cpp \\\n+ tests/operation_reconciliation_tests.cpp \\\ntests/operation_status_update_...
C++
Apache License 2.0
apache/mesos
Added tests for operation status reconciliation. Review: https://reviews.apache.org/r/66468/
46,139
23.04.2018 13:44:01
25,200
d58e6351b1377c53cf5122b5f0755c4a7d09a44f
Updated documentation for operation feedback. Review:
[ { "change_type": "MODIFY", "old_path": "docs/csi.md", "new_path": "docs/csi.md", "diff": "@@ -345,27 +345,11 @@ It is important for the frameworks to get the results of the above offer\noperations so that they know if the dynamic disk provisioning is successful or\nnot.\n-Unfortunately, the current ...
C++
Apache License 2.0
apache/mesos
Updated documentation for operation feedback. Review: https://reviews.apache.org/r/66696/
46,177
23.04.2018 11:57:31
25,200
33e6a23e9ca967e9659236edc7a50e7d4f363a03
Fixed two leaks in UriDiskProfileAdaptorTests. Original code in: These leaks cause log lines like the following to appear throughout test output: process.cpp:2746] Returning '404 Not Found' for '/(97)/profiles' uri_disk_profile_adaptor.cpp:225] Failed to parse result: ... This leads to unnecessary confusion when viewin...
[ { "change_type": "MODIFY", "old_path": "src/tests/disk_profile_adaptor_tests.cpp", "new_path": "src/tests/disk_profile_adaptor_tests.cpp", "diff": "@@ -450,18 +450,20 @@ TEST_F(UriDiskProfileAdaptorTest, DISABLED_FetchFromFile)\n// Create the module before we've written anything to the file.\n// Thi...
C++
Apache License 2.0
apache/mesos
Fixed two leaks in UriDiskProfileAdaptorTests. Original code in: https://reviews.apache.org/r/65640/ These leaks cause log lines like the following to appear throughout test output: process.cpp:2746] Returning '404 Not Found' for '/(97)/profiles' uri_disk_profile_adaptor.cpp:225] Failed to parse result: ... Thi...
46,148
23.04.2018 14:39:52
25,200
366b27af20a6aa2532132057b01f7ec658a2946a
Fixed an documentation error in `monitoring.md`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -410,7 +410,7 @@ unhealthy or that they are not able to connect to the elected master.\n</tr>\n<tr>\n<td>\n- <code>master/slaves_inactive</code>\n+ <code>master/slaves_unreachable</code>\n</td>...
C++
Apache License 2.0
apache/mesos
Fixed an documentation error in `monitoring.md`. Review: https://reviews.apache.org/r/66692/
46,139
23.04.2018 14:22:26
25,200
3711d66aa9eb70e12b184d3c2f79bf56fbd9cffa
Made the master send operation status updates when dropping operations. This patch makes the master send an operation status update to the framework with status `OPERATION_ERROR` when an operation with an operation ID is dropped. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2277,13 +2277,22 @@ void Master::drop(\n// TODO(jieyu): Increment a metric.\n- // NOTE: There is no direct feedback to the framework when an\n- // operation is dropped. The framework wil...
C++
Apache License 2.0
apache/mesos
Made the master send operation status updates when dropping operations. This patch makes the master send an operation status update to the framework with status `OPERATION_ERROR` when an operation with an operation ID is dropped. Review: https://reviews.apache.org/r/66679/
46,114
25.04.2018 11:43:50
25,200
ac4d52d89e3164353aee946fb4f8e56a0c908a03
Windows: Documented GNU patch's error if line endings are wrong. While the step necessary to prevent the error was documented, it was easy to skip, and moreover, the error message from GNU patch is entirely unhelpful in resolving the problem.
[ { "change_type": "MODIFY", "old_path": "docs/windows.md", "new_path": "docs/windows.md", "diff": "@@ -23,7 +23,10 @@ Mesos 1.0.0 introduced experimental support for Windows.\n4. If building from source, install [Git](https://git-scm.com/download/win).\nDuring installation, keep the defaults to \"Use...
C++
Apache License 2.0
apache/mesos
Windows: Documented GNU patch's error if line endings are wrong. While the step necessary to prevent the error was documented, it was easy to skip, and moreover, the error message from GNU patch is entirely unhelpful in resolving the problem.
46,057
26.04.2018 12:01:26
-7,200
aa65947286d9115d1bdd34d7b7f0f0038e128345
Added documentation for memory profiling. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -5,10 +5,13 @@ This release contains the following new features:\n* [MESOS-8534] - **Experimental** A nested container is now allowed\nto join a separate CNI network than its parent container.\n- * [MESOS-7944] ...
C++
Apache License 2.0
apache/mesos
Added documentation for memory profiling. Review: https://reviews.apache.org/r/63372/
46,055
27.04.2018 09:30:48
-28,800
617d55e24a3bef7305b75c8fc6cbd1d1f14d7f6a
Added `libacl` into a few Dockerfiles. This commit adds `libacl` into Dockerfiles for the images: 1. mesos/mesos-build 2. mesos/mesos-tidy 2. mesos/mesos-mini Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build/centos-7.dockerfile", "new_path": "support/mesos-build/centos-7.dockerfile", "diff": "@@ -34,6 +34,7 @@ RUN yum groupinstall -y 'Development Tools' && \\\ndevtoolset-4-gcc-c++ \\\ngit \\\njava-1.8.0-openjdk-devel \\\n+ libacl-devel \\\nlibc...
C++
Apache License 2.0
apache/mesos
Added `libacl` into a few Dockerfiles. This commit adds `libacl` into Dockerfiles for the images: 1. mesos/mesos-build 2. mesos/mesos-tidy 2. mesos/mesos-mini Review: https://reviews.apache.org/r/66840
46,165
27.04.2018 16:06:58
25,200
898ff1b20293f5d55f2c7b65d231cc52bebf9d85
Added a test for PushGauge. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp", "diff": "#include <process/metrics/counter.hpp>\n#include <process/metrics/gauge.hpp>\n#include <process/metrics/metrics.hpp>\n+#include <process/m...
C++
Apache License 2.0
apache/mesos
Added a test for PushGauge. Review: https://reviews.apache.org/r/66830/
46,165
27.04.2018 16:07:01
25,200
8fad04ef8e86949cba0de3a0e571dd138d581d68
Renamed Gauge to PullGauge and documented differences to PushGauge. Given `PushGauge`, it makes sense to explicitly distinguish the two gauge types and document the the caveats of `PullGauge`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/Makefile.am", "new_path": "3rdparty/libprocess/include/Makefile.am", "diff": "@@ -46,7 +46,7 @@ nobase_include_HEADERS = \\\nprocess/mime.hpp \\\nprocess/mutex.hpp \\\nprocess/metrics/counter.hpp \\\n- process/metrics/gauge.hpp \\\n...
C++
Apache License 2.0
apache/mesos
Renamed Gauge to PullGauge and documented differences to PushGauge. Given `PushGauge`, it makes sense to explicitly distinguish the two gauge types and document the the caveats of `PullGauge`. Review: https://reviews.apache.org/r/66831/
46,087
30.04.2018 14:20:06
25,200
fd49c4a968b71045de686ded37aa539efa11fc19
Added comments and made some renaming in SLRP. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -339,14 +339,21 @@ private:\nvoid initialize() override;\nvoid fatal();\n+ // The recover functions are responsible to recover the state of the\n...
C++
Apache License 2.0
apache/mesos
Added comments and made some renaming in SLRP. Review: https://reviews.apache.org/r/65974/
46,087
30.04.2018 14:20:10
25,200
7b768a9120bc7e6f8dd9095d3f965d5f9b7352dd
Checkpointed profiles in storage local resource provider. SLRP now checkpoints profiles associated with storage pools, and does not depend on the `DiskProfileAdaptor` module to return the set of previously-known profiles during recovery. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/state.proto", "new_path": "src/resource_provider/state.proto", "diff": "syntax = \"proto2\";\n+import \"csi.proto\";\n+\nimport \"mesos/mesos.proto\";\npackage mesos.resource_provider;\n@@ -25,11 +27,25 @@ option java_outer_classname = \"...
C++
Apache License 2.0
apache/mesos
Checkpointed profiles in storage local resource provider. SLRP now checkpoints profiles associated with storage pools, and does not depend on the `DiskProfileAdaptor` module to return the set of previously-known profiles during recovery. Review: https://reviews.apache.org/r/65594/
46,078
23.04.2018 14:59:44
25,200
1c6d9e5e6d7439444c77d6c91b18642f69557dfe
Fixed flaky ReconciliationTest.ReconcileStatusUpdateTaskState. To simulate a master failover we need to use `replicated_log` as the registry otherwise the master loses persisted info about the agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/reconciliation_tests.cpp", "new_path": "src/tests/reconciliation_tests.cpp", "diff": "@@ -1018,6 +1018,8 @@ TEST_F(ReconciliationTest, ReconcileStatusUpdateTaskState)\n{\n// Start a master.\nmaster::Flags masterFlags = CreateMasterFlags();\n+ masterF...
C++
Apache License 2.0
apache/mesos
Fixed flaky ReconciliationTest.ReconcileStatusUpdateTaskState. To simulate a master failover we need to use `replicated_log` as the registry otherwise the master loses persisted info about the agents. Review: https://reviews.apache.org/r/66769
46,114
15.03.2018 15:27:32
25,200
8b7798f31ea37077e5091d279fcf352a01577366
Split `stout/os/open.hpp` into Windows and POSIX files. The logic remained the same, just with the Windows code removed from the POSIX code, and vice versa. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -139,6 +139,7 @@ nobase_include_HEADERS = \\\nstout/os/posix/mkdir.hpp \\\nstout/os/posix/mkdtemp.hpp \\\nstout/os/posix/mktemp.hpp \\\n+ stout/os/posix/open.hpp...
C++
Apache License 2.0
apache/mesos
Split `stout/os/open.hpp` into Windows and POSIX files. The logic remained the same, just with the Windows code removed from the POSIX code, and vice versa. Review: https://reviews.apache.org/r/66423
46,114
16.03.2018 16:17:57
25,200
ef5113760bf262a425b71744129a863f19576292
Windows: Replaced `WindowsFD` with `int_fd` typedef. The latter should be used everywhere but in the implementation for consistency with the POSIX side of the code. Also meant fixing the included header (and spacing). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/internal/windows/inherit.hpp", "new_path": "3rdparty/stout/include/stout/internal/windows/inherit.hpp", "diff": "#include <stout/error.hpp>\n#include <stout/nothing.hpp>\n#include <stout/try.hpp>\n-\n-#include <stout/os/windows/fd....
C++
Apache License 2.0
apache/mesos
Windows: Replaced `WindowsFD` with `int_fd` typedef. The latter should be used everywhere but in the implementation for consistency with the POSIX side of the code. Also meant fixing the included header (and spacing). Review: https://reviews.apache.org/r/66425
46,114
16.03.2018 16:20:49
25,200
9e93d0e731bcc83c8144ef2790c74237b50fd20c
Windows: More constness in stout. Also small fixes such as `reserve` over an allocation, and a bad name `si` instead of `info`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/getcwd.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/getcwd.hpp", "diff": "@@ -29,13 +29,13 @@ namespace os {\ninline std::string getcwd()\n{\n// First query for the buffer size required.\n- DWORD length = :...
C++
Apache License 2.0
apache/mesos
Windows: More constness in stout. Also small fixes such as `reserve` over an allocation, and a bad name `si` instead of `info`. Review: https://reviews.apache.org/r/66426
46,114
16.03.2018 22:35:36
25,200
e7d4b3a7a34c4431277c1e8d40697bd634a7d1bd
Split `stout/os/lseek.hpp` into Windows and POSIX files. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -136,6 +136,7 @@ nobase_include_HEADERS = \\\nstout/os/posix/kill.hpp \\\nstout/os/posix/killtree.hpp \\\nstout/os/posix/ls.hpp \\\n+ stout/os/posix/lseek.hpp \\...
C++
Apache License 2.0
apache/mesos
Split `stout/os/lseek.hpp` into Windows and POSIX files. Review: https://reviews.apache.org/r/66427
46,114
16.03.2018 22:39:04
25,200
2d22336f81378bea083f221690684a4ea826a6ec
Windows: Fixed `os::lseek()` to use `SetFilePointerEx()`. Note the TODO, we may want to synchronize this code later. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/lseek.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/lseek.hpp", "diff": "#ifndef __STOUT_OS_WINDOWS_LSEEK_HPP__\n#define __STOUT_OS_WINDOWS_LSEEK_HPP__\n-#include <io.h>\n-\n#include <stout/error.hpp>\n#incl...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `os::lseek()` to use `SetFilePointerEx()`. Note the TODO, we may want to synchronize this code later. Review: https://reviews.apache.org/r/66428
46,114
22.01.2018 16:03:50
28,800
37e284461345c9a014cf3f38ab01b6334e89d910
Windows: Deleted dead code from `process::internal` namespace. The deleted code was purely self-referential. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/subprocess_windows.cpp", "new_path": "3rdparty/libprocess/src/subprocess_windows.cpp", "diff": "@@ -44,78 +44,12 @@ using OutputFileDescriptors = Subprocess::IO::OutputFileDescriptors;\nnamespace internal {\n-static Try<HANDLE> duplicat...
C++
Apache License 2.0
apache/mesos
Windows: Deleted dead code from `process::internal` namespace. The deleted code was purely self-referential. Review: https://reviews.apache.org/r/66429
46,114
19.03.2018 13:39:08
25,200
fc2e3e99e601f0b1ca3290806955232d7544e08e
Windows: Fixed `os::dup()` to use `DuplicateHandle()`. Note that for now we need to keep the original CRT code, as it can't be removed until `FD_CRT` is removed too. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/dup.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/dup.hpp", "diff": "@@ -25,11 +25,8 @@ namespace os {\ninline Try<int_fd> dup(const int_fd& fd)\n{\nswitch (fd.type()) {\n- case WindowsFD::FD_CRT:\n- case Wi...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `os::dup()` to use `DuplicateHandle()`. Note that for now we need to keep the original CRT code, as it can't be removed until `FD_CRT` is removed too. Review: https://reviews.apache.org/r/66430
46,114
19.03.2018 13:59:47
25,200
bf585fa2b8a0b103dbfae31973d02bcfac127456
Windows: Fixed `os::read()` to use `ReadFile()`. This can eventually support overlapped I/O. The Windows API `ReadFile()` returns an error if the pipe is broken, where `_read()` did not, but this is not an error for us as the data is still read correctly. So we ignore it. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/read.hpp", "new_path": "3rdparty/stout/include/stout/os/read.hpp", "diff": "#include <stout/result.hpp>\n#include <stout/try.hpp>\n#ifdef __WINDOWS__\n+#include <stout/stringify.hpp>\n#include <stout/windows.hpp>\n#endif // __WI...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `os::read()` to use `ReadFile()`. This can eventually support overlapped I/O. The Windows API `ReadFile()` returns an error if the pipe is broken, where `_read()` did not, but this is not an error for us as the data is still read correctly. So we ignore it. Review: https://reviews.apache.org/r/66431
46,114
19.03.2018 20:42:42
25,200
5d1bbdd1b3ad92317226add8881ae63da010cd3b
Windows: Fixed `os::write()` to use `WriteFile()`. This can eventually support overlapped I/O. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/write.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/write.hpp", "diff": "#ifndef __STOUT_OS_WINDOWS_WRITE_HPP__\n#define __STOUT_OS_WINDOWS_WRITE_HPP__\n-#include <io.h>\n-\n#include <stout/nothing.hpp>\n#in...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `os::write()` to use `WriteFile()`. This can eventually support overlapped I/O. Review: https://reviews.apache.org/r/66432
46,114
20.03.2018 20:15:30
25,200
cf6c3324203d3ca67d7c24469046f964f5fc0e6e
Added overloads for `int_fd` to `os::stat::isdir()` and `size()`. These should be refactored to share the common code, and the additional overloads added to the other APIs too. However, it is not currently necessary, and would go unused. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/posix/stat.hpp", "new_path": "3rdparty/stout/include/stout/os/posix/stat.hpp", "diff": "@@ -62,6 +62,17 @@ inline Try<struct ::stat> stat(\nUNREACHABLE();\n}\n+\n+inline Try<struct ::stat> stat(const int_fd fd)\n+{\n+ struct ::s...
C++
Apache License 2.0
apache/mesos
Added overloads for `int_fd` to `os::stat::isdir()` and `size()`. These should be refactored to share the common code, and the additional overloads added to the other APIs too. However, it is not currently necessary, and would go unused. Review: https://reviews.apache.org/r/66435
46,114
03.04.2018 22:33:39
25,200
b061fb14638f306491d16cc79442ca5bc46bbde6
Windows: Made `net::download()` use CRT file descriptor explicitly. This is an edge case where a third-party library (libcurl) requires a CRT integer file descriptor. Thus we explicitly allocate one via `crt()`, which requires that we also manually close it via `_close()`, not `os::close()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/net.hpp", "new_path": "3rdparty/stout/include/stout/net.hpp", "diff": "@@ -167,19 +167,32 @@ inline Try<int> download(\ncurl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, nullptr);\ncurl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, true);\...
C++
Apache License 2.0
apache/mesos
Windows: Made `net::download()` use CRT file descriptor explicitly. This is an edge case where a third-party library (libcurl) requires a CRT integer file descriptor. Thus we explicitly allocate one via `crt()`, which requires that we also manually close it via `_close()`, not `os::close()`. Review: https://reviews.a...
46,114
20.03.2018 22:26:27
25,200
c516741a1348eee2d6b7e257fc2127f7d47c2a69
Windows: Made `protobuf::write()` use CRT file descriptor explicitly. This is another edge case where a third-party library (protobuf) requires a CRT integer file descriptor. Thus we duplicate the `int_fd` and then explicitly allocate via `crt()`, which requires that we also manually close it via `_close()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/protobuf.hpp", "new_path": "3rdparty/stout/include/stout/protobuf.hpp", "diff": "#include <stout/os/read.hpp>\n#include <stout/os/write.hpp>\n+#ifdef __WINDOWS__\n+#include <stout/os/dup.hpp>\n+#endif // __WINDOWS__\n+\nnamespace p...
C++
Apache License 2.0
apache/mesos
Windows: Made `protobuf::write()` use CRT file descriptor explicitly. This is another edge case where a third-party library (protobuf) requires a CRT integer file descriptor. Thus we duplicate the `int_fd` and then explicitly allocate via `crt()`, which requires that we also manually close it via `_close()`. Review: ...
46,114
30.03.2018 14:40:30
25,200
824b76f4be20ea3f82a19706bda8e58891d9fa61
Replaced `open()` with `os::open()` in `http_proxy.cpp`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http_proxy.cpp", "new_path": "3rdparty/libprocess/src/http_proxy.cpp", "diff": "@@ -150,22 +150,27 @@ bool HttpProxy::process(const Future<Response>& future, const Request& request)\nresponse.body.clear();\nconst string& path = response...
C++
Apache License 2.0
apache/mesos
Replaced `open()` with `os::open()` in `http_proxy.cpp`. Review: https://reviews.apache.org/r/66440
46,114
03.04.2018 12:02:24
25,200
b5f8769f3cf0a97b60ee2477f3830aaf688d850b
Windows: Fixed `os::abort()` to use `WriteFile()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/abort.hpp", "new_path": "3rdparty/stout/include/stout/abort.hpp", "diff": "#include <string.h>\n#ifdef __WINDOWS__\n-#include <stout/windows.hpp>\n+#include <stout/windows.hpp> // For `windows.h`.\n#else\n#include <unistd.h>\n#endi...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `os::abort()` to use `WriteFile()`. Review: https://reviews.apache.org/r/66442
46,114
03.04.2018 14:28:13
25,200
d9edabe43190c4973b485005f5aa8ac3950dec8a
Fixed `Subprocess::ChildHook::CHDIR()` to use `os::chdir()`. This needed to use the Stout API so that the correct Windows implementation is used, as `::chdir` is part of the CRT. Also included used but not included `stout/os/*` headers. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/subprocess.cpp", "new_path": "3rdparty/libprocess/src/subprocess.cpp", "diff": "#include <stout/strings.hpp>\n#include <stout/try.hpp>\n+#include <stout/os/chdir.hpp>\n+#include <stout/os/close.hpp>\n+#include <stout/os/dup.hpp>\n+#incl...
C++
Apache License 2.0
apache/mesos
Fixed `Subprocess::ChildHook::CHDIR()` to use `os::chdir()`. This needed to use the Stout API so that the correct Windows implementation is used, as `::chdir` is part of the CRT. Also included used but not included `stout/os/*` headers. Review: https://reviews.apache.org/r/66443
46,114
13.04.2018 15:45:41
25,200
942d495b9f0da9d7d5e0eb4ea441decc63d594ba
Added `FsTest.Open` to cover `os::open()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "diff": "#include <stout/os/getcwd.hpp>\n#include <stout/os/int_fd.hpp>\n#include <stout/os/ls.hpp>\n+#include <stout/os/lseek.hpp>\n#include <stout/os/m...
C++
Apache License 2.0
apache/mesos
Added `FsTest.Open` to cover `os::open()`. Review: https://reviews.apache.org/r/66641
46,114
24.04.2018 15:49:55
25,200
72c9e86941d347501c0d567189b8700f9e50d96e
Windows: Ported the rest of the `SubprocessTest` suite. These tests mostly "just worked" on Windows, with only minor changes, such as converting POSIX shell-script to Batch or PowerShell, and expecting Windows line-endings and quoting semantics. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "diff": "namespace io = process::io;\nusing process::Clock;\n-using process::subprocess;\n-using process::Subprocess;\nusing process::MAX_REA...
C++
Apache License 2.0
apache/mesos
Windows: Ported the rest of the `SubprocessTest` suite. These tests mostly "just worked" on Windows, with only minor changes, such as converting POSIX shell-script to Batch or PowerShell, and expecting Windows line-endings and quoting semantics. Review: https://reviews.apache.org/r/66790
46,114
26.04.2018 14:15:21
25,200
0b38be5ffa788029cb2aec4b89687d1f8f75af9c
Windows: Specialized `flags::parse<int_fd>`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/flags/parse.hpp", "new_path": "3rdparty/stout/include/stout/flags/parse.hpp", "diff": "@@ -189,6 +189,35 @@ inline Try<SecurePathOrValue> parse(const std::string& value)\nreturn result;\n}\n+\n+#ifdef __WINDOWS__\n+template <>\n+in...
C++
Apache License 2.0
apache/mesos
Windows: Specialized `flags::parse<int_fd>`. Review: https://reviews.apache.org/r/66834
46,114
26.04.2018 00:05:45
25,200
d4895888e99a686d7b7d298b8859df9faf12c3a7
Replaced `int` and `HANDLE` types with `int_fd`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.hpp", "new_path": "src/slave/containerizer/mesos/launch.hpp", "diff": "@@ -40,13 +40,8 @@ public:\nFlags();\nOption<JSON::Object> launch_info;\n-#ifdef __WINDOWS__\n- Option<HANDLE> pipe_read;\n- Option<HANDLE> pipe_write;\...
C++
Apache License 2.0
apache/mesos
Replaced `int` and `HANDLE` types with `int_fd`. Review: https://reviews.apache.org/r/66835
46,114
26.04.2018 10:06:26
25,200
2dcbdeb0d89f425338717b156c48f839e89758e3
Fixed `mesos-tcp-connect` to use `net::socket`. Use the stout wrapper instead of `::socket` so we have built-in error checking (and don't have to worry about types). Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/tcp_connect.cpp", "new_path": "src/checks/tcp_connect.cpp", "diff": "#include <stout/option.hpp>\n#include <stout/path.hpp>\n+#include <stout/os/close.hpp>\n#include <stout/os/socket.hpp>\nusing std::cerr;\n@@ -87,9 +88,9 @@ int testTCPConnect(const...
C++
Apache License 2.0
apache/mesos
Fixed `mesos-tcp-connect` to use `net::socket`. Use the stout wrapper instead of `::socket` so we have built-in error checking (and don't have to worry about types). Review: https://reviews.apache.org/r/66836
46,114
01.05.2018 20:04:52
25,200
a7dc5f472e1a7d49913ac5974684a091e4cf3a1c
Fixed redundant use of `.get().` with `->`.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "diff": "@@ -230,7 +230,7 @@ TEST_F(FsTest, CreateDirectoryAtMaxPath)\nconst size_t max_path_length = 248;\nconst string testdir = path::join(\nsandbox.g...
C++
Apache License 2.0
apache/mesos
Fixed redundant use of `.get().` with `->`.
46,167
01.05.2018 23:57:28
25,200
08bd592868752bb090386179e05fe5737b5a0d23
Add fiu to the list of contributors. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: xds2000\nreviewboard_user: xds2000\n+- name: Xudong Ni\n+ affiliations:\n+ - {organization: Apple}\n+ emails:\n+ - xd_ni@yahoo.com\n+ - xudong_ni@apple.com\n+ jira_user: fiu\n+ ...
C++
Apache License 2.0
apache/mesos
Add fiu to the list of contributors. This closes #287
46,066
02.05.2018 12:54:45
-7,200
674db615971d2288ffdd1b64f2be93367e03a63d
Added 'Ninja' byproducts for jemalloc. When building with 'Ninja', byproducts are used to resolve dependencies. These have to be added for third-party dependencies. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -1142,9 +1142,12 @@ if (ENABLE_JEMALLOC_ALLOCATOR)\nJEMALLOC_CONFIGURE_COMMAND\n${JEMALLOC_ROOT}/configure --enable-stats --enable-prof --with-malloc-conf=prof:true,prof_active:false)...
C++
Apache License 2.0
apache/mesos
Added 'Ninja' byproducts for jemalloc. When building with 'Ninja', byproducts are used to resolve dependencies. These have to be added for third-party dependencies. Review: https://reviews.apache.org/r/66904/
46,103
02.05.2018 13:26:32
25,200
5c6d882621b7d45f5d48904a847c1c366240e5e6
Disabled a resource provider resubscription test on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_provider_manager_tests.cpp", "new_path": "src/tests/resource_provider_manager_tests.cpp", "diff": "@@ -1044,7 +1044,14 @@ TEST_P(ResourceProviderManagerHttpApiTest, ConvertResources)\n// Test that resource provider can resubscribe with an ag...
C++
Apache License 2.0
apache/mesos
Disabled a resource provider resubscription test on Windows. Review: https://reviews.apache.org/r/66916/
46,111
03.05.2018 08:33:04
25,200
835f52bfdd0951ec731c19e084a5bc0ab58a287e
Added `max_completion_time` to `TaskInfo` and new reason. This new field can be used support tasks which have a maximum duration scheduling requirement. The new reason is added to distinguish from normal task kills. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2111,6 +2111,14 @@ message TaskInfo {\n// to use this information as needed and to handle tasks without\n// service discovery information.\noptional DiscoveryInfo discovery = 11;...
C++
Apache License 2.0
apache/mesos
Added `max_completion_time` to `TaskInfo` and new reason. This new field can be used support tasks which have a maximum duration scheduling requirement. The new reason is added to distinguish from normal task kills. Review: https://reviews.apache.org/r/66258/
46,111
03.05.2018 08:33:08
25,200
95bf46b9a114c5e37a45802f962414ef60ca2fc6
Added a validation that `max_completion_time` must be non-negative. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1187,6 +1187,18 @@ Option<Error> validateKillPolicy(const TaskInfo& task)\n}\n+Option<Error> validateMaxCompletionTime(const TaskInfo& task)\n+{\n+ if (task.has_max_completion_ti...
C++
Apache License 2.0
apache/mesos
Added a validation that `max_completion_time` must be non-negative. Review: https://reviews.apache.org/r/66591/
46,111
03.05.2018 08:33:32
25,200
197d1ea395e76961615e30f5b03550b1a4a4e779
Added `max_completion_time` support to command executor. If `TaskInfo.max_completion_time` is set, command executor will kill the task with `SIGKILL` immediately. Note that no KillPolicy will be observed. Framework should only received a `TASK_FAILED` state with `REASON_MAX_COMPLETION_TIME_REACHED` reason. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -140,6 +140,7 @@ public:\nlaunched(false),\nkilled(false),\nkilledByHealthCheck(false),\n+ killedByMaxCompletionTimer(false),\nterminated(false),\npid(None()),\nshutdownGracePerio...
C++
Apache License 2.0
apache/mesos
Added `max_completion_time` support to command executor. If `TaskInfo.max_completion_time` is set, command executor will kill the task with `SIGKILL` immediately. Note that no KillPolicy will be observed. Framework should only received a `TASK_FAILED` state with `REASON_MAX_COMPLETION_TIME_REACHED` reason. Review: ht...
46,111
03.05.2018 08:34:40
25,200
0278ac9f2890442c1bf84af2562eb27d1dbb0f50
Tested `max_completion_time` support in command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/command_executor_tests.cpp", "new_path": "src/tests/command_executor_tests.cpp", "diff": "@@ -230,6 +230,81 @@ TEST_P(CommandExecutorTest, TaskKillingCapability)\n}\n+// This test ensures that the command executor will terminate a task after it\n+// ...
C++
Apache License 2.0
apache/mesos
Tested `max_completion_time` support in command executor. Review: https://reviews.apache.org/r/66260/
46,111
03.05.2018 08:34:44
25,200
d86a7fed949ebc4c51a89c4fa7adef91ac5de9dc
Added support of `max_completion_time` in docker executor. If `TaskInfo.max_completion_time` is set, docker executor will kill the task immediately. We reuse the `shutdown` method to achieve a forced kill ignoring any `KillPolicy`. Framework should only received a `TASK_FAILED` state with `REASON_MAX_COMPLETION_TIME_RE...
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "@@ -99,6 +99,7 @@ public:\nkilled(false),\nterminated(false),\nkilledByHealthCheck(false),\n+ killedByTaskCompletionTimeout(false),\nlauncherDir(launcherDir),\ndocker(docker),\ncontainer...
C++
Apache License 2.0
apache/mesos
Added support of `max_completion_time` in docker executor. If `TaskInfo.max_completion_time` is set, docker executor will kill the task immediately. We reuse the `shutdown` method to achieve a forced kill ignoring any `KillPolicy`. Framework should only received a `TASK_FAILED` state with `REASON_MAX_COMPLETION_TIME_...
46,111
03.05.2018 08:34:48
25,200
7e11a2d39cc642944897d2480105dbfd860fa601
Tested `max_completion_time` support in docker executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -559,6 +559,114 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Launch)\n}\n+// This test verifies that docker executor wi...
C++
Apache License 2.0
apache/mesos
Tested `max_completion_time` support in docker executor. Review: https://reviews.apache.org/r/66284/
46,111
03.05.2018 08:35:03
25,200
0dcf5c7f0a013f67fff1fb012d1f45455f394708
Tested default executor support of `max_completion_time`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1705,6 +1705,229 @@ TEST_P(DefaultExecutorTest, SigkillExecutor)\n}\n+// This test verifies that the default executor terminates the entire group\n+// when ...
C++
Apache License 2.0
apache/mesos
Tested default executor support of `max_completion_time`. Review: https://reviews.apache.org/r/66293/
46,087
03.05.2018 14:30:12
25,200
f277372a73934205945645e85bb9d76ea50c10d1
Documented the changes in gRPC and CSI supports. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -41,6 +41,38 @@ We categorize the changes as follows:\n</th>\n</tr>\n</thead>\n+<tr>\n+ <td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Version-->\n+ 1.6.x\n+ </td>\n+\n+ <td st...
C++
Apache License 2.0
apache/mesos
Documented the changes in gRPC and CSI supports. Review: https://reviews.apache.org/r/66893/
46,087
03.05.2018 14:30:13
25,200
25d7880ce5910f3677e1dc74ea6f56797d9dc7f3
Fixed typos in `upgrades.md`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -424,7 +424,7 @@ We categorize the changes as follows:\n* A new [`network/ports`](isolators/network-ports.md) isolator has been added. The isolator supports the following new agent flags:\n* `--con...
C++
Apache License 2.0
apache/mesos
Fixed typos in `upgrades.md`. Review: https://reviews.apache.org/r/66894/
46,087
03.05.2018 14:30:14
25,200
2402f99ca9bdbb610f5ef4f444b25ac9e61cc269
Updated `csi.md`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/csi.md", "new_path": "docs/csi.md", "diff": "@@ -8,7 +8,9 @@ layout: documentation\nThis document describes the [Container Storage Interface](https://github.com/container-storage-interface/spec)\n(CSI) support in Mesos.\n-Currently, only CSI spec version ...
C++
Apache License 2.0
apache/mesos
Updated `csi.md`. Review: https://reviews.apache.org/r/66896/
46,111
03.05.2018 17:04:07
25,200
57e705a475ad03bfbef2605b3573a601239e6242
Ensured that agent does not delete volume upon grow or shrink. Previously, `slave::syncCheckpointedResources` implementation will delete a persistent volume using `Resources::contains` check, which could cause a resized volume being deleted. The function was rewritten to compare `set_difference` between old and new pat...
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4231,8 +4231,31 @@ void Slave::checkpointResourcesMessage(\nTry<Nothing> Slave::syncCheckpointedResources(\nconst Resources& newCheckpointedResources)\n{\n- Resources oldVolumes = checkpoint...
C++
Apache License 2.0
apache/mesos
Ensured that agent does not delete volume upon grow or shrink. Previously, `slave::syncCheckpointedResources` implementation will delete a persistent volume using `Resources::contains` check, which could cause a resized volume being deleted. The function was rewritten to compare `set_difference` between old and new pa...
46,111
03.05.2018 17:04:11
25,200
7d88e06cb9752c55aa0c80f0989c58e05ee495f9
Added offer operation to grow and shrink persistent volumes. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1923,6 +1923,8 @@ message Offer {\nDESTROY_VOLUME = 8; // EXPERIMENTAL.\nCREATE_BLOCK = 9; // EXPERIMENTAL.\nDESTROY_BLOCK = 10; // EXPERIMENTAL.\n+ GROW_VOLUME = 11; // EXPERIME...
C++
Apache License 2.0
apache/mesos
Added offer operation to grow and shrink persistent volumes. Review: https://reviews.apache.org/r/66049/
46,111
03.05.2018 17:04:21
25,200
9f2b4977c1fd6b1d0ab5cc5674fe825a46ae7961
Added a new `RESIZE_VOLUME` agent capability. This will be used as a feature flag to gate the new volume resize feature. This feature will be turn on by default once released. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -993,6 +993,10 @@ message SlaveInfo {\n//\n// (2) The ability to provide operation feedback.\nRESOURCE_PROVIDER = 4;\n+\n+ // This expresses the capability for the agent to handle...
C++
Apache License 2.0
apache/mesos
Added a new `RESIZE_VOLUME` agent capability. This will be used as a feature flag to gate the new volume resize feature. This feature will be turn on by default once released. Review: https://reviews.apache.org/r/66733/
46,111
03.05.2018 17:04:36
25,200
8251087b041ebdfd70ad5aa1e0296e139d4663f0
Implemented grow and shrink of persistent volumes. The new offer operations are implemented as speculative operations, but we will use validation to make them non-speculative on API level so that we can transition later without a breaking change. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "#include <stout/foreach.hpp>\n#include <stout/net.hpp>\n#include <stout/stringify.hpp>\n-#include <stout/unimplemented.hpp>\n#include <stout/unreachable.hpp>\n#include <stout...
C++
Apache License 2.0
apache/mesos
Implemented grow and shrink of persistent volumes. The new offer operations are implemented as speculative operations, but we will use validation to make them non-speculative on API level so that we can transition later without a breaking change. Review: https://reviews.apache.org/r/66050/
46,111
03.05.2018 17:04:42
25,200
71057f2c34b0ee4278be20a1da55423a81fc30a0
Added helper functions to create grow and shrink volume in test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -1342,6 +1342,32 @@ inline typename TOffer::Operation DESTROY(const TResources& volumes)\n}\n+template <typename TResource, typename TOffer>\n+inline typename TOffer::Operation GROW_VOLUME(\n...
C++
Apache License 2.0
apache/mesos
Added helper functions to create grow and shrink volume in test. Review: https://reviews.apache.org/r/66219/
46,111
03.05.2018 17:04:44
25,200
fa1ca073ceec0fe24073a1c873ebbb328f806885
Added tests for validation of `GrowVolume` and `ShrinkVolume`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -1460,6 +1460,304 @@ TEST_F(DestroyOperationValidationTest, MultipleResourceProviders)\n}\n+class GrowVolumeOperationValidationTest : public MesosTest {\n+...
C++
Apache License 2.0
apache/mesos
Added tests for validation of `GrowVolume` and `ShrinkVolume`. Review: https://reviews.apache.org/r/66858/
46,111
03.05.2018 17:04:48
25,200
274f2e6804b3f9322ae9e19c2c0acecd179cbd10
Added tests for `GROW_VOLUME` and `SHRINK_VOLUME` operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -448,6 +448,543 @@ TEST_P(PersistentVolumeTest, CreateAndDestroyPersistentVolumes)\n}\n+// This test verifies that a framework can grow a persistent volume...
C++
Apache License 2.0
apache/mesos
Added tests for `GROW_VOLUME` and `SHRINK_VOLUME` operations. Review: https://reviews.apache.org/r/66220/
46,111
03.05.2018 17:04:50
25,200
9656329cb313316e7e82ba5a73fae6ca0997e3af
Added new authorization for `ResizeVolume`. The new authorization action is modelled after `CreateVolume`, and will be shared by both `GROW_VOLUME` and `SHRINK_VOLUME` operations and corresponding operator APIs. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -114,6 +114,15 @@ message ACL {\nrequired Entity creator_principals = 2;\n}\n+ // Specifies which roles a principal can resize volumes for.\n+ message ResizeVo...
C++
Apache License 2.0
apache/mesos
Added new authorization for `ResizeVolume`. The new authorization action is modelled after `CreateVolume`, and will be shared by both `GROW_VOLUME` and `SHRINK_VOLUME` operations and corresponding operator APIs. Review: https://reviews.apache.org/r/66531/
46,111
03.05.2018 17:04:57
25,200
360ae2f95ef4850018843e88fd8adc1e847f6ce0
Added test for authorization actions for `RESIZE_VOLUME`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/authorization_tests.cpp", "new_path": "src/tests/authorization_tests.cpp", "diff": "@@ -1977,6 +1977,300 @@ TYPED_TEST(AuthorizationTest, DestroyVolume)\n}\n+// Tests the authorization of ACLs used for resizing volumes.\n+TYPED_TEST(AuthorizationTest...
C++
Apache License 2.0
apache/mesos
Added test for authorization actions for `RESIZE_VOLUME`. Review: https://reviews.apache.org/r/66532/
46,111
03.05.2018 17:05:01
25,200
d418f155271723903c70371c6be41de86d639ff5
Added new operator API to grow and shrink persistent volume. The same API could be used in the future to grow or shrink CSI volumes, but currently only persistent volumes are supported. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -79,6 +79,9 @@ message Call {\nCREATE_VOLUMES = 21; // See 'CreateVolumes' below.\nDESTROY_VOLUMES = 22; // See 'DestroyVolumes' below.\n+ GROW_VOLUME = 34; // See...
C++
Apache License 2.0
apache/mesos
Added new operator API to grow and shrink persistent volume. The same API could be used in the future to grow or shrink CSI volumes, but currently only persistent volumes are supported. Review: https://reviews.apache.org/r/66052/
46,111
03.05.2018 17:05:02
25,200
e2d3112f3aaa19f33319db2dad16b2076a2df046
Implemented operator API to grow and shrink persistent volume. These operator APIs is implemented as speculative for now, but we plan to convert them to non-speculative in the future. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -773,6 +773,12 @@ Future<Response> Master::Http::api(\ncase mesos::master::Call::DESTROY_VOLUMES:\nreturn destroyVolumes(call, principal, acceptType);\n+ case mesos::master::Call::GROW_VOLUME...
C++
Apache License 2.0
apache/mesos
Implemented operator API to grow and shrink persistent volume. These operator APIs is implemented as speculative for now, but we plan to convert them to non-speculative in the future. Review: https://reviews.apache.org/r/66051/
46,111
03.05.2018 17:05:08
25,200
f8d28f409b4cfd6330e3063b59d5192a063f32aa
Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "#include \"common/http.hpp\"\n#include \"common/protobuf_utils.hpp\"\n#include \"common/recordio.hpp\"\n+#include \"common/resources_utils.hpp\"\n#include \"internal/devolve.hpp\"\n#incl...
C++
Apache License 2.0
apache/mesos
Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API. Review: https://reviews.apache.org/r/66227/
46,057
04.05.2018 13:37:25
-7,200
bb8c9a28418e1632c225f669f4d0326332d3a835
Changed failure check for a call to os::system(). The previous check for `None()` was missing the case where the program exited with a non-zero exit status. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/memory_profiler.cpp", "new_path": "3rdparty/libprocess/src/memory_profiler.cpp", "diff": "@@ -322,7 +322,7 @@ Try<Nothing> generateJeprofFile(\ninputPath,\noutputPath).get());\n- if (result.isNone()) {\n+ if (result != 0) {\nreturn Erro...
C++
Apache License 2.0
apache/mesos
Changed failure check for a call to os::system(). The previous check for `None()` was missing the case where the program exited with a non-zero exit status. Review: https://reviews.apache.org/r/66776/
46,148
04.05.2018 11:50:02
25,200
e048e898e5b6ff99c61b321b70ae49d26cd612f8
Added more logging to agent recovery path. Added logging in some agent recovery continuations to make analyzing agent recovery related issue less painful. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/composing.cpp", "new_path": "src/slave/containerizer/composing.cpp", "diff": "@@ -329,6 +329,8 @@ Future<Nothing> ComposingContainerizerProcess::__recover(\nFuture<Nothing> ComposingContainerizerProcess::___recover()\n{\n+ LOG(INFO) << ...
C++
Apache License 2.0
apache/mesos
Added more logging to agent recovery path. Added logging in some agent recovery continuations to make analyzing agent recovery related issue less painful. Review: https://reviews.apache.org/r/66749/
46,087
04.05.2018 13:38:56
25,200
7ed073e484e7eb488641eba8f6833ff89b427423
Documented the changes in the agent flags and modules. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -55,6 +55,7 @@ We categorize the changes as follows:\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Flags-->\n<ul style=\"padding-left:10px;\">\n+ <li>A <a href=\"#1-6-x-fetch...
C++
Apache License 2.0
apache/mesos
Documented the changes in the agent flags and modules. Review: https://reviews.apache.org/r/66940/
46,148
04.05.2018 14:00:30
25,200
cbe2edd80e554309c32f7e7d29dbe08fc251da93
Avoid copying of register framework messages in the master. Prior to this patch, the register framework message was copied into a subscribe call. This updates the handler to perform moves instead. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -804,8 +804,7 @@ void Master::initialize()\n&SubmitSchedulerRequest::name);\ninstall<RegisterFrameworkMessage>(\n- &Master::registerFramework,\n- &RegisterFrameworkMessage::framework);\n+...
C++
Apache License 2.0
apache/mesos
Avoid copying of register framework messages in the master. Prior to this patch, the register framework message was copied into a subscribe call. This updates the handler to perform moves instead. Review: https://reviews.apache.org/r/66860/
46,148
04.05.2018 14:00:46
25,200
cc68152b3d3e83a674c231dc14298b482a189e49
Avoid copying of re-register framework messages in the master. Prior to this patch, the re-register framework message was copied into a subscribe call. This updates the handler to perform moves instead. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -807,9 +807,7 @@ void Master::initialize()\n&Master::registerFramework);\ninstall<ReregisterFrameworkMessage>(\n- &Master::reregisterFramework,\n- &ReregisterFrameworkMessage::framework,\...
C++
Apache License 2.0
apache/mesos
Avoid copying of re-register framework messages in the master. Prior to this patch, the re-register framework message was copied into a subscribe call. This updates the handler to perform moves instead. Review: https://reviews.apache.org/r/66900/
46,128
04.05.2018 15:31:57
25,200
c80cf1612afa11ab2a2c42527683f365adb54683
Added to the 1.6 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -12,6 +12,10 @@ This release contains the following new features:\n* [MESOS-7944] - **Experimental** Added a new `MemoryProfiler` class to\nlibprocess to aid in debugging memory issues.\n+ * [MESOS-8054] - Sched...
C++
Apache License 2.0
apache/mesos
Added MESOS-8054 to the 1.6 CHANGELOG. Review: https://reviews.apache.org/r/66965/
46,128
04.05.2018 15:33:51
25,200
cf3b4352bcf31c8bbd326e4e24046f49e7d839e1
Added unresolved critical issues to the 1.6 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -59,6 +59,38 @@ Additional API Changes:\nChanges to Dependencies:\n* Upgraded minimum required gRPC library to version 1.10+ for gRPC-enabled builds.\n+Unresolved Critical Issues:\n+ * [MESOS-8840] - `cpu.cfs_qu...
C++
Apache License 2.0
apache/mesos
Added unresolved critical issues to the 1.6 CHANGELOG. Review: https://reviews.apache.org/r/66969/
46,128
04.05.2018 15:53:51
25,200
629c12f5701916c892dc26d76d3f50436ecbabff
Fixed the order of some issues in the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -60,36 +60,36 @@ Changes to Dependencies:\n* Upgraded minimum required gRPC library to version 1.10+ for gRPC-enabled builds.\nUnresolved Critical Issues:\n- * [MESOS-8840] - `cpu.cfs_quota_us` may be accidental...
C++
Apache License 2.0
apache/mesos
Fixed the order of some issues in the CHANGELOG.
46,111
04.05.2018 14:05:39
25,200
110a176cc8a8494ff235cbffe21e255a06ddfc64
Added documentation on volume resize support. Review:
[ { "change_type": "MODIFY", "old_path": "docs/authorization.md", "new_path": "docs/authorization.md", "diff": "@@ -208,6 +208,14 @@ entries, each representing an authorizable action:\n<a href=\"persistent-volume.md\">volumes</a>.\n</td>\n</tr>\n+<tr>\n+ <td><code>resize_volume</code></td>\n+ <td>Fram...
C++
Apache License 2.0
apache/mesos
Added documentation on volume resize support. Review: https://reviews.apache.org/r/66923/
46,128
04.05.2018 18:09:51
25,200
393907c5a6c46fe78342677db3b9fa1e99c414cf
Added experimental and graduated features to the 1.6 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -98,6 +98,25 @@ Unresolved Critical Issues:\n* [MESOS-8830] - Agent gc on old slave sandboxes could empty persistent volume data\n* [MESOS-8840] - `cpu.cfs_quota_us` may be accidentally set for command task usin...
C++
Apache License 2.0
apache/mesos
Added experimental and graduated features to the 1.6 CHANGELOG.
46,129
07.05.2018 14:11:30
25,200
b5b970381bc8e616720bb9ff7917920f0ab0974c
Added to 1.6.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -231,6 +231,7 @@ All Resolved Issues:\n* [MESOS-8868] - Some 'FsTest' test cases fail on macOS\n* [MESOS-8870] - Master does not correctly reconcile dropped operations after agent failover\n* [MESOS-8874] - Reso...
C++
Apache License 2.0
apache/mesos
Added MESOS-8876 to 1.6.0 CHANGELOG.
46,128
07.05.2018 14:24:22
25,200
c692354d0f374de0c94cd04e8e1f7f00a1a1ba36
Updated Mesos version to 1.7.0.
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ endif ()\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 6)\n+set(MESOS_MINOR_VERSION 7)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.${...
C++
Apache License 2.0
apache/mesos
Updated Mesos version to 1.7.0.
46,128
07.05.2018 17:31:55
25,200
39b27e1bb90aab3f10c1203d8f4f65de4f32e774
Made the 'SchedulerDriver' abort when operation's 'id' field is set. Since the 'SchedulerDriver' does not support operation status updates, this patch adds a check to the driver which will abort the scheduler if the 'id' field is set in an offer operation. Review:
[ { "change_type": "MODIFY", "old_path": "src/sched/sched.cpp", "new_path": "src/sched/sched.cpp", "diff": "@@ -1342,6 +1342,12 @@ protected:\n// Setting accept.operations.\nforeach (const Offer::Operation& _operation, operations) {\n+ if (_operation.has_id()) {\n+ ABORT(\"An offer operation's 'id' fi...
C++
Apache License 2.0
apache/mesos
Made the 'SchedulerDriver' abort when operation's 'id' field is set. Since the 'SchedulerDriver' does not support operation status updates, this patch adds a check to the driver which will abort the scheduler if the 'id' field is set in an offer operation. Review: https://reviews.apache.org/r/66938/
46,139
07.05.2018 17:32:15
25,200
b4c541b4d9677e2b84d8538f319a3dfe7987e327
Made the master drop operations with an ID on agent default resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4235,6 +4235,14 @@ void Master::accept(\nbreak;\n}\n+ if (getResourceProviderId(operation).isNone()) {\n+ drop(framework,\n+ operation,\n+ \"Operation requested feedback, but it affects ...
C++
Apache License 2.0
apache/mesos
Made the master drop operations with an ID on agent default resources. Review: https://reviews.apache.org/r/66992/
46,139
07.05.2018 17:32:56
25,200
a570f9436b816d40ba3d01455211f5d61f77d66d
Made the master include the operation ID in OPERATION_DROPPED updates. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -8417,8 +8417,7 @@ void Master::forward(\n}\n-void Master::updateOperationStatus(\n- const UpdateOperationStatusMessage& update)\n+void Master::updateOperationStatus(UpdateOperationStatus...
C++
Apache License 2.0
apache/mesos
Made the master include the operation ID in OPERATION_DROPPED updates. Review: https://reviews.apache.org/r/66924/
46,139
07.05.2018 17:33:32
25,200
9d897259a39dc9f90e8fad191732a3fe45d63458
Prevented master from sending operation updates to v0 frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2279,7 +2279,11 @@ void Master::drop(\n<< \" operation from framework \" << *framework\n<< \": \" << message;\n- if (operation.has_id()) {\n+ // NOTE: The operation validation code shoul...
C++
Apache License 2.0
apache/mesos
Prevented master from sending operation updates to v0 frameworks. Review: https://reviews.apache.org/r/66995/
46,139
07.05.2018 17:33:56
25,200
52ae7f0e6dd6952d243c37e8b8aa98ce7752a17d
Improved validation messages for some operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -2507,7 +2507,7 @@ Option<Error> validate(const Offer::Operation::CreateVolume& createVolume)\n}\nif (!Resources::hasResourceProvider(source)) {\n- return Error(\"Does not have a ...
C++
Apache License 2.0
apache/mesos
Improved validation messages for some operations. Review: https://reviews.apache.org/r/66939/
46,057
08.05.2018 19:00:53
-7,200
6d97f68e5a4bbd22a0b72cf7c2c1826e45142de4
Added an option to keep downloaded patches to apply-reviews.py. By default, the apply-reviews.py script will delete all patch files it downloads. However, when a patch fails to apply, it might be desired to edit and apply it manually. This change will make it easier to do so. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -155,6 +155,7 @@ def apply_review(options):\n# We store the patch ID in a local variable to ensure the lambda\n# captures the current patch ID.\npatch_file = '%s.patch' % patch_id(o...
C++
Apache License 2.0
apache/mesos
Added an option to keep downloaded patches to apply-reviews.py. By default, the apply-reviews.py script will delete all patch files it downloads. However, when a patch fails to apply, it might be desired to edit and apply it manually. This change will make it easier to do so. Review: https://reviews.apache.org/r/6700...
46,066
09.05.2018 12:38:56
-7,200
50f561a29a897004f5865aa8ee38ba5cf1e49410
Added token-based authentication for resource providers. If a token is provided, it will be used in HTTP requests to the resource provider manager. This allows JWT-based authentication and authorization for resource providers. The (unimplemented) credential support in `resource_provider::Driver` has been removed in fav...
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/resource_provider.hpp", "new_path": "include/mesos/v1/resource_provider.hpp", "diff": "@@ -74,13 +74,14 @@ public:\n* driver is disconnected.\n* @param received a callback which will be invoked when the driver\n* receives resource provider Eve...
C++
Apache License 2.0
apache/mesos
Added token-based authentication for resource providers. If a token is provided, it will be used in HTTP requests to the resource provider manager. This allows JWT-based authentication and authorization for resource providers. The (unimplemented) credential support in `resource_provider::Driver` has been removed in f...
46,066
09.05.2018 12:39:19
-7,200
abc76653daa2a555b7675a50e6ce96f15f92c25f
Added a realm for resource provider authentication. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "@@ -167,6 +167,10 @@ constexpr char READWRITE_HTTP_AUTHENTICATION_REALM[] = \"mesos-agent-readwrite\";\n// Name of the agent HTTP authentication realm for HTTP executors.\nconstexpr char...
C++
Apache License 2.0
apache/mesos
Added a realm for resource provider authentication. Review: https://reviews.apache.org/r/66933/
46,066
09.05.2018 12:41:09
-7,200
0f0909c89578dbe9ea23d5fa4d980712789a2c32
Added token-based authentication to resource provider tests. If compiled with SSL support, resource provider tests will use authentication. The 'MockResourceProvider' has been updated to create a JWT when started. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/agent_resource_provider_config_api_tests.cpp", "new_path": "src/tests/agent_resource_provider_config_api_tests.cpp", "diff": "@@ -297,9 +297,6 @@ TEST_P(AgentResourceProviderConfigApiTest, ROOT_Add)\nslave::Flags slaveFlags = CreateSlaveFlags();\nsla...
C++
Apache License 2.0
apache/mesos
Added token-based authentication to resource provider tests. If compiled with SSL support, resource provider tests will use authentication. The 'MockResourceProvider' has been updated to create a JWT when started. Review: https://reviews.apache.org/r/66934/
46,172
09.05.2018 06:28:03
25,200
a6d0877b9798fc7d32c7bdaf6820ab386f02bfeb
Removed pip install requirements-test.in in new CLI bootstrap script. This should have been removed in but was overlooked. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bootstrap", "new_path": "src/python/cli_new/bootstrap", "diff": "@@ -69,7 +69,6 @@ echo \"${CURRDIR}/../lib\" >> ${SITE_PACKAGES}/_virtualenv_path_extensions.pth\npython -m pip install --upgrade pip\npython -m pip install -r ${CURRDIR}/pip-r...
C++
Apache License 2.0
apache/mesos
Removed pip install requirements-test.in in new CLI bootstrap script. This should have been removed in 1e761268 but was overlooked. Review: https://reviews.apache.org/r/67032/
46,114
08.05.2018 16:37:09
25,200
6cf942a3ead959d7e096bbf4f4e3bf40a2e188fc
Windows: Enabled `ProtobufTest` suite. These tests just worked once added to the build. Also, out-of-date code was deleted from `systems_tests.cpp`, and a note added to the build file that it (and `signals_tests.cpp`) will be not be ported to Windows. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/CMakeLists.txt", "new_path": "3rdparty/stout/tests/CMakeLists.txt", "diff": "@@ -43,6 +43,8 @@ set(STOUT_ROOT_TESTS_SRC\noption_tests.cpp\nos_tests.cpp\npath_tests.cpp\n+ protobuf_tests.cpp\n+ protobuf_tests.pb.cc\nprotobuf_tests.pb.h\npro...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `ProtobufTest` suite. These tests just worked once added to the build. Also, out-of-date code was deleted from `systems_tests.cpp`, and a note added to the build file that it (and `signals_tests.cpp`) will be not be ported to Windows. Review: https://reviews.apache.org/r/67021
46,143
10.05.2018 13:07:11
25,200
77279f0256d12edc8208dfd96a88fea205bde8a4
Reformat email address in blog to avoid un-necessary updates to website. Email in "<foo@bar.baz>" format in a markdown file causes random characters to be generated in the resulting html file causing the website bot generating a new commit everytime even though nothing changed. The fix here is to remove the angular bra...
[ { "change_type": "MODIFY", "old_path": "site/source/blog/2017-12-07-performance-working-group-progress-report.md", "new_path": "site/source/blog/2017-12-07-performance-working-group-progress-report.md", "diff": "@@ -87,4 +87,4 @@ We're currently targeting the following areas for improvements:\n* **[...
C++
Apache License 2.0
apache/mesos
Reformat email address in blog to avoid un-necessary updates to website. Email in "<foo@bar.baz>" format in a markdown file causes random characters to be generated in the resulting html file causing the website bot generating a new commit everytime even though nothing changed. The fix here is to remove the angular b...
46,103
11.05.2018 00:54:20
25,200
d8c710504f278a6463488553106d27b6bc5fc808
Explicitly marked functions `override` in cgroup subsystems. This patch adds `override` keywords to functions overriding `virtual` base class functions. This explicitness helps in a subsequent patch in refactoring the `Subsystem` base class interface. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.hpp", "new_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.hpp", "diff": "@@ -42,16 +42,16 @@ public:\nconst Flags& flags,\nconst std::string& hierarchy);\n- virtual ~Blk...
C++
Apache License 2.0
apache/mesos
Explicitly marked functions `override` in cgroup subsystems. This patch adds `override` keywords to functions overriding `virtual` base class functions. This explicitness helps in a subsequent patch in refactoring the `Subsystem` base class interface. Review: https://reviews.apache.org/r/66634/
46,103
11.05.2018 00:54:32
25,200
fc25a22cbb18d8a044473cc2dc6a0bb6c8d2dbf2
Introduced wrapper for access to cgroups system access. Different cgroups subsystems are modelled as actors. In this patch we introduce wrapper classes which `dispatch` to the processes. This removes e.g., races from mixing naked and `dispatch`'ed method calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp", "new_path": "src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp", "diff": "@@ -57,7 +57,7 @@ namespace slave {\nCgroupsIsolatorProcess::CgroupsIsolatorProcess(\nconst Flags& _flags,\nconst ...
C++
Apache License 2.0
apache/mesos
Introduced wrapper for access to cgroups system access. Different cgroups subsystems are modelled as actors. In this patch we introduce wrapper classes which `dispatch` to the processes. This removes e.g., races from mixing naked and `dispatch`'ed method calls. Review: https://reviews.apache.org/r/66635/
46,129
11.05.2018 09:06:46
25,200
93b9448ac83f09c82f50f0ff644b4716a6ef6153
Removed 1.5.1 CHANGELOG's WIP.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -355,7 +355,7 @@ All Resolved Issues:\n* [MESOS-8291] - Add documentation about fault domains\n-Release Notes - Mesos - Version 1.5.1 (WIP)\n+Release Notes - Mesos - Version 1.5.1\n------------------------------...
C++
Apache License 2.0
apache/mesos
Removed 1.5.1 CHANGELOG's WIP.
46,111
07.05.2018 14:44:49
25,200
d0de83382fe64ded8e0b71440c6726381efed8fe
Removed unnecessary expectation on termination. This test was flaky because termination could already happened when we set up the expectation. Given that we already verified task state, I do not see checking container termination explicitly is necessary, so removing the expectation should fix the flakiness. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -642,12 +642,10 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_MaxCompletionTime)\n.WillOnce(FutureArg<1>(&statusRunning)...
C++
Apache License 2.0
apache/mesos
Removed unnecessary expectation on termination. This test was flaky because termination could already happened when we set up the expectation. Given that we already verified task state, I do not see checking container termination explicitly is necessary, so removing the expectation should fix the flakiness. Review: h...
46,128
14.05.2018 09:06:21
25,200
90ce797677eda14cc82578a9bd90f67c8df97301
Added operation feedback to the list of experimental features.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -21,9 +21,10 @@ This release contains the following new features:\n* [MESOS-7944] - **Experimental** Added a new `MemoryProfiler` class to\nlibprocess to aid in debugging memory issues.\n- * [MESOS-8054] - Sched...
C++
Apache License 2.0
apache/mesos
Added operation feedback to the list of experimental features.
46,078
12.05.2018 13:36:02
25,200
729ec62035d9c757d920913af4ea4169f1d0a143
Added more diagnostic info for a CHECK. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1020,7 +1020,9 @@ void HierarchicalAllocatorProcess::updateInverseOffer(\nFramework& framework = frameworks.at(frameworkId);\nSlave& slave = s...
C++
Apache License 2.0
apache/mesos
Added more diagnostic info for a CHECK. Review: https://reviews.apache.org/r/67115
46,114
14.05.2018 14:21:10
25,200
c586699e70479d26f68dc016932ba36a3ab15314
Windows: Enabled more agent tests. These just worked when enabled. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -1997,9 +1997,7 @@ TEST_F(SlaveTest, GetStateTaskGroupPending)\n// This test checks that when a slave is in RECOVERING state it responds\n// to HTTP requests for \"/state\" endpoi...
C++
Apache License 2.0
apache/mesos
Windows: Enabled more agent tests. These just worked when enabled. Review: https://reviews.apache.org/r/67051/
46,172
15.05.2018 10:15:39
-7,200
e88fe8c31b09f90fe1da45ba498c40d95408ec95
Added .tox to files excluded by Python linter. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -361,7 +361,9 @@ class PyLinter(LinterBase):\nr'glog\\-0\\.3\\.3|' \\\nr'boost\\-1\\.53\\.0|' \\\nr'libev\\-4\\.15|' \\\n- r'java/jni|\\.virtualenv' \\\n+ r'java/jni|' \\\n+ r'\\.virtua...
C++
Apache License 2.0
apache/mesos
Added .tox to files excluded by Python linter. Review: https://reviews.apache.org/r/67054/
46,172
15.05.2018 16:07:42
-7,200
ce7bb6e23859c2410f6805d1c7b3eb32836a9a3c
Updated cpplint from upstream. This patch updates the bundled cpplint to upstream '43d512b'. Review:
[ { "change_type": "MODIFY", "old_path": "support/cpplint.patch", "new_path": "support/cpplint.patch", "diff": "diff --git a/support/cpplint.py b/support/cpplint.py\n-index 53dbe81..7a020a4 100644\n+index 6d44d3165..5089d50a9 100644\n--- a/support/cpplint.py\n+++ b/support/cpplint.py\n@@ -10,7 +10,7 @...
C++
Apache License 2.0
apache/mesos
Updated cpplint from upstream. This patch updates the bundled cpplint to upstream '43d512b'. Review: https://reviews.apache.org/r/67127/
46,172
16.05.2018 12:49:07
-7,200
8c25ef96f20a6f360ce9b7e23d02b4fb59002299
Fixed links used in WebUI index.html to get assets. The links now work in all cases, even when the WebUI is not run locally. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/index.html", "new_path": "src/webui/index.html", "diff": "<meta name=\"description\" content=\"\">\n<meta name=\"author\" content=\"\">\n- <link href=\"../assets/css/bootstrap-3.3.6.min.css\" rel=\"stylesheet\">\n- <link href=\"../assets/css/bootstra...
C++
Apache License 2.0
apache/mesos
Fixed links used in WebUI index.html to get assets. The links now work in all cases, even when the WebUI is not run locally. Review: https://reviews.apache.org/r/67150/