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,103
11.01.2018 17:11:29
-3,600
3d8ef23c0ecec028641d7beee4c85233495a030b
Added example framework converting disk resources. This patch introduces an example HTTP framework which transforms 'RAW' disk resources from resource providers into 'MOUNT' volumes and subsequently unreserves them. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2230,6 +2230,11 @@ test_http_framework_SOURCES = examples/test_http_framework.cpp\ntest_http_framework_CPPFLAGS = $(MESOS_CPPFLAGS)\ntest_http_framework_LDADD = libmesos.la $(LDADD)\n+check_PROGRAMS...
C++
Apache License 2.0
apache/mesos
Added example framework converting disk resources. This patch introduces an example HTTP framework which transforms 'RAW' disk resources from resource providers into 'MOUNT' volumes and subsequently unreserves them. Review: https://reviews.apache.org/r/64932/
46,114
13.12.2017 15:59:30
28,800
177a2221496a2caa5ad25e71c9982ca3eed02fd4
Changed `Sorter::count()` to return `size_t` instead of `int`. Also applies to `DRFSorter::count()`. The implementations return `hashmap::count()` which is a `size_t`. Converting `size_t` to `int` implicitly generates a "possible loss of data" warning. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -584,7 +584,7 @@ bool DRFSorter::contains(const string& clientPath) const\n}\n-int DRFSorter::count() const\n+size_t DRFSorter::count() const\n{\...
C++
Apache License 2.0
apache/mesos
Changed `Sorter::count()` to return `size_t` instead of `int`. Also applies to `DRFSorter::count()`. The implementations return `hashmap::count()` which is a `size_t`. Converting `size_t` to `int` implicitly generates a "possible loss of data" warning. Review: https://reviews.apache.org/r/64730
46,114
12.12.2017 16:02:30
28,800
9db0415007722d45c4ab7539a454b70ba955bfc0
Ended `IOSwitchboard::_prepare` with `UNREACHABLE`. All paths should `return`, but the compiler wasn't able to determine this. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -320,7 +320,12 @@ Future<Option<ContainerLaunchInfo>> IOSwitchboard::_prepare(\nreturn ContainerLaunchInfo();\n}\n-#ifndef __WINDOWS_...
C++
Apache License 2.0
apache/mesos
Ended `IOSwitchboard::_prepare` with `UNREACHABLE`. All paths should `return`, but the compiler wasn't able to determine this. Review: https://reviews.apache.org/r/64731
46,114
12.12.2017 16:16:29
28,800
65f06d36ad1701e70f541f42b8a32961e471ff15
Fixed conversion warnings in tests. Stringified a `size_t` for `http::Request.headers` value. The types in `metrics_tests.cpp` were defined as `double`, and so should be compared with `EXPECT_DOUBLE_EQ`, not `EXPECT_FLOAT_EQ`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "diff": "@@ -997,7 +997,7 @@ TEST(HTTPConnectionTest, GzipRequestBody)\nrequest.keepAlive = true;\nrequest.headers[\"Content-Encoding\"] = \"gzip\";\n- r...
C++
Apache License 2.0
apache/mesos
Fixed conversion warnings in tests. Stringified a `size_t` for `http::Request.headers` value. The types in `metrics_tests.cpp` were defined as `double`, and so should be compared with `EXPECT_DOUBLE_EQ`, not `EXPECT_FLOAT_EQ`. Review: https://reviews.apache.org/r/64733
46,114
19.12.2017 16:30:06
28,800
c79412cd29c50c1f2d562f6c081f818d39f1f2d2
Fixed conversion warnings. Just casting to the used type. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -2166,7 +2166,7 @@ Try<Server> Server::create(\n// tests that try and start making connections immediately after\n// `Server::run` has returned but potentially befor...
C++
Apache License 2.0
apache/mesos
Fixed conversion warnings. Just casting to the used type. Review: https://reviews.apache.org/r/64734
46,114
03.01.2018 11:40:30
28,800
ff77d3235f5845192064b0f227918775ee035b01
Windows: Fixed memory leak. The environment strings variable block is allocated by the system, and must be manually freed (according to the docs). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/environment.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/environment.hpp", "diff": "#define __STOUT_OS_WINDOWS_ENVIRONMENT_HPP__\n#include <map>\n+#include <memory>\n#include <string>\n#include <stout/strin...
C++
Apache License 2.0
apache/mesos
Windows: Fixed memory leak. The environment strings variable block is allocated by the system, and must be manually freed (according to the docs). Review: https://reviews.apache.org/r/64961
46,114
04.01.2018 14:57:49
28,800
93ab49409e1a81679b50fd4f30f287bd4d4569a3
Windows: Explicitly state source and destination path for extract. Makes it more clear that it is in the correct order. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/fetcher.cpp", "new_path": "src/launcher/fetcher.cpp", "diff": "@@ -97,7 +97,9 @@ static Try<bool> extract(\n\"-Command\",\n\"Expand-Archive\",\n\"-Force\",\n+ \"-Path\",\nsourcePath,\n+ \"-DestinationPath\",\ndestinationDirectory};\n#else\ncommand...
C++
Apache License 2.0
apache/mesos
Windows: Explicitly state source and destination path for extract. Makes it more clear that it is in the correct order. Review: https://reviews.apache.org/r/64962
46,057
12.01.2018 11:33:57
28,800
49f4b2aff4d9f0603947b04071203a55d008a61c
Fixed comparison logic for additive reconfiguration policy. The case where multiple resources have the same name was not handled correctly, and could result in false negatives. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -492,6 +492,11 @@ public:\n// Error if the conversion cannot be applied.\nTry<Resources> apply(const ResourceConversion& conversion) const;\n+ // Finds a resource object with ...
C++
Apache License 2.0
apache/mesos
Fixed comparison logic for additive reconfiguration policy. The case where multiple resources have the same name was not handled correctly, and could result in false negatives. Review: https://reviews.apache.org/r/65074/
46,080
12.01.2018 13:37:20
28,800
07008ac5b529fad856e5036d3c3600d5a25ce733
Added new MesosCon videos and fixed 404s on presentations.md. Fixed 404s caused by Linux Foundation URL structure changes. Added new MesosCon slides and Playlists. Linked to playlist URLs that don't autoplay when you visit them. This closes
[ { "change_type": "MODIFY", "old_path": "docs/presentations.md", "new_path": "docs/presentations.md", "diff": "@@ -6,13 +6,43 @@ layout: documentation\n# Video and Slides of Mesos Presentations\n_(Listed in date descending order)_\n+## MesosCon Europe 2017\n+[Video playlist](https://www.youtube.com/p...
C++
Apache License 2.0
apache/mesos
Added new MesosCon videos and fixed 404s on presentations.md. -Fixed 404s caused by Linux Foundation URL structure changes. -Added new MesosCon slides and Playlists. -Linked to playlist URLs that don't autoplay when you visit them. This closes #257
46,188
12.01.2018 13:43:36
28,800
c1f9e945b036571c61a0ff562dceffb75a137694
Added doc for cgroups devices isolator. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/cgroups-devices.md", "diff": "+---\n+title: Apache Mesos - Cgroups 'devices' Subsystem Support in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Cgroups 'devices' Subsystems Support in Mesos Containerizer\n+\n+The `cgrou...
C++
Apache License 2.0
apache/mesos
Added doc for cgroups devices isolator. Review: https://reviews.apache.org/r/62965/
46,070
12.01.2018 14:02:32
28,800
bbd461773f0116eb98cf54acf10eb4ef017d475f
Added a training video to presentations.md. Created a new section "Apache Mesos - Training" as suggested by James Peach and added a video listing. This closes
[ { "change_type": "MODIFY", "old_path": "docs/presentations.md", "new_path": "docs/presentations.md", "diff": "@@ -129,3 +129,10 @@ Presented November 8, 2010 at [LinkedIn](http://linkedin.com)\n### Mesos: A Resource Management Platform for Hadoop and Big Data Clusters ([Video](http://www.youtube.com...
C++
Apache License 2.0
apache/mesos
Added a training video to presentations.md. Created a new section "Apache Mesos - Training" as suggested by James Peach and added a video listing. This closes #251
46,078
12.01.2018 15:33:27
28,800
48e9542c8eb60cfb089dfdca4ab6895fe68fc2e6
Updated CHANGELOG with and These are all changes we made around partition-awareness in 1.5.0 so they are grouped together.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -28,6 +28,15 @@ Deprecations/Removals:\nshould use `--jwt_secret_key` instead.\nAdditional API Changes:\n+ * [MESOS-6406, MESOS-7215, MESOS-8337] Now when an agent is partitioned,\n+ the master tracks all noncom...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG with MESOS-6406, MESOS-7215 and MESOS-8337. These are all changes we made around partition-awareness in 1.5.0 so they are grouped together.
46,148
12.01.2018 16:20:26
28,800
53480e907d3e7ae888844d23c311b8fd2fee875f
Updated documentation for `d_type` check regarding `xfs` on `overlay`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -304,11 +304,15 @@ using the following logic table:\n| Backend | Suggested on | Disabled on |\n+---------+--------------+------------------------------------------+\n| aufs | ext4 xfs...
C++
Apache License 2.0
apache/mesos
Updated documentation for `d_type` check regarding `xfs` on `overlay`. Review: https://reviews.apache.org/r/65104/
46,103
12.01.2018 15:40:32
28,800
dd866f9fd73858ef4d6369edddb4aa9a2f1c1a8f
Simplified master's `updateOperation` function. This replaces repetitive code by instead using a helper variable which allows us to avoid branching. We can then also replace a `Try<bool>` with a plain `bool` further simplifying the code. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10293,47 +10293,29 @@ void Master::updateOperation(\n{\nCHECK_NOTNULL(operation);\n- const OperationStatus& status = update.status();\n+ const OperationStatus& status =\n+ update.has_lat...
C++
Apache License 2.0
apache/mesos
Simplified master's `updateOperation` function. This replaces repetitive code by instead using a helper variable which allows us to avoid branching. We can then also replace a `Try<bool>` with a plain `bool` further simplifying the code. Review: https://reviews.apache.org/r/65093/
46,139
12.01.2018 18:56:17
28,800
433a7c8acffeba57e9ffc6f395a6cb31151edfc7
Added some deduplication logic to `Master::updateOperation`. This patch adds some logic to deduplicate the status updates that are added to `Operation::statuses`. The logic is similar to the handling of task status updates, but we should revisit it in Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10352,7 +10352,13 @@ void Master::updateOperation(\noperation->mutable_latest_status()->CopyFrom(status);\n}\n+ // TODO(gkleiman): Revisit the de-duplication logic (MESOS-8441) - if two\...
C++
Apache License 2.0
apache/mesos
Added some deduplication logic to `Master::updateOperation`. This patch adds some logic to deduplicate the status updates that are added to `Operation::statuses`. The logic is similar to the handling of task status updates, but we should revisit it in MESOS-8441. Review: https://reviews.apache.org/r/65137/
46,128
12.01.2018 18:56:36
28,800
4959887230a7d7c55629083be978810f48b780a3
Added missing fields to the GET_MASTER operator API call. Several fields were present in the old master '/state' endpoint which are now not accessible via the V1 operator API. This patch adds two such fields to the response for the GET_MASTER call. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -464,6 +464,10 @@ message Response {\n// Contains the master's information.\nmessage GetMaster {\noptional MasterInfo master_info = 1;\n+\n+ optional double start_...
C++
Apache License 2.0
apache/mesos
Added missing fields to the GET_MASTER operator API call. Several fields were present in the old master '/state' endpoint which are now not accessible via the V1 operator API. This patch adds two such fields to the response for the GET_MASTER call. Review: https://reviews.apache.org/r/65056/
46,056
16.01.2018 16:19:04
-3,600
18879df50c78a4d1550a29a9cc08209eb7f82eb0
Fixed a typo in "switchboard.cpp".
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1000,7 +1000,7 @@ private:\nOption<ContentType> messageAcceptType);\n// Asynchronously receive data as we read it from our\n- // `st...
C++
Apache License 2.0
apache/mesos
Fixed a typo in "switchboard.cpp".
46,114
12.01.2018 15:17:02
28,800
b8c006f6355a653ca62d8ae6af86a0845476ce25
Fixed use of `os::which`. Because `os::which` was added to its own header, all uses of it now need to include said header. In `tests/environment.cpp`, instead of using `os::system("which foo")`, we now use `os::which("foo")` to be compatible with Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "diff": "#include <stout/os.hpp>\n#include <stout/os/realpath.hpp>\n+#include <stout/os/which.hpp>\n#include ...
C++
Apache License 2.0
apache/mesos
Fixed use of `os::which`. Because `os::which` was added to its own header, all uses of it now need to include said header. In `tests/environment.cpp`, instead of using `os::system("which foo")`, we now use `os::which("foo")` to be compatible with Windows. Review: https://reviews.apache.org/r/65145
46,128
16.01.2018 15:11:12
28,800
e34ed9602c72b7c72e13fb02cee54e4ddbf4c1b8
Added missing registry-related flags to the master config docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/master.md", "new_path": "docs/configuration/master.md", "diff": "@@ -476,6 +476,47 @@ Duration of time to wait in order to fetch data from the registry\nafter which the operation is considered a failure. (default: 1mins)\n</td>\n</tr>\n+<tr>...
C++
Apache License 2.0
apache/mesos
Added missing registry-related flags to the master config docs. Review: https://reviews.apache.org/r/65184
46,114
11.01.2018 17:42:45
28,800
55b66c624f5a2e44fcf87bdcab8932a2c7a2c284
Added Developer Guide to documentation. This guide was started with the intent to capture "tribal knowledge" about Mesos development. I've added several general practices and patterns I've had explained to me by various Mesos developers, and also added a Windows section with design patterns I had documented externally....
[ { "change_type": "MODIFY", "old_path": "docs/advanced-contribution.md", "new_path": "docs/advanced-contribution.md", "diff": "@@ -115,6 +115,8 @@ As you gain experience contributing to Mesos you may want to tackle more advance\nFor patches to the core, we ask that you follow the [Mesos C++ Style Gui...
C++
Apache License 2.0
apache/mesos
Added Developer Guide to documentation. This guide was started with the intent to capture "tribal knowledge" about Mesos development. I've added several general practices and patterns I've had explained to me by various Mesos developers, and also added a Windows section with design patterns I had documented externally...
46,114
11.01.2018 18:02:04
28,800
9b1fda56a04da9dafadd117a21cdf92d24e50483
Updated C++ Style Guide. Added three missing style notes: * Use of `::` for global namespace * Put `template <typename T>` on own line * Prefer `->foo()` to `.get().foo()` Review:
[ { "change_type": "MODIFY", "old_path": "docs/c++-style-guide.md", "new_path": "docs/c++-style-guide.md", "diff": "@@ -12,6 +12,7 @@ The Mesos codebase follows the [Google C++ Style Guide](https://google.github.io\n### Namespaces\n* We avoid `using namespace foo` statements as it is not explicit abou...
C++
Apache License 2.0
apache/mesos
Updated C++ Style Guide. Added three missing style notes: * Use of `::` for global namespace * Put `template <typename T>` on own line * Prefer `->foo()` to `.get().foo()` Review: https://reviews.apache.org/r/65114
46,148
16.01.2018 17:08:05
28,800
aded41aecb5aab988313689c2b0664b86d45eb1f
Used jsonify in http serialization for better performance. This change avoids building an in-memory JSON::Object in favor of using jsonify to directly output the serialized JSON from the protobuf. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -114,7 +114,7 @@ string serialize(\nreturn message.SerializeAsString();\n}\ncase ContentType::JSON: {\n- return stringify(JSON::protobuf(message));\n+ return jsonify(JSON::Protobuf(message));...
C++
Apache License 2.0
apache/mesos
Used jsonify in http serialization for better performance. This change avoids building an in-memory JSON::Object in favor of using jsonify to directly output the serialized JSON from the protobuf. Review: https://reviews.apache.org/r/65063/
46,148
16.01.2018 17:19:53
28,800
9e2f9a2401a7665872f9cb2d994ca5013cd852c9
Added an performance benchmark for master `GetState` v1 api. This test is based on the master failover benchmark. Note that it does not include executors for now. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_benchmarks.cpp", "new_path": "src/tests/master_benchmarks.cpp", "diff": "#include <list>\n#include <string>\n#include <tuple>\n+#include <vector>\n#include <mesos/resources.hpp>\n#include <mesos/version.hpp>\n#include \"tests/mesos.hpp\"\n+nam...
C++
Apache License 2.0
apache/mesos
Added an performance benchmark for master `GetState` v1 api. This test is based on the master failover benchmark. Note that it does not include executors for now. Review: https://reviews.apache.org/r/64969/
46,055
10.01.2018 21:26:45
-28,800
9585a2173970589f91858301c66479827c1370a9
Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -2413,7 +2413,8 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n// This test verifies that the default executor mounts the persistent volume\n-// in the task container ...
C++
Apache License 2.0
apache/mesos
Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint. Review: https://reviews.apache.org/r/65070
46,055
15.01.2018 16:40:00
-28,800
2c5da1b668de91e33831caafb18a3b4d71b26c69
Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method `Framework::recoverExecutor`, that is a leak. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -8656,7 +8656,10 @@ void Framework::recoverExecutor(\n// GC the top level executor work directory.\nslave->garbageCollect(paths::getExecutorPath(\nslave->flags.work_dir, slave->info.id(), id(...
C++
Apache License 2.0
apache/mesos
Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method `Framework::recoverExecutor`, that is a leak. Review: https://reviews.apache.org/r/65167
46,066
17.01.2018 13:50:23
-3,600
f6d7cd6da41b0d43c0923dea35531775850c0b5e
Moved agent response code into 'protobuf_utils.cpp'. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -1275,6 +1275,16 @@ mesos::master::Response::GetAgents::Agent createAgentResponse(\nagent.mutable_capabilities()->CopyFrom(\nslave.capabilities.toRepeatedPtrField());\n+ f...
C++
Apache License 2.0
apache/mesos
Moved agent response code into 'protobuf_utils.cpp'. Review: https://reviews.apache.org/r/65043/
46,056
17.01.2018 15:25:46
-3,600
19cf3068b81355818a9c4cdb797883f2b73cdbce
Rewrote some comments in switchboard.cpp for clarity.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1015,7 +1015,7 @@ private:\nbool waitForConnection;\nOption<Duration> heartbeatInterval;\nbool inputConnected;\n- bool redirectFinis...
C++
Apache License 2.0
apache/mesos
Rewrote some comments in switchboard.cpp for clarity.
46,053
17.01.2018 17:15:38
-3,600
ff6915822140fb243d0711102922969e03c85f2d
Updated comments in IOSwitchboard. This is addendum to review Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1180,11 +1180,12 @@ Future<Nothing> IOSwitchboardServerProcess::run()\n// fail the future.\n//\n// For now we simply assume that whe...
C++
Apache License 2.0
apache/mesos
Updated comments in IOSwitchboard. This is addendum to review https://reviews.apache.org/r/65122 Review: https://reviews.apache.org/r/65190/
46,053
17.01.2018 18:00:53
-3,600
52a55debebdba2f40361dafc5c10cf9d1b1a584d
Fixed flaky EOFBeforeRecv test. This patch is a small correction of commit Before this patch, if EOF event for a ssl socket is received before a client called `recv`, then this EOF event is lost. This leads to hanging `recv` on the ssl socket after calling `shutdown`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/libevent_ssl_socket.cpp", "new_path": "3rdparty/libprocess/src/libevent_ssl_socket.cpp", "diff": "@@ -385,9 +385,9 @@ void LibeventSSLSocketImpl::event_callback(short events)\n// recv errors, but perhaps we should?\nif (events & BEV_EVE...
C++
Apache License 2.0
apache/mesos
Fixed flaky EOFBeforeRecv test. This patch is a small correction of commit d4185d4a11. Before this patch, if EOF event for a ssl socket is received before a client called `recv`, then this EOF event is lost. This leads to hanging `recv` on the ssl socket after calling `shutdown`. Review: https://reviews.apache.org/r/...
46,165
17.01.2018 11:15:19
28,800
1ead3e669ed06198cb96a9ab901ad86df835402e
Added the v1 operator API performance improvements to the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -58,7 +58,9 @@ Changes to Dependencies:\nUnresolved Critical Issues:\nFeature Graduations:\n- * v1 Operator API is now considered stable.\n+ * v1 Operator API is now considered stable. The performance has been\n...
C++
Apache License 2.0
apache/mesos
Added the v1 operator API performance improvements to the CHANGELOG.
46,078
11.12.2017 15:56:18
28,800
5d0d35236c3b0db3b2f3363244fc45b0928a0541
Refactor out `authorizeReserveResources` that takes a `Resources`. This allows us to authorize static resource reservations that don't come from `Offer::Operation::Reserve`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -3525,6 +3525,16 @@ Future<bool> Master::authorizeTask(\nFuture<bool> Master::authorizeReserveResources(\nconst Offer::Operation::Reserve& reserve,\nconst Option<Principal>& principal)\n+...
C++
Apache License 2.0
apache/mesos
Refactor out `authorizeReserveResources` that takes a `Resources`. This allows us to authorize static resource reservations that don't come from `Offer::Operation::Reserve`. Review: https://reviews.apache.org/r/64514
46,078
11.12.2017 16:03:39
28,800
ae515379e8447b9f6ac8416f3a69cec57b5d7ba5
Used `reserve_resources` ACL for static reservations. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -75,7 +75,10 @@ message ACL {\n// Specifies which roles a principal can reserve resources for.\nmessage ReserveResources {\n- // Subjects: Framework principal ...
C++
Apache License 2.0
apache/mesos
Used `reserve_resources` ACL for static reservations. Review: https://reviews.apache.org/r/64515
46,078
11.12.2017 16:04:23
28,800
24a746d85780051d862db0697b63c3c52db4362a
Improved documentation on resource reservations. Added explanation for authorizations on static reservations. Review:
[ { "change_type": "MODIFY", "old_path": "docs/reservation.md", "new_path": "docs/reservation.md", "diff": "@@ -33,10 +33,13 @@ __CAVEAT:__ In order to modify a static reservation, the operator must drain and\nrestart the slave with the new configuration specified in the\n`--resources` flag.\n-**NOTE:...
C++
Apache License 2.0
apache/mesos
Improved documentation on resource reservations. Added explanation for authorizations on static reservations. Review: https://reviews.apache.org/r/64516
46,165
17.01.2018 15:28:24
28,800
7d8ae37b022ac82c6945ff07ac980017f347b45e
Added a default move constructor for Result. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/result.hpp", "new_path": "3rdparty/stout/include/stout/result.hpp", "diff": "@@ -99,7 +99,10 @@ public:\n// We don't need to implement these because we are leveraging\n// Try<Option<T>>.\nResult(const Result<T>& that) = default;\n+...
C++
Apache License 2.0
apache/mesos
Added a default move constructor for Result. Review: https://reviews.apache.org/r/65200
46,090
17.01.2018 13:51:32
28,800
eccd0a9f9aa53acd2b1daf7512868eb6faff93a7
Windows: Fixed mock signal values in stout. Removed `SIGSTOP` and `SIGCONT` on Windows, since they are meaningless, and never unused. Also, fixed the WEXITSTATUS macro to cast the exit code instead of bit-masking it, since Windows exit codes are 32 bit unsigned ints. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/kill.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/kill.hpp", "diff": "@@ -51,18 +51,18 @@ inline int kill_process(pid_t pid)\ninline int kill(pid_t pid, int sig)\n{\n- // SIGCONT is not supported.\n- // SIG...
C++
Apache License 2.0
apache/mesos
Windows: Fixed mock signal values in stout. Removed `SIGSTOP` and `SIGCONT` on Windows, since they are meaningless, and never unused. Also, fixed the WEXITSTATUS macro to cast the exit code instead of bit-masking it, since Windows exit codes are 32 bit unsigned ints. Review: https://reviews.apache.org/r/63859/
46,090
17.01.2018 13:51:59
28,800
8964137f68015c40af2fc850d3c9cb71895454c4
Windows: Updated networking documentation. The networking docs now describe how the Docker network modes in the `Network` enum work on Windows, since the enum only has Linux network modes. Review:
[ { "change_type": "MODIFY", "old_path": "docs/networking.md", "new_path": "docs/networking.md", "diff": "@@ -107,14 +107,22 @@ message DockerInfo {\n```\n-For `NONE`, `HOST` and `BRIDGE` network mode the framework only needs\n-to specify the network mode in the `DockerInfo` protobuf. However, for\n-t...
C++
Apache License 2.0
apache/mesos
Windows: Updated networking documentation. The networking docs now describe how the Docker network modes in the `Network` enum work on Windows, since the enum only has Linux network modes. Review: https://reviews.apache.org/r/63861/
46,165
17.01.2018 17:16:22
28,800
bc9fe648038b6139cc9df709fdd58208ce0a08aa
Eliminated some unnecessary copying in the agent's HTTP operator API. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -1533,8 +1533,7 @@ Future<Response> Http::getFrameworks(\n-> Future<Response> {\nmesos::agent::Response response;\nresponse.set_type(mesos::agent::Response::GET_FRAMEWORKS);\n- response.mutable...
C++
Apache License 2.0
apache/mesos
Eliminated some unnecessary copying in the agent's HTTP operator API. Review: https://reviews.apache.org/r/65204
46,055
18.01.2018 11:05:18
-28,800
a3e1f9b82ec966017ffe1f9767b93965a7af9670
Updated Qian Zhang's entry in the contributors list.
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "- name: Qian Zhang\naffiliations:\n- - {organization: IBM}\n+ - {organization: Mesosphere, start_date: 2017-10-01}\n+ - {organization: IBM, end_date: 2017-09-30}\nemails:\n- - zhangqxa@cn....
C++
Apache License 2.0
apache/mesos
Updated Qian Zhang's entry in the contributors list.
46,066
17.01.2018 15:22:47
-3,600
75659c9613b768cde6ca8afe7fbdaa1306b0cef8
Added a helper function for resource provider tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "#include <process/http.hpp>\n#include <process/owned.hpp>\n-#include <process/ssl/flags.hpp>\n-\n#include <stout/gtest.hpp>\n#include <stout/jsonify.hpp>\n#include <stout/nothing.hpp>\n@...
C++
Apache License 2.0
apache/mesos
Added a helper function for resource provider tests. Review: https://reviews.apache.org/r/65125/
46,066
17.01.2018 15:23:02
-3,600
8cf6b0882e8e393702c673e2b29ac6781cec0b85
Added a resource provider test case. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8608,6 +8608,134 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(MasterTest, RegistryGcByCount)\n}\n+// This test verifies that updating a resource provider's state\n+// that isn't motivate...
C++
Apache License 2.0
apache/mesos
Added a resource provider test case. Review: https://reviews.apache.org/r/65126/
46,103
18.01.2018 11:36:44
-3,600
eb901173b8aa43b9fd1ab0f727ff5187982c4449
Added libprocess benchmarks to cmake build setup. To make sure that `benchmarks` is built as part of the tests we add a dependency of `libprocess-tests` on `benchmarks` even though no actual compile- or runtime dependency exists. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/CMakeLists.txt", "new_path": "3rdparty/libprocess/src/tests/CMakeLists.txt", "diff": "@@ -77,3 +77,25 @@ if (ENABLE_SSL)\nendif ()\nadd_test(NAME ProcessTests COMMAND libprocess-tests)\n+\n+# LIBPROCESS BENCHMARK TESTS.\n+########...
C++
Apache License 2.0
apache/mesos
Added libprocess benchmarks to cmake build setup. To make sure that `benchmarks` is built as part of the tests we add a dependency of `libprocess-tests` on `benchmarks` even though no actual compile- or runtime dependency exists. Review: https://reviews.apache.org/r/65166/
46,172
18.01.2018 13:37:16
-3,600
634c8af2618c57a1405d20717fa909b399486f37
Updated tests to use `createCallSubscribe`. Update all the tests that send v1 API SUBSCRIBE calls to use the `createCallSubscribe` test helper. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -2101,15 +2101,7 @@ TEST_P(MasterAPITest, Subscribe)\nEXPECT_CALL(*scheduler, offers(_, _))\n.WillOnce(FutureArg<1>(&offers));\n- {\n- v1::scheduler::Call call;\n- call.set_type(v1::s...
C++
Apache License 2.0
apache/mesos
Updated tests to use `createCallSubscribe`. Update all the tests that send v1 API SUBSCRIBE calls to use the `createCallSubscribe` test helper. Review: https://reviews.apache.org/r/63661/
46,056
18.01.2018 18:41:20
-3,600
a9f5ef3a497151a7539172db3f30bfc329b5fa81
Flattened continuation chains in containerizer for readability. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1290,21 +1290,14 @@ Future<Containerizer::LaunchResult> MesosContainerizerProcess::launch(\ncontainerConfig.container_info().mesos().i...
C++
Apache License 2.0
apache/mesos
Flattened continuation chains in containerizer for readability. Review: https://reviews.apache.org/r/61811/
46,164
18.01.2018 10:48:45
28,800
a24be7195768d3e160a45b0d8d99bd1008518e0d
Updated api-client-libraries.md. * Adding Go client for the Mesos Operator API This closes
[ { "change_type": "MODIFY", "old_path": "docs/api-client-libraries.md", "new_path": "docs/api-client-libraries.md", "diff": "@@ -136,4 +136,12 @@ run into any issues, file them with the library maintainers.*\nmesos-operator-api-client</a></td>\n<td>JavaScript</td>\n</tr>\n+<tr>\n+ <td>\n+ <a href=\"h...
C++
Apache License 2.0
apache/mesos
Updated api-client-libraries.md. * Adding Go client for the Mesos Operator API This closes #258
46,139
19.01.2018 15:36:31
28,800
60f23d870080c5d70963857cb06a50cf0d2825fb
Tested that operation updates dropped en route to master are resent. This patch adds `StorageLocalResourceProviderTest.ROOT_RetryOperationStatusUpdate` which verifies that operation status updates are resent by the agent after being dropped en route to the master. 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": "@@ -1916,6 +1916,167 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_ConvertPreExistingVolume)\n}\n}\n+\n+// This test verifies t...
C++
Apache License 2.0
apache/mesos
Tested that operation updates dropped en route to master are resent. This patch adds `StorageLocalResourceProviderTest.ROOT_RetryOperationStatusUpdate` which verifies that operation status updates are resent by the agent after being dropped en route to the master. Review: https://reviews.apache.org/r/65057/
46,139
19.01.2018 15:36:32
28,800
336e932199643e88c0edbea7c1f08d4b45596389
Tested that agent resends unacknowledged operation updates on recovery. This patch adds a test to verify that the agent resends unacknowledged operation status updates after a recovery. 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": "@@ -2077,6 +2077,196 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_RetryOperationStatusUpdate)\ndriver.join();\n}\n+\n+// This ...
C++
Apache License 2.0
apache/mesos
Tested that agent resends unacknowledged operation updates on recovery. This patch adds a test to verify that the agent resends unacknowledged operation status updates after a recovery. Review: https://reviews.apache.org/r/65182/
46,129
18.01.2018 18:29:52
28,800
3a93f29651a96e07f8257fbf684ada25448a03ef
Updated the v1/mesos.proto to keep consistancy with general mesos.proto. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.proto", "new_path": "include/mesos/v1/mesos.proto", "diff": "@@ -731,12 +731,12 @@ message ExecutorInfo {\n}\n// For backwards compatibility, if this field is not set when using `LAUNCH`\n- // operation, Mesos will infer the type by chec...
C++
Apache License 2.0
apache/mesos
Updated the v1/mesos.proto to keep consistancy with general mesos.proto. Review: https://reviews.apache.org/r/65252
46,129
22.01.2018 13:53:33
28,800
fd78e33b951fb81c01b65f22fc17b6e70a4afa5b
Added the agent flag --disk_profile_adaptor to agent.md file. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -505,6 +505,19 @@ automatically detected, will be assigned to\nthis role. (default: *)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --disk_profile_adaptor=VALUE\n+ </td>\n+ <td>\n+The name...
C++
Apache License 2.0
apache/mesos
Added the agent flag --disk_profile_adaptor to agent.md file. Review: https://reviews.apache.org/r/65273
46,129
22.01.2018 14:09:36
28,800
62d392704c499e06da0323e50dfd016cdac06f33
Fixed --ip6 and --ip6_discovery_command document location. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -913,6 +913,33 @@ Example:\n}</code></pre>\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --ip6=VALUE\n+ </td>\n+ <td>\n+IPv6 address to listen on. This cannot be used in conjunction\n+with ...
C++
Apache License 2.0
apache/mesos
Fixed --ip6 and --ip6_discovery_command document location. Review: https://reviews.apache.org/r/65274
46,165
11.01.2018 17:16:46
28,800
9a83e4172b383a419df081138b9bbd5be29638d7
Updated the task state metrics to be more readable. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10233,38 +10233,24 @@ void Master::updateTask(Task* task, const StatusUpdate& update)\n}\nswitch (status.state()) {\n- case TASK_FINISHED:\n- ++metrics->tasks_finished;\n- break;\n- case...
C++
Apache License 2.0
apache/mesos
Updated the task state metrics to be more readable. Review: https://reviews.apache.org/r/65107
46,165
11.01.2018 17:19:25
28,800
e91ce42ed56c5ab65220fbba740a8a50c7f835ae
Added documentation for `protobuf::isTerminalState`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.hpp", "new_path": "src/common/protobuf_utils.hpp", "diff": "@@ -67,6 +67,11 @@ bool frameworkHasCapability(\nFrameworkInfo::Capability::Type capability);\n+// Returns whether the task state is terminal. Terminal states\n+// mean that ...
C++
Apache License 2.0
apache/mesos
Added documentation for `protobuf::isTerminalState`. Review: https://reviews.apache.org/r/65108
46,057
23.01.2018 14:47:24
-3,600
a892a2e80255291e6cd5cb3b0e90b9a029989c99
Fixed stout build with newer boost versions. Starting from Boost 1.62, Boost.Variant added additional compile-time checks to its constructors to fix this issue: However, this breaks some places in stout which try to access a derived class from a variant holding the base class. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/json.hpp", "new_path": "3rdparty/stout/include/stout/json.hpp", "diff": "@@ -229,15 +229,13 @@ struct Null {};\nnamespace internal {\n-// Only Object and Array require recursive_wrapper, not sure\n-// if there is a reason to wrap t...
C++
Apache License 2.0
apache/mesos
Fixed stout build with newer boost versions. Starting from Boost 1.62, Boost.Variant added additional compile-time checks to its constructors to fix this issue: https://svn.boost.org/trac10/ticket/11602 However, this breaks some places in stout which try to access a derived class from a variant holding the base class...
46,057
23.01.2018 14:47:28
-3,600
cd2774efde5e55cc027721086af14fbc78688849
Added UNREACHABLE() macro to __cxa_pure_virtual. The function __cxa_pure_virtual must not return, but newer versions of clang detect that the expansion of the RAW_LOG() macro contains returning code paths for arguments other than FATAL. Review:
[ { "change_type": "MODIFY", "old_path": "src/logging/logging.cpp", "new_path": "src/logging/logging.cpp", "diff": "#include <stout/path.hpp>\n#include <stout/stringify.hpp>\n#include <stout/try.hpp>\n+#include <stout/unreachable.hpp>\n#ifndef __WINDOWS__\n#include <stout/os/signals.hpp>\n@@ -66,6 +67...
C++
Apache License 2.0
apache/mesos
Added UNREACHABLE() macro to __cxa_pure_virtual. The function __cxa_pure_virtual must not return, but newer versions of clang detect that the expansion of the RAW_LOG() macro contains returning code paths for arguments other than FATAL. Review: https://reviews.apache.org/r/62444/
46,057
23.01.2018 14:47:31
-3,600
469363d4322c7acda7fd10acbe8822f610af5a43
Updated boost version. Review:
[ { "change_type": "DELETE", "old_path": "3rdparty/boost-1.53.0.tar.gz", "new_path": "3rdparty/boost-1.53.0.tar.gz", "diff": "Binary files a/3rdparty/boost-1.53.0.tar.gz and /dev/null differ\n" }, { "change_type": "ADD", "old_path": "3rdparty/boost-1.65.0.tar.gz", "new_path": "3rdparty...
C++
Apache License 2.0
apache/mesos
Updated boost version. Review: https://reviews.apache.org/r/62161/
46,057
23.01.2018 14:47:32
-3,600
a01b4c272848702d5bd3dd899e610a5459c4e57c
Removed duplicate block in configure.ac. This blocks seems to have been copy/pasted from another place. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1661,13 +1661,6 @@ fi\nAM_CONDITIONAL([WITH_BUNDLED_PICOJSON], [test \"x$with_bundled_picojson\" = \"xyes\"])\n-# Check if protobuf prefix path was supplied and if so, add it to\n-# CPPFLAGS while extendi...
C++
Apache License 2.0
apache/mesos
Removed duplicate block in configure.ac. This blocks seems to have been copy/pasted from another place. Review: https://reviews.apache.org/r/62445/
46,103
23.01.2018 14:47:37
-3,600
ce0905fcb31a10ade0962a89235fa90b01edf01a
Updated mesos-tidy setup for upgraded Boost version. In a previous commit we updated the bundled Boost version. This patch updates the mesos-tidy setup to make sure we build the correct bundled Boost version when creating analysis prerequisites. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/entrypoint.sh", "new_path": "support/mesos-tidy/entrypoint.sh", "diff": "@@ -35,7 +35,7 @@ cmake -DCMAKE_BUILD_TYPE=Release \\\n# Build the external dependencies.\n# TODO(mpark): Use an external dependencies target once MESOS-6924 is resolve...
C++
Apache License 2.0
apache/mesos
Updated mesos-tidy setup for upgraded Boost version. In a previous commit we updated the bundled Boost version. This patch updates the mesos-tidy setup to make sure we build the correct bundled Boost version when creating analysis prerequisites. Review: https://reviews.apache.org/r/65215/
46,055
22.01.2018 16:14:27
-28,800
12faca980084c565efdd3b0cfbb3b272d530ba5a
Updated `SlaveRecoveryTest.RecoverCompletedExecutor` to verify gc. In the test `SlaveRecoveryTest.RecoverCompletedExecutor`, when the completed executor is recovered, verify its work and meta directories gc'ed successfully. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -1794,10 +1794,11 @@ TYPED_TEST(SlaveRecoveryTest, DISABLED_RecoveryTimeout)\n}\n-// The slave is stopped after an executor is completed (i.e., it has\n-// termi...
C++
Apache License 2.0
apache/mesos
Updated `SlaveRecoveryTest.RecoverCompletedExecutor` to verify gc. In the test `SlaveRecoveryTest.RecoverCompletedExecutor`, when the completed executor is recovered, verify its work and meta directories gc'ed successfully. Review: https://reviews.apache.org/r/65263
46,057
24.01.2018 16:16:40
-3,600
8c29938f81f69d2743956a4cb1d9174905e477f4
Re-ordered some configuration options alphabetically. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -148,34 +148,6 @@ AC_CONFIG_FILES([mpi/mpiexec-mesos], [chmod +x mpi/mpiexec-mesos])\n# Optional features.\n###############################################################################\n-# TODO(benh): E...
C++
Apache License 2.0
apache/mesos
Re-ordered some configuration options alphabetically. Review: https://reviews.apache.org/r/63365/
46,057
24.01.2018 17:43:09
-3,600
7d16ad06d7ea07515dc435a35b5ff1511c5de645
Cleaned up interface defintion in duration header. Move a function definition out of the class to not clutter the class declaration. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/duration.hpp", "new_path": "3rdparty/stout/include/stout/duration.hpp", "diff": "class Duration\n{\npublic:\n- static Try<Duration> parse(const std::string& s)\n- {\n- // TODO(benh): Support negative durations (i.e., starts with '-...
C++
Apache License 2.0
apache/mesos
Cleaned up interface defintion in duration header. Move a function definition out of the class to not clutter the class declaration. Review: https://reviews.apache.org/r/65307/
46,165
13.01.2018 13:31:33
28,800
e48e00afd4dd4ef3cc5ab3f4d87b8ef695b193bf
Added support for discarding a Future from Queue::get. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/queue.hpp", "new_path": "3rdparty/libprocess/include/process/queue.hpp", "diff": "@@ -31,6 +31,7 @@ class Queue\npublic:\nQueue() : data(new Data()) {}\n+ // TODO(bmahler): Take a T&& here instead.\nvoid put(const T& t)\n{\n...
C++
Apache License 2.0
apache/mesos
Added support for discarding a Future from Queue::get. Review: https://reviews.apache.org/r/65150
46,165
13.01.2018 13:32:10
28,800
2d19d88cbd55efcb5fcf787f56709ea7ae3e786e
Added a test for discarding a future from Queue::get. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/queue_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/queue_tests.cpp", "diff": "@@ -89,3 +89,24 @@ TEST(QueueTest, Queue)\nEXPECT_EQ(\"pretty\", get2.get());\nEXPECT_EQ(\"world\", get3.get());\n}\n+\n+\n+TEST(QueueTest, Di...
C++
Apache License 2.0
apache/mesos
Added a test for discarding a future from Queue::get. Review: https://reviews.apache.org/r/65151
46,053
25.01.2018 01:18:58
-3,600
f36914a65e77005ca5c59ec7803cbc47f7711818
Used a namespace for paths in IOSwitchboard. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -77,6 +77,8 @@ namespace http = process::http;\nnamespace unix = process::network::unix;\n#endif // __WINDOWS__\n+using namespace mes...
C++
Apache License 2.0
apache/mesos
Used a namespace for paths in IOSwitchboard. Review: https://reviews.apache.org/r/65317/
46,053
25.01.2018 01:36:37
-3,600
635c33431a0bd15651c88529334ab30d3737d292
Removed a comment in io switchboard. The comment is incorrect since io switchboard allows reconnects after agent restarts. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -662,10 +662,6 @@ Future<http::Connection> IOSwitchboard::_connect(\n}\n// Get the io switchboard address from the `containerId`.\n- ...
C++
Apache License 2.0
apache/mesos
Removed a comment in io switchboard. The comment is incorrect since io switchboard allows reconnects after agent restarts. Review: https://reviews.apache.org/r/65180/
46,055
23.01.2018 15:54:58
-28,800
2cdbec02e37c794627204f0e1fadf09e5325507d
Updated the way to output error messages in `NetworkCniIsolatorSetup`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "diff": "#include <stout/os/which.hpp>\n#include \"common/protobuf_utils.hpp\"\n+#include \"common/status_utils.hpp\"\n#inc...
C++
Apache License 2.0
apache/mesos
Updated the way to output error messages in `NetworkCniIsolatorSetup`. Review: https://reviews.apache.org/r/65306
46,103
25.01.2018 16:07:50
-3,600
2b3423894af57cb3319aa46e515ab25c552b6695
Displayed all needed commands in apply-reviews script dry-run mode. This patch adds a shell command to create a file containing the commit message for dry-run mode. To minimize platform differences we use `printf` instead of `echo`. We output the message on a single line for compactness. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -26,6 +26,7 @@ import atexit\nimport json\nimport linecache\nimport os\n+import pipes\nimport platform\nimport re\nimport ssl\n@@ -268,6 +269,13 @@ def commit_patch(options):\nlambd...
C++
Apache License 2.0
apache/mesos
Displayed all needed commands in apply-reviews script dry-run mode. This patch adds a shell command to create a file containing the commit message for dry-run mode. To minimize platform differences we use `printf` instead of `echo`. We output the message on a single line for compactness. Review: https://reviews.apach...
46,056
25.01.2018 18:50:40
-3,600
657dc05060b2798a73e9039e946245e71e374aa5
Disabled flaky MasterTest.UpdateSlaveMessageWithPendingOffers test.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8612,7 +8612,9 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(MasterTest, RegistryGcByCount)\n// that isn't motivated by (re-)registration (e.g. when adding\n// resources) is correctly han...
C++
Apache License 2.0
apache/mesos
Disabled flaky MasterTest.UpdateSlaveMessageWithPendingOffers test.
46,056
25.01.2018 19:48:34
-3,600
a94a8a67900ceabdce5a83233e66938d6dd1917a
Added explicit scopes for clarity in HTTPTest.Endpoints test.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "diff": "@@ -237,6 +237,7 @@ TEST_P(HTTPTest, Endpoints)\nHttp http;\n// First hit '/body' (using explicit sockets and HTTP/1.0).\n+ {\nTry<inet::Socket>...
C++
Apache License 2.0
apache/mesos
Added explicit scopes for clarity in HTTPTest.Endpoints test.
46,114
24.01.2018 13:45:41
28,800
487bf167bbbc913c248736f25d22f2efc8a22aaa
Fixed a conversion warning. A "possible loss of data" warning was triggered with MSVC since `process.run(int)` implicitly converted an unsigned `size_t` to a signed `int`. This patch fixes the type of the passed values. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "new_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "diff": "@@ -674,10 +674,10 @@ private:\n// Measures performance of message passing in ProtobufProcess.\nTEST(ProcessTest, Process_BENCHMARK_ProtobufInst...
C++
Apache License 2.0
apache/mesos
Fixed a conversion warning. A "possible loss of data" warning was triggered with MSVC since `process.run(int)` implicitly converted an unsigned `size_t` to a signed `int`. This patch fixes the type of the passed values. Review: https://reviews.apache.org/r/65326
46,210
25.01.2018 23:16:49
-3,600
fa0314cef104eb8d5e2096b662a28617aef1bfec
Updated modules documentation with some more details. Adds mention of HTTP authenticatee module. Adds mention of authorizer modules. Adds module kind overview. Review:
[ { "change_type": "MODIFY", "old_path": "docs/modules.md", "new_path": "docs/modules.md", "diff": "@@ -125,6 +125,26 @@ If both \"file\" and \"name\" are specified, \"name\" is ignored.\nHere are the various module kinds currently available.\n+| kind | description |\n+|-------------------------------...
C++
Apache License 2.0
apache/mesos
Updated modules documentation with some more details. Adds mention of HTTP authenticatee module. Adds mention of authorizer modules. Adds module kind overview. Review: https://reviews.apache.org/r/64297/
46,210
26.01.2018 02:25:03
-3,600
46ebb84b80298f64f1fb97b75f2ecc2c68ba20ea
Fixed make clean without Python. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2209,7 +2209,7 @@ all-local: $(MESOS_EGGS)\nendif # HAS_PYTHON\nclean-python:\n- find python \\( -name \"build\" -o -name \"dist\" -o -name \"*.pyc\" \\\n+ -find python \\( -name \"build\" -o -name ...
C++
Apache License 2.0
apache/mesos
Fixed make clean without Python. Review: https://reviews.apache.org/r/65280/
46,056
26.01.2018 11:58:02
-3,600
c215730332bec91da2f28d9e43b583f94508e090
Disabled flaky ROOT_ConvertPreExistingVolume test.
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -1740,7 +1740,9 @@ TEST_F(\n// This test verifies that the storage local resource provider can\n// convert pre-existing CSI vol...
C++
Apache License 2.0
apache/mesos
Disabled flaky ROOT_ConvertPreExistingVolume test.
46,056
26.01.2018 12:08:47
-3,600
675707d86626489759366719e6d7178584d0485c
Disabled flaky RegisteredAgentReregisterAfterFailover test.
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -3761,8 +3761,10 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\n// deciding to re-admit the agent.\n//\n// TODO(andschwa): Enable when Windows supports replicated log. See MESOS-5932.\n+//\...
C++
Apache License 2.0
apache/mesos
Disabled flaky RegisteredAgentReregisterAfterFailover test.
46,056
26.01.2018 12:17:20
-3,600
e836778ff30524d1bd65aea5b5eca9ed77174277
Disabled flaky RegistryUpdateAfterReconfiguration test.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -2657,7 +2657,9 @@ TEST_F(MasterTest, SlavesEndpointQuerySlave)\n// Tests that the master correctly updates the slave info on\n// slave re-registration.\n-TEST_F(MasterTest, Reg...
C++
Apache License 2.0
apache/mesos
Disabled flaky RegistryUpdateAfterReconfiguration test.
46,056
26.01.2018 12:21:46
-3,600
15fc434e47e026790a6f6dc8e974a8440d0b1bdf
Disabled flaky RemovalInProgress test.
[ { "change_type": "MODIFY", "old_path": "src/tests/reconciliation_tests.cpp", "new_path": "src/tests/reconciliation_tests.cpp", "diff": "@@ -625,7 +625,9 @@ TEST_F(ReconciliationTest, RecoveredAgentReregistrationInProgress)\n// This test ensures that when an agent has started but not finished\n// the...
C++
Apache License 2.0
apache/mesos
Disabled flaky RemovalInProgress test.
46,055
28.01.2018 20:59:07
-28,800
25d269605d52fe55910302fefb558ce39e813974
Fixed a typo in `Slave::recover`.
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -6626,7 +6626,7 @@ Future<Nothing> Slave::recover(const Try<state::State>& state)\n} else if (state->rebooted) {\n// Prior to Mesos 1.4 we directly bypass the state recovery and\n// start as ...
C++
Apache License 2.0
apache/mesos
Fixed a typo in `Slave::recover`.
46,062
28.01.2018 12:41:22
28,800
981767895f1770701efeca3b8efd5c66cd34d8fc
Replaced the `Os.Which` test to use `cat` rather than `ping`. Starting from Ubuntu 15.04, `ping` is not installed by default. Rather than inducing a silly dependency, we'll test with `cat` instead. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os_tests.cpp", "new_path": "3rdparty/stout/tests/os_tests.cpp", "diff": "@@ -1039,7 +1039,7 @@ TEST_F(OsTest, SYMLINK_Realpath)\nTEST_F(OsTest, Which)\n{\n// TODO(jieyu): Test PATH search ordering and file execution bit.\n- Option<string> ...
C++
Apache License 2.0
apache/mesos
Replaced the `Os.Which` test to use `cat` rather than `ping`. Starting from Ubuntu 15.04, `ping` is not installed by default. Rather than inducing a silly dependency, we'll test with `cat` instead. Review: https://reviews.apache.org/r/65372
46,062
28.01.2018 14:17:51
28,800
f9558bfb8c8a264667accb3bc0586a46b7334ee2
Removed unused variable in `master_validation_tests.cpp`.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -1065,8 +1065,6 @@ TEST_F(CreateOperationValidationTest, SharedVolumeBasedOnCapability)\n// than the offered disk resource results won't succeed.\nTEST_F(C...
C++
Apache License 2.0
apache/mesos
Removed unused variable in `master_validation_tests.cpp`.
46,165
28.01.2018 20:19:13
28,800
0dae8757dc0df02c5d0865dbce4e5865d4401086
Added move construction and assignment to Future. Includes using `default` where applicable. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -95,6 +95,7 @@ public:\nFuture();\n/*implicit*/ Future(const T& _t);\n+ /*implicit*/ Future(T&& _t);\ntemplate <typename U>\n/*implicit*/...
C++
Apache License 2.0
apache/mesos
Added move construction and assignment to Future. Includes using `default` where applicable. Review: https://reviews.apache.org/r/65375/
46,172
29.01.2018 11:26:07
28,800
f0735edd200a8eb2549c967582767550b3958541
Reordered roles in Web UI to display them alphabetically by default. Use the alphabetical order of the name of the roles by default to better display their hierarchy. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/app.js", "new_path": "src/webui/master/static/js/app.js", "diff": "if (scope.columnKey === key) {\nscope.sortOrder = !scope.sortOrder;\n+ } else if (el.hasClass('ascending')) {\n+ // We can order the table the other way around by add...
C++
Apache License 2.0
apache/mesos
Reordered roles in Web UI to display them alphabetically by default. Use the alphabetical order of the name of the roles by default to better display their hierarchy. Review: https://reviews.apache.org/r/65351/
46,139
29.01.2018 15:55:12
28,800
54343ad529690a675d24fd54b481589b34bab83a
Added some missing email addresses to the contributors list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "affiliations:\n- {organization: Mesosphere}\nemails:\n+ - anand@apache.org\n- mazumdar.anand@gmail.com\njira_user: anandmazumdar\nreviewboard_user: anandmazumdar\n- {organization: Mesosphe...
C++
Apache License 2.0
apache/mesos
Added some missing email addresses to the contributors list. Review: https://reviews.apache.org/r/65197/
46,062
26.01.2018 14:29:44
28,800
f809fe61dd41d7c470974af23c91e81629feb0b8
Updated `state::read` to return `Result`. Due to the issue of empty files that can arise from using `rename` without `fsync` (see commit 3763476), we return `None` to indicate an empty file. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "diff": "@@ -264,7 +264,7 @@ Try<Nothing> DockerVolumeIsolatorProcess::_recover(\nreturn Nothing();\n}\n- Try...
C++
Apache License 2.0
apache/mesos
Updated `state::read` to return `Result`. Due to the issue of empty files that can arise from using `rename` without `fsync` (see commit 3763476), we return `None` to indicate an empty file. Review: https://reviews.apache.org/r/65377
46,055
30.01.2018 15:29:04
-28,800
7f148e00a5e7713d752bb3f9e50132612f8357bf
Fixed a minor issue in the log message of `network/cni` isolator.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "diff": "@@ -2084,7 +2084,8 @@ int NetworkCniIsolatorSetup::execute()\n\"network namespace of pid \" + stringify(flags.pid....
C++
Apache License 2.0
apache/mesos
Fixed a minor issue in the log message of `network/cni` isolator.
46,188
29.01.2018 19:40:16
28,800
99262a63f07854924354afc52184c39e1f45e5a6
Enabled gRPC in the RPM spec file. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/mesos.spec", "new_path": "support/packaging/centos/mesos.spec", "diff": "@@ -94,6 +94,7 @@ This package provides files for developing Mesos frameworks/modules.\n--enable-install-module-dependencies \\\n--enable-libevent \\\n--enable-ss...
C++
Apache License 2.0
apache/mesos
Enabled gRPC in the RPM spec file. Review: https://reviews.apache.org/r/65416
46,144
30.01.2018 09:13:32
28,800
191064534e1a3442f62daf7cc5f7c54b91b80c17
Update contributors.yaml. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: cinchurge\nreviewboard_user: cinchurge\n+- name: Eric Mumau\n+affiliations:\n+ - {organization: Microsoft}\n+ emails:\n+ - ermumau@microsoft.com\n+ jira_user: ermumau\n+ reviewb...
C++
Apache License 2.0
apache/mesos
Update contributors.yaml. This closes #261
46,114
25.01.2018 11:37:45
28,800
c1d2cb26b7859ca7000a16408e01a021bdc80795
Windows: Enabled searching for executable in cwd. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.cpp", "new_path": "src/slave/containerizer/mesos/launch.cpp", "diff": "@@ -909,12 +909,9 @@ int MesosContainerizerLaunch::execute()\n? os::Shell::name\n: launchInfo.command().value().c_str());\n-#ifndef __WINDOWS__\n// Sear...
C++
Apache License 2.0
apache/mesos
Windows: Enabled searching for executable in cwd. Review: https://reviews.apache.org/r/65410
46,210
30.01.2018 23:19:09
-3,600
320ebd7a051e4cf3d1eb2a773ff782a0cdbfc8b4
Fixed duplicate protobuf linking in Python examples. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/python/test_executor.py", "new_path": "src/examples/python/test_executor.py", "diff": "@@ -22,7 +22,7 @@ import time\nimport mesos.interface\nfrom mesos.interface import mesos_pb2\n-import mesos.native\n+from mesos.executor import MesosExecutorDri...
C++
Apache License 2.0
apache/mesos
Fixed duplicate protobuf linking in Python examples. Review: https://reviews.apache.org/r/65423/
46,055
28.01.2018 20:57:23
-28,800
b6da63ba2a318e911944a3c475ecf472b1ca86e0
Reaped Docker executor only when it can be connected. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "#include <process/defer.hpp>\n#include <process/delay.hpp>\n#include <process/io.hpp>\n+#include <process/network.hpp>\n#include <process/owned.hpp>\n#include <proc...
C++
Apache License 2.0
apache/mesos
Reaped Docker executor only when it can be connected. Review: https://reviews.apache.org/r/65382
46,055
29.01.2018 16:20:23
-28,800
1512d36c55a2a8fd4f85ebb15a1d13c91d0f403b
Fixed a coding error in a log message of Docker containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -2489,7 +2489,7 @@ Future<Nothing> DockerContainerizerProcess::destroyTimeout(\n// Ignoring the error from killing process as it can already\n// have exited.\nVL...
C++
Apache License 2.0
apache/mesos
Fixed a coding error in a log message of Docker containerizer. Review: https://reviews.apache.org/r/65420
46,210
31.01.2018 03:40:24
-3,600
5b6421d57f074cadc4cc0f8ee1db8b7a000a08f3
Updated example frameworks environment parameter prefix. The example frameworks now consistently make use of the MESOS_EXAMPLE_ prefix for their environment variable parameters. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "@@ -491,7 +491,7 @@ private:\nint main(int argc, char** argv)\n{\nFlags flags;\n- Try<flags::Warnings> load = flags.load(\"MESOS_\", argc, argv);\n+ Try<flags::Warn...
C++
Apache License 2.0
apache/mesos
Updated example frameworks environment parameter prefix. The example frameworks now consistently make use of the MESOS_EXAMPLE_ prefix for their environment variable parameters. Review: https://reviews.apache.org/r/64846/
46,210
31.01.2018 03:40:47
-3,600
ef6447b4da198ca2fbbae1f8e46d76a2d3ef7238
Added collection of example framework flag definitions. Adds a set if flags exclusively used by our example frameworks. This enhancement aids in unifying the user experience when tinkering with our examples. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "src/examples/flags.hpp", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for additional information\n+// regarding copyright...
C++
Apache License 2.0
apache/mesos
Added collection of example framework flag definitions. Adds a set if flags exclusively used by our example frameworks. This enhancement aids in unifying the user experience when tinkering with our examples. Review: https://reviews.apache.org/r/64847/
46,210
31.01.2018 03:40:52
-3,600
2d2806ae5e037c5f2809f9e2cdd49c2c5cf36d71
Updated example frameworks to make use of added flags. The example frameworks now consistently rely on a set of common flags for parameterizing. This unifies parameter names, descriptions and validation for those examples. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "#include \"common/parse.hpp\"\n+#include \"examples/flags.hpp\"\n+\n#include \"logging/logging.hpp\"\nusing namespace mesos;\n@@ -66,11 +68,10 @@ const double CPUS_...
C++
Apache License 2.0
apache/mesos
Updated example frameworks to make use of added flags. The example frameworks now consistently rely on a set of common flags for parameterizing. This unifies parameter names, descriptions and validation for those examples. Review: https://reviews.apache.org/r/64848/
46,210
31.01.2018 03:41:02
-3,600
7e4e9ce93fd7408c75b7809ce4c3f666ce96f43c
Added authentication to some example frameworks. All example frameworks now support authenticating when registering to the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/dynamic_reservation_framework.cpp", "new_path": "src/examples/dynamic_reservation_framework.cpp", "diff": "#include <stout/stringify.hpp>\n#include <stout/try.hpp>\n-#include \"logging/logging.hpp\"\n-\n#include \"examples/flags.hpp\"\n+#include \...
C++
Apache License 2.0
apache/mesos
Added authentication to some example frameworks. All example frameworks now support authenticating when registering to the master. Review: https://reviews.apache.org/r/64849/
46,210
31.01.2018 00:16:46
-3,600
73f6522905db5114d1bd6d99a3bab0793b14b86d
Updated example frameworks for mesos-local. Unifies handling of 'local' when supplied for the '--master' flag. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "#include <mesos/resources.hpp>\n#include <mesos/scheduler.hpp>\n+#include <mesos/authorizer/acls.hpp>\n+\n#include <process/clock.hpp>\n#include <process/defer.hpp>...
C++
Apache License 2.0
apache/mesos
Updated example frameworks for mesos-local. Unifies handling of 'local' when supplied for the '--master' flag. Review: https://reviews.apache.org/r/64857/
46,178
31.01.2018 10:36:26
18,000
4dda8dfc1e95f01fbb109cae5c09b88e8ace0663
Removed extra newlines from mesos.spec.
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/mesos.spec", "new_path": "support/packaging/centos/mesos.spec", "diff": "@@ -26,7 +26,6 @@ Source5: %{name}-master.service\nSource6: %{name}-slave.service\n%endif\n-\nBuildRequires: apache-maven\nBuildRequires: libtool\nBuildRequires: ...
C++
Apache License 2.0
apache/mesos
Removed extra newlines from mesos.spec.
46,062
31.01.2018 18:26:50
-3,600
d8eda63153bf8a998e1f2f97db99d9a004707250
Added `examples/flags.hpp` to `src/Makefile.am`. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1128,6 +1128,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\ncredentials/credentials.hpp \\\ndocker/docker.hpp \\\ndocker/executor.hpp \\\n+ examples/flags.hpp \\\nexamples/test_anonymous_module.hpp \\\...
C++
Apache License 2.0
apache/mesos
Added `examples/flags.hpp` to `src/Makefile.am`. Review: https://reviews.apache.org/r/65432/
46,128
31.01.2018 12:38:22
28,800
9b34b0c05884d92742ac0aa90b0cb762ffc84bc9
Added to the 1.5.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -316,6 +316,7 @@ All Resolved Issues:\n* [MESOS-8460] - `Slave::detachFile` can segfault because it could use invalid Framework*.\n* [MESOS-8461] - SLRP should no assume a CSI plugin always has GetNodeID impleme...
C++
Apache License 2.0
apache/mesos
Added MESOS-8514 to the 1.5.0 CHANGELOG.
46,078
31.01.2018 09:31:51
28,800
89d600efcc10e42afed93a2090d3a892281ec256
Fixed flaky SlaveTest.RegisteredAgentReregisterAfterFailover. Previously due to a race condition a registration retry could be held in the authorizer and forwarded back to the master only after the agent's disconnection is detected, which leads to a remove registrar operation when the test asserts there's none. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -3761,11 +3761,13 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\n// deciding to re-admit the agent.\n//\n// TODO(andschwa): Enable when Windows supports replicated log. See MESOS-5932.\n-//...
C++
Apache License 2.0
apache/mesos
Fixed flaky SlaveTest.RegisteredAgentReregisterAfterFailover. Previously due to a race condition a registration retry could be held in the authorizer and forwarded back to the master only after the agent's disconnection is detected, which leads to a remove registrar operation when the test asserts there's none. Revie...
46,139
31.01.2018 12:59:28
28,800
bcd7fd8ec0b42fb59c1d1f824dea60907fb82308
Made devolving `v1::scheduler::Call::SUBSCRIBE` more robust. `devolve(const v1::scheduler::Call& call)` is called by `master::receive()` and by `Master::Http::scheduler()` before the input is validated, so it should check if optional fields are set before accessing them. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -199,7 +199,8 @@ scheduler::Call devolve(const v1::scheduler::Call& call)\nscheduler::Call _call = devolve<scheduler::Call>(call);\n// Certain conversions require special handling.\...
C++
Apache License 2.0
apache/mesos
Made devolving `v1::scheduler::Call::SUBSCRIBE` more robust. `devolve(const v1::scheduler::Call& call)` is called by `master::receive()` and by `Master::Http::scheduler()` before the input is validated, so it should check if optional fields are set before accessing them. Review: https://reviews.apache.org/r/65357/
46,139
31.01.2018 12:59:29
28,800
0c794bd03fc40fc83d0ad0ac4b866807b95b7321
Removed unnecesssary validations from `Master::receive()`. `validation::scheduler::call::validate(call)` is called at the top of `master::receive()`, so it doesn't need to validate the calls again. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2414,24 +2414,11 @@ void Master::receive(\nbreak;\ncase scheduler::Call::ACKNOWLEDGE: {\n- Try<id::UUID> uuid = id::UUID::fromBytes(call.acknowledge().uuid());\n- if (uuid.isError()) {\n...
C++
Apache License 2.0
apache/mesos
Removed unnecesssary validations from `Master::receive()`. `validation::scheduler::call::validate(call)` is called at the top of `master::receive()`, so it doesn't need to validate the calls again. Review: https://reviews.apache.org/r/65358/
46,139
31.01.2018 12:59:34
28,800
fccdba9af710fe9a32b0de245df31ad959851167
Added an extra CHECK to `Master::acknowledge()`. The acknowledge call is validated before being passed to `Master::acknowledge`, so it is safe to assume that `acknowledge.uuid()` will be valid. Added a CHECK to detect problems in the validation code or changes in the code paths. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5746,7 +5746,10 @@ void Master::acknowledge(\nconst SlaveID& slaveId = acknowledge.slave_id();\nconst TaskID& taskId = acknowledge.task_id();\n- const id::UUID uuid = id::UUID::fromBytes...
C++
Apache License 2.0
apache/mesos
Added an extra CHECK to `Master::acknowledge()`. The acknowledge call is validated before being passed to `Master::acknowledge`, so it is safe to assume that `acknowledge.uuid()` will be valid. Added a CHECK to detect problems in the validation code or changes in the code paths. Review: https://reviews.apache.org/r/...