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,188
11.02.2019 12:51:32
28,800
5c4e839baab8588485c874d05953df21c129af03
Secured mesos executor binary using memfd. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "@@ -196,10 +196,13 @@ Duration DEFAULT_MASTER_PING_TIMEOUT();\n// Name of the executable for default executor.\n#ifdef __WINDOWS__\nconstexpr char MESOS_DEFAULT_EXECUTOR[] = \"mesos-defa...
C++
Apache License 2.0
apache/mesos
Secured mesos executor binary using memfd. Review: https://reviews.apache.org/r/69952/
46,139
08.02.2019 18:29:44
28,800
02e4477187173fcae86ca6cb8db002f0f90fcf5f
Added tests for feedback for operations on agent default resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2497,6 +2497,7 @@ mesos_tests_SOURCES = \\\ntests/active_user_test_helper.cpp \\\ntests/active_user_test_helper.hpp \\\ntests/agent_container_api_tests.cpp \\\n+ tests/agent_operation_feedback_tests...
C++
Apache License 2.0
apache/mesos
Added tests for feedback for operations on agent default resources. Review: https://reviews.apache.org/r/69910/
46,139
08.02.2019 18:29:46
28,800
fa6ea019109e74a23576c3f736fda7d4faa16bc2
Removed `MasterAPITest.OperationFeedbackOnAgentDefaultResources`. This patch removes a `MasterAPITest`, because the new test suite `AgentOperationFeedbackTest` already covers the scenario from the original test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -5257,125 +5257,6 @@ TEST_P(MasterAPITest, OperationUpdatesUponUnreachable)\n}\n-// This test verifies that schedulers can receive operation feedback\n-// for operations on agent defa...
C++
Apache License 2.0
apache/mesos
Removed `MasterAPITest.OperationFeedbackOnAgentDefaultResources`. This patch removes a `MasterAPITest`, because the new test suite `AgentOperationFeedbackTest` already covers the scenario from the original test. Review: https://reviews.apache.org/r/69920/
46,139
08.02.2019 18:29:50
28,800
a77bf5ec1238e9147f5bdb3297886230f6a6fc62
Added agent/RP IDs to some operation updates generated by the master. This patch makes the master include the agent and resource provider IDs in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation status updates that it generates. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9070,13 +9070,25 @@ void Master::sendBulkOperationFeedback(\ncontinue;\n}\n+ Result<ResourceProviderID> resourceProviderId =\n+ getResourceProviderId(operation->info());\n+\n+ CHECK(!res...
C++
Apache License 2.0
apache/mesos
Added agent/RP IDs to some operation updates generated by the master. This patch makes the master include the agent and resource provider IDs in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation status updates that it generates. Review: https://reviews.apache.org/r/69912/
46,139
08.02.2019 18:29:55
28,800
156da38ef63bf1815b59abd20a719156f4b1fc6d
Added missing periods at the end of comments. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -842,7 +842,7 @@ TEST_P(OperationReconciliationTest, AgentPendingOperationAfterMasterFailover)\nClock::pause();\n- // Test explicit reconcili...
C++
Apache License 2.0
apache/mesos
Added missing periods at the end of comments. Review: https://reviews.apache.org/r/69919/
46,139
08.02.2019 18:29:56
28,800
34b0adc83b5eef4a7b2bb125203e5efa56497121
Added tests for reconciliation of operations on agent default resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -897,6 +897,514 @@ TEST_P(OperationReconciliationTest, AgentPendingOperationAfterMasterFailover)\n}\n}\n+// This test ensures that the master...
C++
Apache License 2.0
apache/mesos
Added tests for reconciliation of operations on agent default resources. Review: https://reviews.apache.org/r/69911/
46,128
08.02.2019 18:29:58
28,800
53045965c82d7bc761aa88b16b45ecbadfade428
Added test to verify that frameworks receive OPERATION_DROPPED updates. This patch adds the new test `AgentOperationFeedbackTest.DroppedOperationStatusUpdate` which verifies that when an operation is dropped on its way to the agent, a framework will receive an OPERATION_DROPPED status update if it requested feedback fo...
[ { "change_type": "MODIFY", "old_path": "src/tests/agent_operation_feedback_tests.cpp", "new_path": "src/tests/agent_operation_feedback_tests.cpp", "diff": "@@ -455,6 +455,121 @@ TEST_P(AgentOperationFeedbackTest, OperationUpdateContainsAgentID)\n}\n}\n+\n+// When a scheduler requests feedback for an...
C++
Apache License 2.0
apache/mesos
Added test to verify that frameworks receive OPERATION_DROPPED updates. This patch adds the new test `AgentOperationFeedbackTest.DroppedOperationStatusUpdate` which verifies that when an operation is dropped on its way to the agent, a framework will receive an OPERATION_DROPPED status update if it requested feedback f...
46,128
08.02.2019 18:30:27
28,800
c8e3553022f5949bf8f5f6984e283a4861f9d74f
Added header comments for two master methods. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -660,12 +660,26 @@ protected:\nconst std::string& message,\nOption<process::metrics::Counter> reason = None());\n+ // Removes an agent from the master's state in the following cases:\n+ /...
C++
Apache License 2.0
apache/mesos
Added header comments for two master methods. Review: https://reviews.apache.org/r/69880/
46,165
05.02.2019 16:27:12
18,000
7ac7fe7d0934c696c0cd3d7e0bbd6ce28859db15
Reduced unnecessary agent lookups in the allocation loops. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1793,6 +1793,9 @@ void HierarchicalAllocatorProcess::__allocate()\n// roles with unsatisfied guarantee can have more choices and higher\n// pr...
C++
Apache License 2.0
apache/mesos
Reduced unnecessary agent lookups in the allocation loops. Review: https://reviews.apache.org/r/69900
46,165
05.02.2019 16:41:00
18,000
2489e9acb9446e15eac7785b31d64192da160b31
Fixed incorrect skipping in the allocation loops. The allocation loop was breaking out of the framework loop based on resources filtered by the framework's capabilities. This can lead to incorrect breaking in the case that a framework is incapable of receiving resources whereas others are capable of receiving them. Rev...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1807,12 +1807,28 @@ void HierarchicalAllocatorProcess::__allocate()\ncontinue;\n}\n+ // TODO(bmahler): Handle shared volumes, which are always...
C++
Apache License 2.0
apache/mesos
Fixed incorrect skipping in the allocation loops. The allocation loop was breaking out of the framework loop based on resources filtered by the framework's capabilities. This can lead to incorrect breaking in the case that a framework is incapable of receiving resources whereas others are capable of receiving them. R...
46,165
11.02.2019 12:51:32
18,000
4b83b0498219b90483100883919f513666440bae
Added a test for This test ensures that the framework allocation loop does not incorrectly break in the case that a framework is incapable of receiving the resources on an agent. In this case, the loop should continue as other frameworks may be capable of receiving the resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -2921,6 +2921,93 @@ TEST_F(HierarchicalAllocatorTest, UpdateSlaveCapabilities)\n}\n+// This is a white-box test to ensure that MESOS-9554 is fixe...
C++
Apache License 2.0
apache/mesos
Added a test for MESOS-9554. This test ensures that the framework allocation loop does not incorrectly break in the case that a framework is incapable of receiving the resources on an agent. In this case, the loop should continue as other frameworks may be capable of receiving the resources. Review: https://reviews.a...
46,165
12.02.2019 18:50:56
18,000
296db3089d2520ed62ee4cd464e07e6ca1028da0
Fixed HookTest.VerifyMasterLaunchTaskResourceDecoratorHook. This test was failing since the task's resources were invalid (did not have an allocation info). This ensures the test hook uses allocated resources.
[ { "change_type": "MODIFY", "old_path": "src/examples/test_hook_module.cpp", "new_path": "src/examples/test_hook_module.cpp", "diff": "@@ -127,7 +127,13 @@ public:\n// Add a default value for network bandwidth if absent.\nif (taskResources.names().count(\"network_bandwidth\") == 0) {\n- taskResources...
C++
Apache License 2.0
apache/mesos
Fixed HookTest.VerifyMasterLaunchTaskResourceDecoratorHook. This test was failing since the task's resources were invalid (did not have an allocation info). This ensures the test hook uses allocated resources.
46,056
15.02.2019 09:55:27
-3,600
3886e2a0b77a8f8233d95f785ddb55403e638677
Added a log line to isolator for simplified debugging. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/filesystem/linux.cpp", "new_path": "src/slave/containerizer/mesos/isolators/filesystem/linux.cpp", "diff": "@@ -881,6 +881,9 @@ Future<Nothing> LinuxFilesystemIsolatorProcess::update(\nsource + \"' with uid \" + stringif...
C++
Apache License 2.0
apache/mesos
Added a log line to isolator for simplified debugging. Review: https://reviews.apache.org/r/69986/
46,103
06.02.2019 15:05:02
-3,600
a74cf0765c30659a71e0e7a431ddc0d1ecedb8d0
Validated static framework offer filters. This patch adds validation to framework-specified static offer filters. In particular we enforce that minimal resource quantities cannot be negative. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/validation.cpp", "new_path": "src/common/validation.cpp", "diff": "#include <algorithm>\n#include <cctype>\n+#include <cmath>\n#include <mesos/executor/executor.hpp>\n@@ -614,6 +615,43 @@ Option<Error> validateExecutorCall(const mesos::executor::Cal...
C++
Apache License 2.0
apache/mesos
Validated static framework offer filters. This patch adds validation to framework-specified static offer filters. In particular we enforce that minimal resource quantities cannot be negative. Review: https://reviews.apache.org/r/69862/
46,103
06.02.2019 15:06:33
-3,600
736721430be8e27f3969ac76e42bc2e75b1ea3a8
Added test for per-framework, per-role minimal allocatable resources. This patch adds tests for the behavior of per-framework, per-role minimal allocatable resources. We validate the behavior of framework minimal allocatable resources below the globally configured limits and the behavior of empty filters or minimal res...
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -2284,6 +2284,121 @@ TEST_F(HierarchicalAllocatorTest, Allocatable)\n}\n+// Check that if a framework specifies minimum allocatable resources, it...
C++
Apache License 2.0
apache/mesos
Added test for per-framework, per-role minimal allocatable resources. This patch adds tests for the behavior of per-framework, per-role minimal allocatable resources. We validate the behavior of framework minimal allocatable resources below the globally configured limits and the behavior of empty filters or minimal re...
46,165
13.02.2019 14:22:55
18,000
e465ad7dc6122778b969eaa84d54be6209f28216
Added a regression test for This test uses non-scalar reservations across two agents, which is the same scenario that leads to the crash in Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -3123,6 +3123,47 @@ TEST_F(HierarchicalAllocatorTest, FrameworkLoopMESOS_9554)\n}\n+// This is a regression test for MESOS-9555 that ensures that...
C++
Apache License 2.0
apache/mesos
Added a regression test for MESOS-9555. This test uses non-scalar reservations across two agents, which is the same scenario that leads to the crash in MESOS-9555. Review: https://reviews.apache.org/r/69990
46,143
02.02.2019 09:51:09
21,600
e10034fb4fede1aaf58b25c7e9fe3e677826350b
Fixed variable names in `Master::_doRegistryGC()`. Substituted `slave` with `slaveId` to be consistent with the code base. No functional changes. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -1796,7 +1796,7 @@ void Master::doRegistryGc()\nTimeInfo currentTime = protobuf::getCurrentTime();\nhashset<SlaveID> toRemove;\n- foreachpair (const SlaveID& slave,\n+ foreachpair (const ...
C++
Apache License 2.0
apache/mesos
Fixed variable names in `Master::_doRegistryGC()`. Substituted `slave` with `slaveId` to be consistent with the code base. No functional changes. Review: https://reviews.apache.org/r/69907
46,143
02.02.2019 10:01:56
21,600
d794ab792f102aa6642b66b7b5dd9520ef283d94
Removed unreachable tasks from `Master::Framework` on agent GC. Unreachable tasks are stored in `Slaves` and `Framework` structs of the master, but they were only being removed from the former when an unreachable agent is GCed from the registry. This patch fixes it so that the latter is also cleaned up. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -1875,7 +1875,27 @@ void Master::_doRegistryGc(\n}\nslaves.unreachable.erase(slaveId);\n+\n+ // TODO(vinod): Consider moving these tasks into `completedTasks` by\n+ // transitioning them ...
C++
Apache License 2.0
apache/mesos
Removed unreachable tasks from `Master::Framework` on agent GC. Unreachable tasks are stored in `Slaves` and `Framework` structs of the master, but they were only being removed from the former when an unreachable agent is GCed from the registry. This patch fixes it so that the latter is also cleaned up. Review: https...
46,143
05.02.2019 16:55:19
21,600
38e41c5fe4a3cd41b89961b8e3d4e03f2f35a6c3
Tested unreachable task behavior on agent GC. Updated `PartitionTest, RegistryGcByCount` test. This test fails without the previous patch. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/partition_tests.cpp", "new_path": "src/tests/partition_tests.cpp", "diff": "@@ -2932,16 +2932,30 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(PartitionTest, RegistryGcByCount)\nEXPECT_CALL(sched, registered(&driver, _, _));\n- Future<Nothing> resourceOffers;\n...
C++
Apache License 2.0
apache/mesos
Tested unreachable task behavior on agent GC. Updated `PartitionTest, RegistryGcByCount` test. This test fails without the previous patch. Review: https://reviews.apache.org/r/69909
46,148
13.02.2019 16:06:26
28,800
4380e5ba999b31782ef2fb32f51a1f225d28f5c5
Fixed a flaky test `MasterQuotaTest.RemoveSingleQuota`. The test is flaky due to a race between metrics update and metrics query. This patch adds clock settle to ensure quota update and removal are fully processed (including metrics updates) before continuing with the metrics query. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_quota_tests.cpp", "new_path": "src/tests/master_quota_tests.cpp", "diff": "#include <mesos/quota/quota.hpp>\n+#include <process/clock.hpp>\n#include <process/future.hpp>\n#include <process/http.hpp>\n#include <process/id.hpp>\n@@ -58,6 +59,7 @...
C++
Apache License 2.0
apache/mesos
Fixed a flaky test `MasterQuotaTest.RemoveSingleQuota`. The test is flaky due to a race between metrics update and metrics query. This patch adds clock settle to ensure quota update and removal are fully processed (including metrics updates) before continuing with the metrics query. Review: https://reviews.apache.or...
46,165
15.02.2019 17:38:23
18,000
5022476c64afe4953a308faaed259f91a8929bb3
Moved from 1.7.1 to 1.7.2 in the CHANGELOG. The patch for this was accidentally not pushed until recently, so the fix actually landed in 1.7.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -14,6 +14,10 @@ Release Notes - Mesos - Version 1.7.2 (WIP)\n* [MESOS-9554] - Allocator might skip allocations because a single framework is incapable of receiving certain resources.\n* [MESOS-9555] - Allocator ...
C++
Apache License 2.0
apache/mesos
Moved MESOS-9340 from 1.7.1 to 1.7.2 in the CHANGELOG. The patch for this was accidentally not pushed until recently, so the fix actually landed in 1.7.2.
46,128
15.02.2019 17:25:56
28,800
2d23631a4c0603876411ef0ffaa5b0b56ac9423c
Updated the CHANGELOG for the 1.6.2 release.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -445,11 +445,21 @@ All Resolved Issues:\n* [MESOS-9020] - Seccomp design doc\n-Release Notes - Mesos - Version 1.6.2 (WIP)\n+Release Notes - Mesos - Version 1.6.3 (WIP)\n-----------------------------------------...
C++
Apache License 2.0
apache/mesos
Updated the CHANGELOG for the 1.6.2 release.
46,103
17.02.2019 11:26:03
-3,600
8bb4c7f18ae6c55b43053b778d86cd6d96d64a67
Reformated verify-reviews.py with yapf. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n-...
C++
Apache License 2.0
apache/mesos
Reformated verify-reviews.py with yapf. Review: https://reviews.apache.org/r/69998
46,103
17.02.2019 11:18:17
-3,600
1595186c7cc903584ef0728893e209022c2212a3
Fixed some lint issues in verify-reviews.py. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -253,9 +253,8 @@ def verify_review(review_request):\n# Success!\npost_review(\n- review_request,\n- \"Patch looks great!\\n\\n\" \\\n- \"Reviews applied: %s\\n\\n\" \\\n+ review_r...
C++
Apache License 2.0
apache/mesos
Fixed some lint issues in verify-reviews.py. Review: https://reviews.apache.org/r/69999
46,128
15.02.2019 17:46:03
28,800
fea6f8bbac2088744b27930aad2a6a6a93f8df1d
Made an agent capability required for agent startup. This patch updates the agent's flag validation code to make the AGENT_OPERATION_FEEDBACK capability required for agent startup. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/flags.cpp", "new_path": "src/slave/flags.cpp", "diff": "@@ -773,10 +773,12 @@ mesos::internal::slave::Flags::Flags()\nif (!capabilities.multiRole ||\n!capabilities.hierarchicalRole ||\n- !capabilities.reservationRefinement) {\n+ !capabilities.reserva...
C++
Apache License 2.0
apache/mesos
Made an agent capability required for agent startup. This patch updates the agent's flag validation code to make the AGENT_OPERATION_FEEDBACK capability required for agent startup. Review: https://reviews.apache.org/r/69958/
46,128
15.02.2019 17:46:24
28,800
e07e01ed6af544cb57a33b8f7cb4ed528db3888f
Added tests related to operation feedback agent capabilities. These tests verify that master and agent behavior is correct during a downgrade of an agent to one which does not have the AGENT_OPERATION_FEEDBACK capability, and when a new agent's capabilities are altered such that it no longer has the RESOURCE_PROVIDER c...
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -9441,6 +9441,352 @@ TEST_F(MasterTest, OperationUpdateCompletedFramework)\n}\n+// When an agent is downgraded from RESOURCE_PROVIDER-capable to one that does\n+// not have this...
C++
Apache License 2.0
apache/mesos
Added tests related to operation feedback agent capabilities. These tests verify that master and agent behavior is correct during a downgrade of an agent to one which does not have the AGENT_OPERATION_FEEDBACK capability, and when a new agent's capabilities are altered such that it no longer has the RESOURCE_PROVIDER ...
46,128
15.02.2019 17:46:33
28,800
e1118cb75d5f639df4fc5c292d9eb78b30842231
Updated docs related to agent capabilities. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -92,7 +92,8 @@ Example:\n</td>\n<td>\nJSON representation of agent features to whitelist. We always require\n-'MULTI_ROLE', 'HIERARCHICAL_ROLE', and 'RESERVATION_REFINEMENT'.\...
C++
Apache License 2.0
apache/mesos
Updated docs related to agent capabilities. Review: https://reviews.apache.org/r/69969/
46,103
19.02.2019 21:31:31
-3,600
d5ff6c39252875bfa39344639518109e154e599e
Fixed type error in verify-reviews.py. This patch fixes a type error introduced in `ccd1970d1be` where we attempted to use a string API on undecoded UTF8 strings. With this patch the string is properly decoded. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -184,8 +184,9 @@ def apply_reviews(review_request, reviews):\ntry:\napply_review(review_request[\"id\"])\nexcept subprocess.CalledProcessError as err:\n- if \"patch does not apply...
C++
Apache License 2.0
apache/mesos
Fixed type error in verify-reviews.py. This patch fixes a type error introduced in `ccd1970d1be` where we attempted to use a string API on undecoded UTF8 strings. With this patch the string is properly decoded. Review: https://reviews.apache.org/r/70012
46,143
20.02.2019 15:19:24
21,600
2527ddccdefa7688459116146ae666da57019d83
Increased the number of review requests queried by ReviewBot to 200. Without the `max-results` query parameter, ReviewBoard API returns 25 results by default. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -70,10 +70,14 @@ parser.add_argument(\n\" that will need verification\")\n# Unless otherwise specified consider pending review requests to Mesos updated\n-# since 03/01/2014.\n+# ...
C++
Apache License 2.0
apache/mesos
Increased the number of review requests queried by ReviewBot to 200. Without the `max-results` query parameter, ReviewBoard API returns 25 results by default. Review: https://reviews.apache.org/r/70026
46,188
20.02.2019 11:14:26
28,800
e9acc79ed535dd95b71227412a0e19868cf453d9
Failed the scripts if `--points-at` is not supported. On some Jenkins boxes, the git installed on the box does not support `--points-at`. Instead of silently assume the 'master' branch in the scripts (which could be wrong), we fail hard here. Review:
[ { "change_type": "MODIFY", "old_path": "support/jenkins/docker-centos.sh", "new_path": "support/jenkins/docker-centos.sh", "diff": "@@ -15,7 +15,8 @@ DOCKER_IMAGE=${DOCKER_IMAGE:-\"mesos/mesos-centos\"}\nMESOS_SHA=${MESOS_SHA:-$(git rev-parse HEAD)}\nMESOS_TAG_OR_SHA=$(git describe --exact-match \"$...
C++
Apache License 2.0
apache/mesos
Failed the scripts if `--points-at` is not supported. On some Jenkins boxes, the git installed on the box does not support `--points-at`. Instead of silently assume the 'master' branch in the scripts (which could be wrong), we fail hard here. Review: https://reviews.apache.org/r/70024
46,188
20.02.2019 11:16:57
28,800
8143d006f1032bb1c43364bd9f6741ee3dfbfc0b
Blacklisted the "ubuntu-4" Jenkins box. The git version installed on the box is too low. Review:
[ { "change_type": "MODIFY", "old_path": "support/jenkins/Jenkinsfile-docker-centos", "new_path": "support/jenkins/Jenkinsfile-docker-centos", "diff": "#!groovy\nif (env.NODE_LABELS == null) {\n- env.NODE_LABELS = \"(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)\"\n+ env.NODE_LABELS = \"(ub...
C++
Apache License 2.0
apache/mesos
Blacklisted the "ubuntu-4" Jenkins box. The git version installed on the box is too low. Review: https://reviews.apache.org/r/70025
46,055
20.02.2019 13:41:52
28,800
88bbff15295a60f99d59c5b9aa38d033ea7e7f28
Added a test `ROOT_EmptyCheckpointFileSlaveRecovery`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "new_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "diff": "#include \"slave/containerizer/mesos/isolators/docker/volume/driver.hpp\"\n#include \"slave/containerizer/mesos/isolator...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_EmptyCheckpointFileSlaveRecovery`. Review: https://reviews.apache.org/r/69994/
46,055
20.02.2019 13:41:54
28,800
04feecafab62671c332b3ef8a50a7473a13278c2
Fixed an inaccurate comment in agent code. Given that `state::checkpoint` is atomic, an empty file could occur in case of slave host is hard rebooted after the file is created but before the data is synced on disk rather than slave process died. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/metadata_manager.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/metadata_manager.cpp", "diff": "@@ -263,8 +263,8 @@ Future<Nothing> MetadataManagerProcess::recover()\n}\nif (images.isNone())...
C++
Apache License 2.0
apache/mesos
Fixed an inaccurate comment in agent code. Given that `state::checkpoint` is atomic, an empty file could occur in case of slave host is hard rebooted after the file is created but before the data is synced on disk rather than slave process died. Review: https://reviews.apache.org/r/70001/
46,129
20.02.2019 16:34:52
28,800
9fd5ed7692d6af4cc291533d2208896b4be97da0
Added to 1.4.4 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -1504,6 +1504,16 @@ All Resolved Issues:\n* [MESOS-8394] - Bump CSI to 0.1.0.\n+Release Notes - Mesos - Version 1.4.4 (WIP)\n+-------------------------------------------\n+* This is a bug fix release.\n+\n+** Bu...
C++
Apache License 2.0
apache/mesos
Added MESOS-9507 to 1.4.4 CHANGELOG.
46,188
21.02.2019 10:49:48
28,800
6fddfc5aa6bda41681032678bd53243671866461
Bumped SVN yum repo URL. SVN 1.9 has been removed from the yum repo. This patch bumps it to SVN 1.11. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/centos6.dockerfile", "new_path": "support/packaging/centos/centos6.dockerfile", "diff": "@@ -13,9 +13,9 @@ RUN yum install -y \\\n# Add the Subversion repo.\nRUN echo -e '[WANdiscoSVN]\\n\\\n-name=WANdisco SVN Repo 1.9\\n\\\n+name=WANd...
C++
Apache License 2.0
apache/mesos
Bumped SVN yum repo URL. SVN 1.9 has been removed from the yum repo. This patch bumps it to SVN 1.11. Review: https://reviews.apache.org/r/70037
46,188
21.02.2019 14:56:42
28,800
c0b691be88cd69f9c5b50899cfa73f5d5a55c860
Cleaned up Jenkins workspace for RPM build job. So that we don't accidentally upload RPM built from previous jobs.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/Jenkinsfile-packaging-centos", "new_path": "support/jenkins/Jenkinsfile-packaging-centos", "diff": "@@ -7,6 +7,8 @@ if (env.NODE_LABELS == null) {\nparallel(\ncentos7: {\nnode(env.NODE_LABELS) {\n+ deleteDir()\n+\ncheckout scm\nsh(\"CENTOS_DIST...
C++
Apache License 2.0
apache/mesos
Cleaned up Jenkins workspace for RPM build job. So that we don't accidentally upload RPM built from previous jobs.
46,195
21.02.2019 18:29:52
28,800
b68acfda4ee2a501acb49a7b50438166807dd6c7
Added test cases for the `volume/host_path` isolator. Added test cases for the `volume/host_path` isolator for whitelisted non-existing host paths. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_host_path_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_host_path_isolator_tests.cpp", "diff": "#include \"slave/containerizer/mesos/containerizer.hpp\"\n+#include \"slave/containerizer/mesos/isolators/volume/u...
C++
Apache License 2.0
apache/mesos
Added test cases for the `volume/host_path` isolator. Added test cases for the `volume/host_path` isolator for whitelisted non-existing host paths. Review: https://reviews.apache.org/r/69287/
46,053
22.02.2019 16:37:38
28,800
7cbb98ff034511b1b2139f58a559e8938225e3fd
Exposed `memfd_create` syscall via `memfd::create` function. This patch exposes a wrapper function for `memfd_create` system call. This function can be used to create an anonymous in-memory files on Linux. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/memfd.cpp", "new_path": "src/linux/memfd.cpp", "diff": "#include <stout/os/open.hpp>\n#include <stout/os/stat.hpp>\n-using std::string;\n-\n-#if !defined(MFD_CLOEXEC)\n-#define MFD_CLOEXEC 0x0001U\n-#endif\n+#include \"linux/memfd.hpp\"\n-#if !define...
C++
Apache License 2.0
apache/mesos
Exposed `memfd_create` syscall via `memfd::create` function. This patch exposes a wrapper function for `memfd_create` system call. This function can be used to create an anonymous in-memory files on Linux. Review: https://reviews.apache.org/r/70009/
46,139
22.02.2019 17:15:58
28,800
879644ce882ba0a14f066e2db9e7734fa7204266
Added the version entry for the Mesos 1.7.2 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -188,6 +188,8 @@ versions:\n## after we create the ReleaseNote for 0.28.1, we get the link:\n## https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=1233535...
C++
Apache License 2.0
apache/mesos
Added the version entry for the Mesos 1.7.2 release.
46,139
22.02.2019 17:18:36
28,800
36df6d9404e3ad5b7737ef56d85caf9562e126b5
Updated the website for the 1.7.2 release.
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.7.2 release.
46,195
24.02.2019 18:26:19
28,800
68b73928a622be093a720277ec2ae1589c221b88
Documented the new `--host_path_volume_force_creation` agent option. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -958,6 +958,17 @@ environment or find hadoop on <code>PATH</code>)\n</td>\n</tr>\n+<tr id=\"host_path_volume_force_creation\">\n+ <td>\n+ --host_path_volume_force_creation\n+ ...
C++
Apache License 2.0
apache/mesos
Documented the new `--host_path_volume_force_creation` agent option. Review: https://reviews.apache.org/r/70048/
46,143
25.02.2019 17:24:19
21,600
4442c793708a8d7d3dfe2b17f56265d101bc8d9e
Output Review Request URL in Reviewbot output. The URL makes it easy to get to the Review from log messages. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -197,7 +197,8 @@ def apply_reviews(review_request, reviews):\ndef post_review(review_request, message):\n\"\"\"Post a review on the review board.\"\"\"\n- print(\"Posting review: ...
C++
Apache License 2.0
apache/mesos
Output Review Request URL in Reviewbot output. The URL makes it easy to get to the Review from log messages. Review: https://reviews.apache.org/r/70055
46,177
12.02.2019 16:08:32
28,800
fd9d99cea0915b6006a396a5926322ca1352ccd4
Added a recovery path for orphan operation. An orphan can be recovered if the originating framework reregisters with the master. When this happens, the resource accounting is reversed and resources are added back to the agent's total and the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10283,19 +10283,58 @@ void Master::recoverFramework(\n}\n}\n- foreachvalue (Operation* operation, slave->operations) {\n- if (operation->has_framework_id() &&\n- operation->framework_id(...
C++
Apache License 2.0
apache/mesos
Added a recovery path for orphan operation. An orphan can be recovered if the originating framework reregisters with the master. When this happens, the resource accounting is reversed and resources are added back to the agent's total and the allocator. Review: https://reviews.apache.org/r/69967
46,165
25.02.2019 17:23:14
18,000
e72acdedd088571ebe08fbadfce308ef81c25c3e
Added FrameworkInfo.offer_filters to multi-scheduler scalability docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -58,6 +58,14 @@ schedulers in the same Mesos cluster:\n4. **Do not `REVIVE` frequently**: `REVIVE`ing clears all filters, and therefore\nif `REVIVE` oc...
C++
Apache License 2.0
apache/mesos
Added FrameworkInfo.offer_filters to multi-scheduler scalability docs. Review: https://reviews.apache.org/r/70054
46,165
26.02.2019 16:03:34
18,000
4a2dbe25c7377636fe3a9d9c8576297a6db561cd
Added per-framework minimum resources offer filters to the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "+Release Notes - Mesos - Version 1.8.0 (WIP)\n+-------------------------------------------\n+This release contains the following highlights:\n+\n+ * Performance Improvements:\n+\n+ * Frameworks can now specify the ...
C++
Apache License 2.0
apache/mesos
Added per-framework minimum resources offer filters to the CHANGELOG.
46,139
26.02.2019 16:07:39
28,800
2835cdcb9c3167e862f991589c4ec2a27d8ba258
Added garbage collection of terminated operations status update streams. Make the agent garbage collect an operation status update stream once a terminal status update is acknowledged. This patch also improves the logging of acknowledgement failures and the readability of the `Slave::operationStatusAcknowledgement` met...
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4666,7 +4666,16 @@ void Slave::operationStatusAcknowledgement(\nconst AcknowledgeOperationStatusMessage& acknowledgement)\n{\nOperation* operation = getOperation(acknowledgement.operation_uu...
C++
Apache License 2.0
apache/mesos
Added garbage collection of terminated operations status update streams. Make the agent garbage collect an operation status update stream once a terminal status update is acknowledged. This patch also improves the logging of acknowledgement failures and the readability of the `Slave::operationStatusAcknowledgement` m...
46,139
26.02.2019 16:07:45
28,800
6324134f6a51d0227a06c233b1aa8dba16295851
Moved status update streams of operations on agent's default resources. This patch moves the operation status update streams for operations affecting agent default resources from the root of the metadata directory to the agent's metadata directory, i.e., `meta/operations/<operation_uuid>` to `meta/slaves/<slave_id>/ope...
[ { "change_type": "MODIFY", "old_path": "src/slave/paths.cpp", "new_path": "src/slave/paths.cpp", "diff": "@@ -557,6 +557,14 @@ Try<list<string>> getOperationPaths(\n}\n+Try<list<string>> getSlaveOperationPaths(\n+ const string& metaDir,\n+ const SlaveID& slaveId)\n+{\n+ return getOperationPaths(getS...
C++
Apache License 2.0
apache/mesos
Moved status update streams of operations on agent's default resources. This patch moves the operation status update streams for operations affecting agent default resources from the root of the metadata directory to the agent's metadata directory, i.e., `meta/operations/<operation_uuid>` to `meta/slaves/<slave_id>/op...
46,148
26.02.2019 19:52:54
28,800
a9f28a619144cea1740ed19fa3b8d184f460580d
Updated the website for the 1.4.3 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -15,6 +15,10 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.4.3 is released!\n+ date: February 26, 2019\n+ target_version: 1.4.3\n+ blog:...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.4.3 release.
46,055
27.02.2019 22:22:04
28,800
221efd311f241575ebf3170de663cd301d61e252
Added volume gid manager. This manager is used to allocate/deallocate gids for shared persistent volumes and PARENT type SANDBOX_PATH volumes. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -85,6 +85,7 @@ PROTOC_GENERATE(INTERNAL TARGET slave/containerizer/mesos/isolators/network/cni/\nPROTOC_GENERATE(INTERNAL TARGET slave/containerizer/mesos/isolators/docker/volume/state)\nPROTOC...
C++
Apache License 2.0
apache/mesos
Added volume gid manager. This manager is used to allocate/deallocate gids for shared persistent volumes and PARENT type SANDBOX_PATH volumes. Review: https://reviews.apache.org/r/69675/
46,055
27.02.2019 22:22:13
28,800
408f281458913caa564f66c40e392f61e81f999b
Added `task_supplementary_groups` into `ContainerLaunchInfo`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -268,6 +268,10 @@ message ContainerLaunchInfo {\n// TODO(tillt): Remove this once we no longer support the old style\n// command task (i.e., that uses ...
C++
Apache License 2.0
apache/mesos
Added `task_supplementary_groups` into `ContainerLaunchInfo`. Review: https://reviews.apache.org/r/69478/
46,055
27.02.2019 22:22:15
28,800
a7c59bf32b22b7ac63d33fea8f6fb7eddd15176d
Changed the definition of `uid_t` and `gid_t` to UNIT for Windows. This is to be consistent with other platforms. And we also need this change for otherwise that patch cannot be compiled on Windows because we do not have a matched `parse` function for `int` in 3rdparty/stout/include/stout/flags/parse.hpp. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/windows.hpp", "new_path": "3rdparty/stout/include/stout/windows.hpp", "diff": "@@ -180,8 +180,8 @@ typedef int mode_t;\n// including functions like `OpenProcess`.\ntypedef DWORD pid_t;\n-typedef int uid_t;\n-typedef int gid_t;\n+ty...
C++
Apache License 2.0
apache/mesos
Changed the definition of `uid_t` and `gid_t` to UNIT for Windows. This is to be consistent with other platforms. And we also need this change for https://reviews.apache.org/r/69479/, otherwise that patch cannot be compiled on Windows because we do not have a matched `parse` function for `int` in 3rdparty/stout/includ...
46,055
27.02.2019 22:22:18
28,800
caf09d8ea0bc040fc1435f4eab8d59ea2724602c
Added the flag `--task_supplementary_groups` to command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -139,6 +139,7 @@ public:\nconst Option<CapabilityInfo>& _boundingCapabilities,\nconst Option<string>& _ttySlavePath,\nconst Option<ContainerLaunchInfo>& _taskLaunchInfo,\n+ const ...
C++
Apache License 2.0
apache/mesos
Added the flag `--task_supplementary_groups` to command executor. Review: https://reviews.apache.org/r/69479/
46,055
27.02.2019 22:22:21
28,800
3b7670ee72ae215faf2ad012e92fc344fc540baa
Made non-root containers can access shared persistent volume. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -371,13 +371,29 @@ Try<MesosContainerizer*> MesosContainerizer::create(\n// Filesystem isolators.\n#ifdef __WINDOWS__\n- {\"filesystem/...
C++
Apache License 2.0
apache/mesos
Made non-root containers can access shared persistent volume. Review: https://reviews.apache.org/r/69544/
46,055
27.02.2019 22:22:24
28,800
c03e51f1fe9cc7137635a7fe586fd890f7c7bdae
Deallocated the shared persistent volume's gid when it is removed. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4398,7 +4398,6 @@ Try<Nothing> Slave::syncCheckpointedResources(\n// We should proceed only if the directory is removed.\nTry<Nothing> result = os::rmdir(path, true, removeRoot);\n-\nif (res...
C++
Apache License 2.0
apache/mesos
Deallocated the shared persistent volume's gid when it is removed. Review: https://reviews.apache.org/r/69481/
46,055
27.02.2019 22:22:29
28,800
16fd7e74b2dc6176d418ebcc1608b94a1159cb15
Implemented recovery for volume gid manager. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/paths.cpp", "new_path": "src/slave/paths.cpp", "diff": "@@ -69,6 +69,7 @@ const char RESOURCES_INFO_FILE[] = \"resources.info\";\nconst char RESOURCES_TARGET_FILE[] = \"resources.target\";\nconst char RESOURCE_PROVIDER_STATE_FILE[] = \"resource_provi...
C++
Apache License 2.0
apache/mesos
Implemented recovery for volume gid manager. Review: https://reviews.apache.org/r/69676/
46,055
27.02.2019 22:22:34
28,800
9c44b31e73783a220e43098a1b117e83e6074fdc
Added a test `ROOT_UNPRIVILEGED_USER_ParentTypeDifferentUser`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_sandbox_path_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_sandbox_path_isolator_tests.cpp", "diff": "#include \"slave/containerizer/mesos/containerizer.hpp\"\n+#include \"slave/volume_gid_manager/volume_gid_ma...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_ParentTypeDifferentUser`. Review: https://reviews.apache.org/r/67997/
46,055
27.02.2019 22:22:36
28,800
d0405160e60f60b3e3416e4a4bb7afb2b7e2907b
Added a test `ROOT_UNPRIVILEGED_USER_SharedPersistentVolume`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "diff": "@@ -1307,6 +1307,107 @@ TEST_F(LinuxFilesystemIsolatorMesosTest,\ndriver.join();\n}\n+\n+// This test verifies tha...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_SharedPersistentVolume`. Review: https://reviews.apache.org/r/68162/
46,055
27.02.2019 22:22:41
28,800
114569fed4f92f7394e4a8aad7077b7084bb94e9
Added a test `UNPRIVILEGED_USER_SharedPersistentVolume`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -2499,6 +2499,121 @@ TEST_P(PersistentVolumeTest, SharedPersistentVolumeMultipleFrameworks)\n}\n+// This test verifies that a command task launched with a ...
C++
Apache License 2.0
apache/mesos
Added a test `UNPRIVILEGED_USER_SharedPersistentVolume`. Review: https://reviews.apache.org/r/68163/
46,055
27.02.2019 22:22:44
28,800
cb706719975dc1c8ec34a8411d083c6d348779cf
Added a test `ROOT_UNPRIVILEGED_USER_TaskSandboxSharedPersistentVolume`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -3156,6 +3156,149 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n}\n+#ifndef __WINDOWS__\n+// This test verifies that the default executor mounts the shared\n+// persi...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_TaskSandboxSharedPersistentVolume`. Review: https://reviews.apache.org/r/69547/
46,055
27.02.2019 22:22:47
28,800
1003935e1c4021cecf3af637faa1588509a64065
Added a test `ROOT_UNPRIVILEGED_USER_TaskSandboxLocalPersistentVolume`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -3157,6 +3157,146 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n#ifndef __WINDOWS__\n+// This test verifies that the default executor mounts the local\n+// persistent...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_TaskSandboxLocalPersistentVolume`. Review: https://reviews.apache.org/r/69579/
46,055
27.02.2019 22:22:50
28,800
0d76597b014e1fdb3088db6cd5b24efc617783d7
Added tests for volume gid manager. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2663,6 +2663,7 @@ mesos_tests_SOURCES = \\\ntests/containerizer/provisioner_paths_tests.cpp \\\ntests/containerizer/rootfs.hpp \\\ntests/containerizer/setns_test_helper.hpp \\\n+ tests/containerizer...
C++
Apache License 2.0
apache/mesos
Added tests for volume gid manager. Review: https://reviews.apache.org/r/69613/
46,143
28.02.2019 12:21:09
21,600
2c658770e7e273672d64fe6c7deaed05828e9a15
Updated ReviewBot to verify reviews by checking for updates recursively. If any of the dependent reviews has an updated diff or dependency, it now triggers the ReviewBot. Previously only updates to the tail review in the chain triggered the ReviewBot. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -115,6 +115,11 @@ class ReviewError(Exception):\npass\n+def parse_time(timestamp):\n+ \"\"\"Parse time in ReviewBoard date format.\"\"\"\n+ return datetime.strptime(timestamp, \"%...
C++
Apache License 2.0
apache/mesos
Updated ReviewBot to verify reviews by checking for updates recursively. If any of the dependent reviews has an updated diff or dependency, it now triggers the ReviewBot. Previously only updates to the tail review in the chain triggered the ReviewBot. Review: https://reviews.apache.org/r/70060/
46,103
02.03.2019 23:47:56
-3,600
07dc5e1c599cb8784dd83a95202d07b1bccf964c
Initialized pointers with `nullptr` instead of `0`. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ns.cpp", "new_path": "src/linux/ns.cpp", "diff": "@@ -397,7 +397,7 @@ Try<pid_t> clone(\nchar base[1];\n- iovec iov = {0};\n+ iovec iov = {nullptr};\niov.iov_base = base;\niov.iov_len = sizeof(base);\n@@ -413,7 +413,7 @@ Try<pid_t> clone(\ncmessage.c...
C++
Apache License 2.0
apache/mesos
Initialized pointers with `nullptr` instead of `0`. Review: https://reviews.apache.org/r/70088/
46,103
04.03.2019 09:02:48
-3,600
ddec46003da2017564f74eb5718b99cbc1da10f7
Addressed issues flagged by pylint-2.3.1. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/exceptions.py", "new_path": "src/python/cli_new/lib/cli/exceptions.py", "diff": "@@ -22,4 +22,3 @@ class CLIException(Exception):\n\"\"\"\nExceptions class to handle all CLI errors.\n\"\"\"\n- pass\n" }, { "change_type": "MOD...
C++
Apache License 2.0
apache/mesos
Addressed issues flagged by pylint-2.3.1. Review: https://reviews.apache.org/r/70090/
46,103
04.03.2019 09:02:55
-3,600
e1ef9bb79191cf67fa660ed123f04cf7e2d4fb81
Updated to pylint-2.3.1. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/tox.ini", "new_path": "src/python/cli_new/tox.ini", "diff": "@@ -18,7 +18,7 @@ deps =\nmock==2.0.0\npytest==3.7.3\npytest-cov==2.5.1\n- lint: pylint==2.1.1\n+ lint: pylint==2.3.1\ncommands =\ntest: py.test {posargs:tests -vv --cov=lib --cov=...
C++
Apache License 2.0
apache/mesos
Updated to pylint-2.3.1. Review: https://reviews.apache.org/r/70092/
46,103
04.03.2019 09:07:17
-3,600
674bce1140c3b4ea45bf352dec39f47ffa95f356
Added tox invocation to test stage. This patch also removes a redundant printout which was not properly synchronized with the test execution's output and would have appeared at the incorrect time. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bin/mesos-cli-tests", "new_path": "src/python/cli_new/bin/mesos-cli-tests", "diff": "#!/usr/bin/env bash\n+set -e\n+\nCURRDIR=\"$(cd \"$(dirname \"$0\")\" && pwd)\"\n+tox -c ${CURRDIR}/../tox.ini -e py3-lint\n+\npython ${CURRDIR}/../tests/ma...
C++
Apache License 2.0
apache/mesos
Added tox invocation to test stage. This patch also removes a redundant printout which was not properly synchronized with the test execution's output and would have appeared at the incorrect time. Review: https://reviews.apache.org/r/70091/
46,057
04.03.2019 19:10:26
-3,600
11a8150fc9c794723bdb728357c99df25f012380
Fixed filename in warning message. This patch fixes a typo in the name of the `cgroup.procs` file that can be printed when starting Mesos agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/main.cpp", "new_path": "src/slave/main.cpp", "diff": "@@ -203,7 +203,7 @@ static Try<Nothing> assignCgroups(const slave::Flags& flags)\nLOG(INFO) << \"An agent (or child process) is still running, please\"\n<< \" consider checking the following proce...
C++
Apache License 2.0
apache/mesos
Fixed filename in warning message. This patch fixes a typo in the name of the `cgroup.procs` file that can be printed when starting Mesos agent. Review: https://reviews.apache.org/r/70023/
46,087
27.02.2019 11:39:54
28,800
5a2df2cada9a19a6d08cbc4311afd2b7d1abba8f
Removed unnecessary filters in SLRP tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -1543,15 +1543,9 @@ TEST_F(StorageLocalResourceProviderTest, AgentRegisteredWithNewId)\nstd::bind(isMountDisk<Resource>, lambda...
C++
Apache License 2.0
apache/mesos
Removed unnecessary filters in SLRP tests. Review: https://reviews.apache.org/r/69403/
46,053
05.03.2019 15:00:53
28,800
c6f3334c43e95f6486942256f77ed2aa926c4d1b
Added `unconfined` flag to `SeccompInfo` message. This patch introduces `unconfined` flag that can be used by a framework to explicitly disable Seccomp filtering for a particular container. Review:
[ { "change_type": "MODIFY", "old_path": "docs/isolators/linux-seccomp.md", "new_path": "docs/isolators/linux-seccomp.md", "diff": "@@ -53,4 +53,6 @@ sudo mesos-agent --master=<master ip> --ip=<agent ip>\nIn order for a Mesos task to override the agent's default Seccomp profile,\nit should declare the...
C++
Apache License 2.0
apache/mesos
Added `unconfined` flag to `SeccompInfo` message. This patch introduces `unconfined` flag that can be used by a framework to explicitly disable Seccomp filtering for a particular container. Review: https://reviews.apache.org/r/70108/
46,053
05.03.2019 15:00:56
28,800
549068ae3666794cce9b3f19ffe4629a0acaaddd
Added logging for `linux/seccomp` isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/linux/seccomp.cpp", "new_path": "src/slave/containerizer/mesos/isolators/linux/seccomp.cpp", "diff": "@@ -86,6 +86,9 @@ Future<Option<ContainerLaunchInfo>> LinuxSeccompIsolatorProcess::prepare(\n{\nOption<ContainerSeccom...
C++
Apache License 2.0
apache/mesos
Added logging for `linux/seccomp` isolator. Review: https://reviews.apache.org/r/70114/
46,153
05.03.2019 23:52:59
-3,600
fe5a294b2c7312e40c32b0ad5cee5cd94c79b9fd
Added getting started using the Mesos binaries. Adds informations on how to quickly setup Mesos from RPMs. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/binary-packages.md", "diff": "+---\n+title: Apache Mesos - Getting started using Binaries.\n+layout: documentation\n+---\n+\n+# Binary Packages\n+\n+## Downloading the Mesos RPM\n+\n+Download and install the latest stable RPM binary from th...
C++
Apache License 2.0
apache/mesos
Added getting started using the Mesos binaries. Adds informations on how to quickly setup Mesos from RPMs. Review: https://reviews.apache.org/r/65116/
46,129
05.03.2019 21:56:48
28,800
8101febb2a3500698e39c227c464a1bfe2797420
Fixed 1.5.3 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -929,17 +929,37 @@ All Resolved Issues:\n* [MESOS-8291] - Add documentation about fault domains\n-Release Notes - Mesos - Version 1.5.3 (WIP)\n+Release Notes - Mesos - Version 1.5.4 (WIP)\n----------------------...
C++
Apache License 2.0
apache/mesos
Fixed 1.5.3 CHANGELOG.
46,087
05.03.2019 22:35:43
28,800
50167a73bd53884b11330b2598d220f71aef7c17
Improved isolation for slave tests. Improved isolation of the `SlaveTest` fixture so it won't pick up containers from another running Mesos instance on the same host when running as root. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -158,7 +158,7 @@ namespace tests {\n// that seem vaguely more slave than master-related are in this file.\n// The others are in \"master_tests.cpp\".\n-class SlaveTest : public Me...
C++
Apache License 2.0
apache/mesos
Improved isolation for slave tests. Improved isolation of the `SlaveTest` fixture so it won't pick up containers from another running Mesos instance on the same host when running as root. Review: https://reviews.apache.org/r/70135/
46,210
06.03.2019 18:07:36
-3,600
84b8578b9fd8bbd6a7f4a73dc793d3db8894d747
Assured a set USER within RPM build. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/build_rpm.sh", "new_path": "support/packaging/centos/build_rpm.sh", "diff": "@@ -26,6 +26,7 @@ make_dist() {\nTMP_BUILD_DIR=`mktemp -d ./mesos-centos-rpm-build-XXXX`\npushd $TMP_BUILD_DIR\n+ export USER=${USER:-centos}\n$MESOS_DIR/conf...
C++
Apache License 2.0
apache/mesos
Assured a set USER within RPM build. Review: https://reviews.apache.org/r/70049/
46,057
06.03.2019 18:17:21
-3,600
4015ed95581f308a34138e3a8e0ca9e2c3bf451f
Added Andrei Sekretenko to 'contributors.yaml'. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: abudnik\nreviewboard_user: abudnik\n+- name: Andrei Sekretenko\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - asekretenko@mesosphere.com\n+ jira_user: asekrete...
C++
Apache License 2.0
apache/mesos
Added Andrei Sekretenko to 'contributors.yaml'. This closes #325.
46,056
05.03.2019 23:31:05
-3,600
8a00a0ad6e8896358c8ecca776cd10535e1dec56
Added a comment around recovery for `ContainerLogger`s. `ContainerLogger` interface does not currently use a "prepare-recover-cleanup" pattern and hence neither allows stateful loggers nor provides synchronization on container termination. Capture this in a comment to the interface. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/container_logger.hpp", "new_path": "include/mesos/slave/container_logger.hpp", "diff": "@@ -43,8 +43,17 @@ namespace slave {\n* The `ContainerLogger` is responsible for handling the stdout/stderr of\n* containers.\n*\n- * The container logg...
C++
Apache License 2.0
apache/mesos
Added a comment around recovery for `ContainerLogger`s. `ContainerLogger` interface does not currently use a "prepare-recover-cleanup" pattern and hence neither allows stateful loggers nor provides synchronization on container termination. Capture this in a comment to the interface. Review: https://reviews.apache.org...
46,148
06.03.2019 11:02:48
28,800
539841088a074b558a636a8e235f0f69f97b037f
Added documentation regarding downgrading a Mesos cluster. The list of minimum capabilities is empty on purpose, as no downgrade-blocking capabilities have been added yet. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/downgrades.md", "diff": "+---\n+title: Apache Mesos - Downgrade Compatibility\n+layout: documentation\n+---\n+\n+# Downgrade Mesos\n+\n+This document serves as a guide for users who wish to downgrade from an\n+existing Mesos cluster to a pr...
C++
Apache License 2.0
apache/mesos
Added documentation regarding downgrading a Mesos cluster. The list of minimum capabilities is empty on purpose, as no downgrade-blocking capabilities have been added yet. Review: https://reviews.apache.org/r/70077/
46,103
02.03.2019 16:20:49
-3,600
a98e7386abe195ac34631efb40167db872efe44d
Added license header to some Python source files. Review:
[ { "change_type": "MODIFY", "old_path": "mpi/mpiexec-mesos.py", "new_path": "mpi/mpiexec-mesos.py", "diff": "#!/usr/bin/env python\n+# 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 addition...
C++
Apache License 2.0
apache/mesos
Added license header to some Python source files. Review: https://reviews.apache.org/r/70093
46,103
02.03.2019 16:21:34
-3,600
9d0817f960f4434254b0c744761c47249fea04b1
Fixed garbled license header. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/appc/fetcher.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/appc/fetcher.cpp", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the ...
C++
Apache License 2.0
apache/mesos
Fixed garbled license header. Review: https://reviews.apache.org/r/70094
46,210
07.03.2019 01:29:59
-3,600
16dd67469f93fee95642e7cad00bdf128aa6da49
Fixed build specific artefact generation.
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -2829,7 +2829,7 @@ git_config=src/common/git_version.hpp\nAC_MSG_CHECKING([${git_config} presence])\n-AS_IF([test -f ${git_config}], [AC_MSG_RESULT([yes])], [\n+AS_IF([test -f ${srcdir}/${git_config} || te...
C++
Apache License 2.0
apache/mesos
Fixed build specific artefact generation.
46,056
07.03.2019 11:31:41
-3,600
4701b64400937d9f3b69d51516551b01c244aa6a
Updated install instructions for CentOS 6.6.
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -157,6 +157,8 @@ Following are the instructions for stock CentOS 6.6. If you are using a differen\n$ sudo yum groupinstall -y \"Development Tools\"\n# Install 'devtoolset-2-toolchain' which include...
C++
Apache License 2.0
apache/mesos
Updated install instructions for CentOS 6.6.
46,103
02.03.2019 22:29:47
-3,600
bb75f8234e0082deb826c60b74916f856edaced0
Parameterized cpplint extension list via config instead of via patch. With this patch we also restrict cpplint to only examine source files with extension `.cpp` or `.hpp` which covers all Mesos C++ source files. Review:
[ { "change_type": "MODIFY", "old_path": "support/cpplint.py", "new_path": "support/cpplint.py", "diff": "@@ -590,7 +590,7 @@ _line_length = 80\n# The allowed extensions for file names\n# This is set by --extensions flag.\n-_valid_extensions = set(['cc', 'h', 'cpp', 'cu', 'cuh', 'hpp'])\n+_valid_exten...
C++
Apache License 2.0
apache/mesos
Parameterized cpplint extension list via config instead of via patch. With this patch we also restrict cpplint to only examine source files with extension `.cpp` or `.hpp` which covers all Mesos C++ source files. Review: https://reviews.apache.org/r/70099
46,103
02.03.2019 22:52:18
-3,600
33261e832ef2515e7845a4c7a9232be7b58f3921
Skipped pylint for cpplint.py via config instead of via patch. Review:
[ { "change_type": "MODIFY", "old_path": "support/cpplint.py", "new_path": "support/cpplint.py", "diff": "@@ -52,7 +52,6 @@ In particular, we can get very confused by /* and // inside strings!\nWe do a small hack, which is to ignore //'s with \"'s after them on the\nsame line, but it is far from perfe...
C++
Apache License 2.0
apache/mesos
Skipped pylint for cpplint.py via config instead of via patch. Review: https://reviews.apache.org/r/70100
46,103
02.03.2019 22:22:55
-3,600
cd6b2a863e32e0856f8801397e3f685e2e7b0cc8
Removed manual author list in patched cpplint. Review:
[ { "change_type": "MODIFY", "old_path": "support/cpplint.py", "new_path": "support/cpplint.py", "diff": "# review the currently made changes please perform a diff against the\n# specific upstream version.\n-# Modified by Adam B (adam@mesosphere.io) to handle hpp files.\n-# Modified by Avinash S (avin...
C++
Apache License 2.0
apache/mesos
Removed manual author list in patched cpplint. Review: https://reviews.apache.org/r/70101
46,103
02.03.2019 22:41:29
-3,600
a48cfe1e53cc75501679e63b2622bbf719b5aaf4
Moved NULL check from cpplint into clang-tidy. Review:
[ { "change_type": "MODIFY", "old_path": "support/clang-tidy", "new_path": "support/clang-tidy", "diff": "@@ -29,6 +29,7 @@ mesos-*,\\\n\\\nmisc-use-after-move,\\\n\\\n+modernize-use-nullptr,\\\nmodernize-use-override,\\\n\\\nreadability-redundant-string-cstr\\\n" }, { "change_type": "MODIFY",...
C++
Apache License 2.0
apache/mesos
Moved NULL check from cpplint into clang-tidy. Review: https://reviews.apache.org/r/70102
46,177
07.03.2019 14:39:53
28,800
792f01f37be73975b444b08df5a93b4d788e007a
Added ARCHIVE_EXTRACT_SECURE_NODOTDOT flag to archiver default. This enables a security flag provided by libarchive, which disallows extraction of archives that contain '..' in hardlinks or files. Without this flag, it is possible to provide the archiver with an archive and overwrite arbitrary files in the user's paren...
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/archiver.hpp", "new_path": "3rdparty/stout/include/stout/archiver.hpp", "diff": "@@ -40,7 +40,7 @@ namespace archiver {\ninline Try<Nothing> extract(\nconst std::string& source,\nconst std::string& destination,\n- const int flags =...
C++
Apache License 2.0
apache/mesos
Added ARCHIVE_EXTRACT_SECURE_NODOTDOT flag to archiver default. This enables a security flag provided by libarchive, which disallows extraction of archives that contain '..' in hardlinks or files. Without this flag, it is possible to provide the archiver with an archive and overwrite arbitrary files in the user's pare...
46,055
07.03.2019 16:41:55
28,800
dab956171f10d138388262dcc357ee311601839a
Added two metrics for volume gid manager. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -1601,6 +1601,20 @@ the agent and their current usage.\n<td>Allocated revocable memory in MB</td>\n<td>Gauge</td>\n</tr>\n+<tr>\n+ <td>\n+ <code>volume_gid_manager/volume_gids_total</code>\n+ <...
C++
Apache License 2.0
apache/mesos
Added two metrics for volume gid manager. Review: https://reviews.apache.org/r/70112/
46,055
07.03.2019 16:41:56
28,800
848c622bef15c0f2aa9d3ea9cb30bae401ea7ca7
Verified volume gid manager's metrics in the related tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "diff": "@@ -65,6 +65,16 @@ using mesos::master::detector::MasterDetector;\nusing mesos::slave::ContainerTermination;\nusin...
C++
Apache License 2.0
apache/mesos
Verified volume gid manager's metrics in the related tests. Review: https://reviews.apache.org/r/70113/
46,055
07.03.2019 16:42:09
28,800
0293cc2d4ce25b113b4f1b8a34b34a0655132f9b
Made volume gid manager allocate & deallocate gid to non-shared PV. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/filesystem/linux.cpp", "new_path": "src/slave/containerizer/mesos/isolators/filesystem/linux.cpp", "diff": "@@ -878,14 +878,13 @@ Future<Nothing> LinuxFilesystemIsolatorProcess::update(\n// changes about the volume's own...
C++
Apache License 2.0
apache/mesos
Made volume gid manager allocate & deallocate gid to non-shared PV. Review: https://reviews.apache.org/r/70137/
46,055
07.03.2019 16:42:13
28,800
7d78aab8ee3d6047979617a4c18b1c7f05e1317a
Replaced reading mounttable with getting path gid in volume gid manager. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/volume_gid_manager/volume_gid_manager.cpp", "new_path": "src/slave/volume_gid_manager/volume_gid_manager.cpp", "diff": "@@ -262,37 +262,28 @@ public:\nLOG(INFO) << \"Use the allocated gid \" << gid << \" of the volume path '\"\n<< path << \"'\";\n} e...
C++
Apache License 2.0
apache/mesos
Replaced reading mounttable with getting path gid in volume gid manager. Review: https://reviews.apache.org/r/70138/
46,055
07.03.2019 16:42:14
28,800
d0e13dd928b57ea6d8447b9b428487d2fc28380a
Updated ROOT_UNPRIVILEGED_USER_PersistentVolumes to cover non-shared PV. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "diff": "@@ -1318,10 +1318,10 @@ TEST_F(LinuxFilesystemIsolatorMesosTest,\n}\n-// This test verifies that a command task la...
C++
Apache License 2.0
apache/mesos
Updated ROOT_UNPRIVILEGED_USER_PersistentVolumes to cover non-shared PV. Review: https://reviews.apache.org/r/70139/
46,055
07.03.2019 16:42:16
28,800
a5b9f6e1cdb2ec26baf6e49706e1a0d59f3ce4d1
Updated UNPRIVILEGED_USER_PersistentVolumes to cover non-shared PV. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -2510,11 +2510,11 @@ TEST_P(PersistentVolumeTest, SharedPersistentVolumeMultipleFrameworks)\n// This test verifies that a command task launched with a non-...
C++
Apache License 2.0
apache/mesos
Updated UNPRIVILEGED_USER_PersistentVolumes to cover non-shared PV. Review: https://reviews.apache.org/r/70140/
46,055
08.03.2019 13:30:58
28,800
40abcefab4f2887e61786365b46bc22155a2d1ff
Added test `VolumeGidManagerTest.ROOT_UNPRIVILEGED_USER_SlaveReboot`. This patch also moves `volume_gid_manager_tests.cpp` to `src/tests`. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2613,6 +2613,7 @@ mesos_tests_SOURCES = \\\ntests/utils.cpp \\\ntests/utils.hpp \\\ntests/values_tests.cpp \\\n+ tests/volume_gid_manager_tests.cpp \\\ntests/zookeeper.hpp \\\ntests/zookeeper_test_s...
C++
Apache License 2.0
apache/mesos
Added test `VolumeGidManagerTest.ROOT_UNPRIVILEGED_USER_SlaveReboot`. This patch also moves `volume_gid_manager_tests.cpp` to `src/tests`. Review: https://reviews.apache.org/r/70166/
46,148
04.03.2019 13:54:22
28,800
f412473b7a04778dce0485f6926e5eba9323c551
Added rvalue overload for `Result::get()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/result.hpp", "new_path": "3rdparty/stout/include/stout/result.hpp", "diff": "#include <iostream>\n#include <string>\n+#include <utility>\n#include <stout/abort.hpp>\n#include <stout/error.hpp>\n@@ -112,31 +113,35 @@ public:\nbool i...
C++
Apache License 2.0
apache/mesos
Added rvalue overload for `Result::get()`. Review: https://reviews.apache.org/r/70123
46,148
08.03.2019 17:36:52
28,800
f6b17e447b3d816cd64f5a9b88fb7e81f42c85b9
Added `Try` constructors from `_Some`. This is necessary in cases such as constructing `Result<T>` from `T`: ``` Result(const T& _t) : data(Some(_t)) {} ``` to avoid unnecessary implicit conversions and copies. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/try.hpp", "new_path": "3rdparty/stout/include/stout/try.hpp", "diff": "@@ -55,6 +55,12 @@ public:\nTry(T&& t)\n: data(Some(std::move(t))) {}\n+ template <typename U>\n+ Try(const _Some<U>& some) : data(some) {}\n+\n+ template <type...
C++
Apache License 2.0
apache/mesos
Added `Try` constructors from `_Some`. This is necessary in cases such as constructing `Result<T>` from `T`: ``` Result(const T& _t) : data(Some(_t)) {} ``` to avoid unnecessary implicit conversions and copies. Review: https://reviews.apache.org/r/70171
46,148
27.02.2019 08:53:51
28,800
0dc24dba9afdca1948eea5cad05f861162dc8dd6
Added star operator for `Result`, `Try` and `Option`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/option.hpp", "new_path": "3rdparty/stout/include/stout/option.hpp", "diff": "#include <algorithm>\n#include <functional>\n#include <type_traits>\n+#include <utility>\n#include <boost/functional/hash.hpp>\n@@ -123,6 +124,11 @@ publi...
C++
Apache License 2.0
apache/mesos
Added star operator for `Result`, `Try` and `Option`. Review: https://reviews.apache.org/r/70067
46,148
12.03.2019 17:46:37
25,200
98597edb0eaf4ac7c1227c4573a9f005c7d55342
Replaced `.get().get()` with `**` in `result.hpp`. Besides readability, this also avoids the lint warning. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/result.hpp", "new_path": "3rdparty/stout/include/stout/result.hpp", "diff": "@@ -132,7 +132,7 @@ private:\n// This is made static to decouple us from the `const` qualifier of `this`.\ntemplate <typename Self>\nstatic auto get(Self&...
C++
Apache License 2.0
apache/mesos
Replaced `.get().get()` with `**` in `result.hpp`. Besides readability, this also avoids the lint warning. Review: https://reviews.apache.org/r/70199
46,128
13.03.2019 11:11:41
25,200
85581157615351fb891fe1b0d25f20d918e6aedf
Updated protobuf comments related to operation feedback. While the `id` field in `Offer::Operation` was previously marked experimental, it is also wise to explicitly mark the related scheduler API calls and events as experimental to avoid any confusion. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2124,9 +2124,9 @@ message Offer {\noptional Type type = 1;\n- // NOTE: The `id` field will allow frameworks to indicate that they wish to\n- // receive feedback about an operatio...
C++
Apache License 2.0
apache/mesos
Updated protobuf comments related to operation feedback. While the `id` field in `Offer::Operation` was previously marked experimental, it is also wise to explicitly mark the related scheduler API calls and events as experimental to avoid any confusion. Review: https://reviews.apache.org/r/70186/
46,129
15.03.2019 14:51:05
25,200
1f03f6ba46607bd676c4524e6278d329f20ddb9f
Fixed the seccomp default profile link in documentation.
[ { "change_type": "MODIFY", "old_path": "docs/isolators/linux-seccomp.md", "new_path": "docs/isolators/linux-seccomp.md", "diff": "@@ -15,7 +15,7 @@ mechanism for filtering of certain system calls. Seccomp requires Linux kernel\nSeccomp filter is defined by a Seccomp profile which must be compatible ...
C++
Apache License 2.0
apache/mesos
Fixed the seccomp default profile link in documentation.
46,148
18.03.2019 11:23:24
25,200
0d5695a9445d37dbaef52b1d3f423d12bdf2b825
Fixed 1.7.3 CHANGELOG for
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -24,6 +24,8 @@ Release Notes - Mesos - Version 1.7.3 (WIP)\n* [MESOS-9568] - SLRP does not clean up mount directories for destroyed MOUNT disks.\n* [MESOS-9607] - Removing a resource provider with consumers brea...
C++
Apache License 2.0
apache/mesos
Fixed 1.7.3 CHANGELOG for MESOS-8880.