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,148
12.03.2019 15:25:25
25,200
393f39dd8ea49d0d70e2ca562d8e0a2ab88d5238
Added `>`, `<` and `>=` operators to `Value::Scalar`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/values.hpp", "new_path": "include/mesos/v1/values.hpp", "diff": "@@ -28,7 +28,10 @@ namespace v1 {\nstd::ostream& operator<<(std::ostream& stream, const Value::Scalar& scalar);\nbool operator==(const Value::Scalar& left, const Value::Scalar& r...
C++
Apache License 2.0
apache/mesos
Added `>`, `<` and `>=` operators to `Value::Scalar`. Review: https://reviews.apache.org/r/70148
46,148
12.03.2019 16:08:59
25,200
f9d473f36d9983e6d4cdc83e05bba770e5db3451
Improved `ResourceQuantities` test's readability. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_quantities_tests.cpp", "new_path": "src/tests/resource_quantities_tests.cpp", "diff": "@@ -38,31 +38,37 @@ namespace internal {\nnamespace tests {\n+static vector<pair<string, double>> toVector(\n+ const ResourceQuantities& quantities)\n+{\n...
C++
Apache License 2.0
apache/mesos
Improved `ResourceQuantities` test's readability. Review: https://reviews.apache.org/r/70069
46,148
26.02.2019 16:52:27
28,800
75b3637445c26e73f130a1566c4d101cda374b2e
Added test for `ResourceQuantities` arithmetic operations. Added tests for `+=` and `-=` operators. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_quantities_tests.cpp", "new_path": "src/tests/resource_quantities_tests.cpp", "diff": "@@ -148,6 +148,103 @@ TEST(QuantitiesTest, FromScalarResources)\n}\n+TEST(QuantitiesTest, Addition)\n+{\n+ // Empty quantity:\n+ // \"cpus:10\" + [ ] = \"...
C++
Apache License 2.0
apache/mesos
Added test for `ResourceQuantities` arithmetic operations. Added tests for `+=` and `-=` operators. Review: https://reviews.apache.org/r/70063
46,148
12.03.2019 15:26:26
25,200
22152e48d8adfb60d714bcd4dc8b918ecc1db8a9
Added a `contains` method in `ResourceQuantities`. The method checks if the ResourceQuantities object contains another ResourceQuantities. Also added tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -139,6 +139,42 @@ Value::Scalar ResourceQuantities::get(const string& name) const\n}\n+bool ResourceQuantities::contains(const ResourceQuantities& right) const\n...
C++
Apache License 2.0
apache/mesos
Added a `contains` method in `ResourceQuantities`. The method checks if the ResourceQuantities object contains another ResourceQuantities. Also added tests. Review: https://reviews.apache.org/r/70149
46,148
06.03.2019 15:17:47
28,800
4ca29aca090d68c96d41ba4be8b3dc02a2b4cedc
Replaced a constructor in `ResourceQuantities`. The constructor constructs `ResourceQuantities` from `google::protobuf::Map<std::string, Value::Scalar>`. It replaces one of the current constructors that takes in `OfferFilters::ResourceQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -96,11 +96,11 @@ ResourceQuantities::ResourceQuantities()\nResourceQuantities::ResourceQuantities(\n- const OfferFilters::ResourceQuantities& quantities)\n+ cons...
C++
Apache License 2.0
apache/mesos
Replaced a constructor in `ResourceQuantities`. The constructor constructs `ResourceQuantities` from `google::protobuf::Map<std::string, Value::Scalar>`. It replaces one of the current constructors that takes in `OfferFilters::ResourceQuantities`. Review: https://reviews.apache.org/r/70150
46,148
06.03.2019 17:52:50
28,800
4371ea211bf00d0ea8b9fd8104259fec6f65a133
Added tests for `ResourceLimits`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_quantities_tests.cpp", "new_path": "src/tests/resource_quantities_tests.cpp", "diff": "@@ -289,6 +289,146 @@ TEST(QuantitiesTest, Contains)\n}\n+static vector<pair<string, double>> toVector(\n+ const ResourceLimits& limits)\n+{\n+ vector<pai...
C++
Apache License 2.0
apache/mesos
Added tests for `ResourceLimits`. Review: https://reviews.apache.org/r/70152
46,148
12.03.2019 19:06:49
25,200
00dae795c477f8bc2afad9a596263326ed3edd49
Added a method to check `ResourceLimits::contains(ResourceQuantities)`. Also added tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -412,6 +412,20 @@ bool ResourceLimits::contains(const ResourceLimits& right) const\n}\n+bool ResourceLimits::contains(const ResourceQuantities& quantities) const...
C++
Apache License 2.0
apache/mesos
Added a method to check `ResourceLimits::contains(ResourceQuantities)`. Also added tests. Review: https://reviews.apache.org/r/70201
46,148
22.02.2019 11:10:25
28,800
dd62817372fad7c8883515cef2797bfee2c58fc5
Updated `UPDATE_QUOTA` call with a new schema. A new message `QuotaConfig` is introduced to describe a role's quota configuration. It uses name-value pairs to specify resources in the quota. This will replace the existing `QuotaInfo` message in APIs and registries. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -229,10 +229,14 @@ message Call {\n//\n// This feature is not implementation complete.\n//\n- // Updates quota given the provided requests, the requests are\n- // ...
C++
Apache License 2.0
apache/mesos
Updated `UPDATE_QUOTA` call with a new schema. A new message `QuotaConfig` is introduced to describe a role's quota configuration. It uses name-value pairs to specify resources in the quota. This will replace the existing `QuotaInfo` message in APIs and registries. Review: https://reviews.apache.org/r/70159
46,148
07.03.2019 22:58:56
28,800
4fd5978796cd30d08867534c478deaeac24b8664
Added `<<` operator to `protobuf::Map`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -530,6 +530,23 @@ inline bool operator!=(\n}\n+template <typename Key, typename Value>\n+inline std::ostream& operator<<(\n+ std::ostream& stream, const Map<Key, Value>& map...
C++
Apache License 2.0
apache/mesos
Added `<<` operator to `protobuf::Map`. Review: https://reviews.apache.org/r/70160
46,148
11.03.2019 13:32:56
25,200
c8170fad123c22b531bfb90c8bac294848d36ea2
Added validation method for input scalar values. The method validates the input scalar values to be non-negative normal values ("normal" as defined by `std::fpclassify`). Also refactored some related validation logic and tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/validation.cpp", "new_path": "src/common/validation.cpp", "diff": "@@ -626,27 +626,40 @@ Option<Error> validateOfferFilters(const OfferFilters& offerFilters)\nreturn Error(\"Resource quantities must contain at least one quantity\");\n}\n- // Use `au...
C++
Apache License 2.0
apache/mesos
Added validation method for input scalar values. The method validates the input scalar values to be non-negative normal values ("normal" as defined by `std::fpclassify`). Also refactored some related validation logic and tests. Review: https://reviews.apache.org/r/70198
46,148
07.03.2019 23:07:54
28,800
59f32c8807c2d477fb36334addcc3ce4d49e5d8d
Added validation for `QuotaConfig`. A `QuotaConfig` is valid if the following conditions are met: (1) The config has a valid non-"*" role. (2) Resource scalar values are non-negative and finite. (3) If both guarantees and limits are set for a particular resource, then guarantee <= limit for that resource. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/quota.cpp", "new_path": "src/master/quota.cpp", "diff": "#include <stout/option.hpp>\n#include <stout/set.hpp>\n+#include \"common/resource_quantities.hpp\"\n#include \"common/resources_utils.hpp\"\n+#include \"common/validation.hpp\"\n+using google...
C++
Apache License 2.0
apache/mesos
Added validation for `QuotaConfig`. A `QuotaConfig` is valid if the following conditions are met: (1) The config has a valid non-"*" role. (2) Resource scalar values are non-negative and finite. (3) If both guarantees and limits are set for a particular resource, then guarantee <= limit for that resource. ...
46,148
12.03.2019 23:35:40
25,200
4625d007a5daf0a8cd92bca95f28a57a782401dc
Added call handler for `UPDATE_QUOTA`. The current implementation is incomplete and only does call validation. It returns 501 `NOT_IMPLEMENTED`. Further work includes authorization and actual enforcement of the quota in the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -1166,6 +1166,11 @@ private:\nconst Option<process::http::authentication::Principal>&\nprincipal) const;\n+ process::Future<process::http::Response> update(\n+ const mesos::master::Call& ...
C++
Apache License 2.0
apache/mesos
Added call handler for `UPDATE_QUOTA`. The current implementation is incomplete and only does call validation. It returns 501 `NOT_IMPLEMENTED`. Further work includes authorization and actual enforcement of the quota in the allocator. Review: https://reviews.apache.org/r/70202
46,148
12.03.2019 23:30:12
25,200
2a22035a1595837d215468859713281aa6dfb279
Updated a test for `UPDATE_QUOTA` call validation. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "using namespace mesos::internal::master::validation;\n+using google::protobuf::Map;\nusing google::protobuf::RepeatedPtrField;\nusing mesos::internal::master:...
C++
Apache License 2.0
apache/mesos
Updated a test for `UPDATE_QUOTA` call validation. Review: https://reviews.apache.org/r/70203
46,129
19.03.2019 00:28:48
25,200
15ddab8eda31e313f81cb019c22fbeb80ff6bcd1
Added a blog post for 1.5.3 release.
[ { "change_type": "ADD", "old_path": null, "new_path": "site/source/blog/2019-03-19-mesos-1-5-3-released.md", "diff": "+---\n+layout: post\n+title: Apache Mesos 1.5.3 Released\n+permalink: /blog/mesos-1-5-3-released/\n+published: true\n+post_author:\n+ display_name: Gilbert Song\n+ gravatar: 05d3596c...
C++
Apache License 2.0
apache/mesos
Added a blog post for 1.5.3 release.
46,129
19.03.2019 00:42:00
25,200
e95dca42156cb27b117d687af7f75605f0ebb650
Added 1.5.3 blog post to release.yml.
[ { "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.5.3 is released!\n+ date: March 19, 2019\n+ target_version: 1.5.3\n+ blog: me...
C++
Apache License 2.0
apache/mesos
Added 1.5.3 blog post to release.yml.
46,057
19.03.2019 18:52:43
-3,600
d6c68d883b7094c12f62063ad28c7ecd0eae5d6f
Displayed error message on resource validation failures. When pushing a reservation, the validation code would not print the error that caused validation to fail. This could result in developers scratching their heads in confusion. Review:
[ { "change_type": "MODIFY", "old_path": "src/v1/resources.cpp", "new_path": "src/v1/resources.cpp", "diff": "@@ -1728,7 +1728,10 @@ Resources Resources::pushReservation(\nresourcesNoMutationWithoutExclusiveOwnership) {\nResource_ r_ = *resource_;\nr_.resource.add_reservations()->CopyFrom(reservation)...
C++
Apache License 2.0
apache/mesos
Displayed error message on resource validation failures. When pushing a reservation, the validation code would not print the error that caused validation to fail. This could result in developers scratching their heads in confusion. Review: https://reviews.apache.org/r/70206/
46,057
19.03.2019 19:07:11
-3,600
20f9702bddd43c5f744af34941888f08949338d8
Added Benno Evers to the committers list.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -93,6 +93,13 @@ canonical list is located on\n<td>idownes</td>\n<td>idownes@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+1</td>\n+ <td>Benno Evers</td>\n+ <td>Mesosphere</td>\n+ <td></td>\n+ <td>benn...
C++
Apache License 2.0
apache/mesos
Added Benno Evers to the committers list.
46,128
20.03.2019 11:58:28
25,200
b88828e5452ea54a99654587075a6bfa9ee11534
Added test for reconciliation of multiple operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -211,6 +211,147 @@ TEST_P(OperationReconciliationTest, PendingOperation)\n}\n+// This test ensures that the master responds to a reconciliati...
C++
Apache License 2.0
apache/mesos
Added test for reconciliation of multiple operations. Review: https://reviews.apache.org/r/70208/
46,128
20.03.2019 11:58:30
25,200
4580834471fb3bc0b95e2b96e04a63d34faef724
Updated operation feedback documentation. This patch updates the operation feedback documentation to reflect API changes from Review:
[ { "change_type": "MODIFY", "old_path": "docs/reconciliation.md", "new_path": "docs/reconciliation.md", "diff": "@@ -139,16 +139,17 @@ Operation reconciliation is similar to task reconciliation in that the scheduler\ncan perform either explicit or implicit reconciliation by specifying particular\nope...
C++
Apache License 2.0
apache/mesos
Updated operation feedback documentation. This patch updates the operation feedback documentation to reflect API changes from MESOS-9648. Review: https://reviews.apache.org/r/70221/
46,057
25.03.2019 10:51:32
-3,600
393a020711a6f6bed436d013ad48cc5f319deb7b
Clarified timeline for advanced contributions. The previous wording heavily implied some automation that would update JIRA on every change to `contributors.yaml`. This commit clarifies that account status changes require manual action by an administrator. Review:
[ { "change_type": "MODIFY", "old_path": "docs/advanced-contribution.md", "new_path": "docs/advanced-contribution.md", "diff": "@@ -43,7 +43,7 @@ Here is the standard procedure for proposing and making changes to Mesos:\n3. Issues marked with the \"[newbie](https://issues.apache.org/jira/browse/MESOS-...
C++
Apache License 2.0
apache/mesos
Clarified timeline for advanced contributions. The previous wording heavily implied some automation that would update JIRA on every change to `contributors.yaml`. This commit clarifies that account status changes require manual action by an administrator. Review: https://reviews.apache.org/r/70293
46,057
25.03.2019 13:17:00
-3,600
aa0080e8ac76c771f2604c5ecbf28d53df151cfe
Updated advanced contributing guide. Removed the instruction to create a reviewboard account from the advanced contributing guide, since this instruction became impossible to follow for contributors. Review:
[ { "change_type": "MODIFY", "old_path": "docs/advanced-contribution.md", "new_path": "docs/advanced-contribution.md", "diff": "@@ -19,7 +19,12 @@ If you'd like to make significant contributions to Mesos, then you'll want to be\n## Issue Tracking, Code Review, and Mailing Lists\n* We use [Apache Softw...
C++
Apache License 2.0
apache/mesos
Updated advanced contributing guide. Removed the instruction to create a reviewboard account from the advanced contributing guide, since this instruction became impossible to follow for contributors. Review: https://reviews.apache.org/r/70129/
46,165
19.03.2019 16:27:45
14,400
4a24858dfc9eab5b306ce56b41dda21250000aaf
Eliminate a copy of the master's quota during quota validation. Rather than copying the quota map, QuotaTree also supports insertion of each entry. This allows us to insert each entry while ensuring that the mutated role gets inserted with the new value. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/quota_handler.cpp", "new_path": "src/master/quota_handler.cpp", "diff": "@@ -545,15 +545,19 @@ Future<http::Response> Master::QuotaHandler::_set(\n\" for role '\" + quotaInfo.role() + \"' which already has quota\");\n}\n- hashmap<string, Quota> quot...
C++
Apache License 2.0
apache/mesos
Eliminate a copy of the master's quota during quota validation. Rather than copying the quota map, QuotaTree also supports insertion of each entry. This allows us to insert each entry while ensuring that the mutated role gets inserted with the new value. Review: https://reviews.apache.org/r/70272
46,165
21.03.2019 22:27:33
14,400
e568de739badb296f8c0c5683e1d903de456d9c8
Added an << operator for ResourceQuantities. This follows the same output format as Resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <ostream>\n#include <string>\n#include <vector>...
C++
Apache License 2.0
apache/mesos
Added an << operator for ResourceQuantities. This follows the same output format as Resources. Review: https://reviews.apache.org/r/70278
46,177
25.03.2019 15:41:19
25,200
0635d234e0bd6589bba3c75f1c580990abfc0f73
Added to the 1.6.3 and 1.7.3 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -21,6 +21,7 @@ Release Notes - Mesos - Version 1.7.3 (WIP)\n** Bug\n* [MESOS-9507] - Agent could not recover due to empty docker volume checkpointed files.\n* [MESOS-9549] - nvidia/cuda 10 does not work on GPU i...
C++
Apache License 2.0
apache/mesos
Added MESOS-9564 to the 1.6.3 and 1.7.3 CHANGELOG.
46,148
21.03.2019 17:24:55
25,200
f30c68b73544a6799aa134117d2f931170a377ec
Removed a lambda to simplify `__allocate()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1632,20 +1632,6 @@ void HierarchicalAllocatorProcess::__allocate()\n// TODO(vinod): Implement a smarter sorting algorithm.\nstd::random_shuffl...
C++
Apache License 2.0
apache/mesos
Removed a lambda to simplify `__allocate()`. Review: https://reviews.apache.org/r/70266
46,148
21.03.2019 17:38:31
25,200
b8406c273c1ca25b02390c68816490b6fb7fbe41
Added more arithmetic operations in class `ResourceQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -253,6 +253,24 @@ ResourceQuantities& ResourceQuantities::operator-=(\n}\n+ResourceQuantities ResourceQuantities::operator+(\n+ const ResourceQuantities& right) ...
C++
Apache License 2.0
apache/mesos
Added more arithmetic operations in class `ResourceQuantities`. Review: https://reviews.apache.org/r/70267
46,148
21.03.2019 19:07:48
25,200
294b70a2190f01952f7ec6f542c60999373ea0fc
Removed `limits` from `QuotaInfo` and `QuotaRequest` protobuf. `Limits` was added as an experimental field and the related calls were not implementation complete. `QuotaConfig` has been added where limits can be specified. This patch cleans up the experimental field and related validation and tests. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/quota/quota.proto", "new_path": "include/mesos/quota/quota.proto", "diff": "@@ -31,7 +31,6 @@ message QuotaInfo {\noptional string role = 1;\noptional string principal = 2;\nrepeated Resource guarantee = 3;\n- repeated Resource limit = 4;\n}\n@@ ...
C++
Apache License 2.0
apache/mesos
Removed `limits` from `QuotaInfo` and `QuotaRequest` protobuf. `Limits` was added as an experimental field and the related calls were not implementation complete. `QuotaConfig` has been added where limits can be specified. This patch cleans up the experimental field and related validation and tests. Review: https://r...
46,095
26.03.2019 13:51:49
-3,600
623fd7c6c15124b0d77af878129f3e70abaa14f7
Adding Mesoscon 2018 resources
[ { "change_type": "MODIFY", "old_path": "docs/presentations.md", "new_path": "docs/presentations.md", "diff": "@@ -6,6 +6,9 @@ layout: documentation\n# Video and Slides of Mesos Presentations\n_(Listed in reverse chronological order)_\n+## MesosCon North America 2018\n+[Video playlist](https://www.yo...
C++
Apache License 2.0
apache/mesos
Adding Mesoscon 2018 resources
46,128
26.03.2019 08:11:49
25,200
9cefcbe84afbd400c4ca47af01aeb5d504afd11b
Reordered hash definitions in the type utils. This patch reorders the hash template specializations so that they are in alphabetical order, with the specialization for a `std::pair` moved to the end so that hashes of combinations of types can be grouped together after the definitions for the individual types. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -651,191 +651,191 @@ struct hash<mesos::FrameworkID>\ntemplate <>\n-struct hash<mesos::OfferID>\n+struct hash<mesos::Image::Type>\n{\ntypedef size_t result_type;\n- typedef ...
C++
Apache License 2.0
apache/mesos
Reordered hash definitions in the type utils. This patch reorders the hash template specializations so that they are in alphabetical order, with the specialization for a `std::pair` moved to the end so that hashes of combinations of types can be grouped together after the definitions for the individual types. Review:...
46,128
26.03.2019 08:12:04
25,200
bf5ee32467093f8769c148b3af80c1838a0d3cd2
Added new operation reconciliation tests. This patch adds two new operation reconciliation tests, `OperationOnUnsubscribedProvider` and `FrameworkReconciliationRaceWithUpdateSlaveMessage`, to probe scenarios relevant to and Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <memory>\n#include <utility...
C++
Apache License 2.0
apache/mesos
Added new operation reconciliation tests. This patch adds two new operation reconciliation tests, `OperationOnUnsubscribedProvider` and `FrameworkReconciliationRaceWithUpdateSlaveMessage`, to probe scenarios relevant to MESOS-9648 and MESOS-9318. Review: https://reviews.apache.org/r/70244/
46,165
19.03.2019 16:48:28
14,400
b375d4be5fef09a083807d2e0bbb1e278fb8efcb
Refactored the quota capcity heuristic check to be a static function. This allows the capacity heuristic code to be moved up and unit tested. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -1211,8 +1211,10 @@ private:\n// * Even if there are enough resources at the moment of this check,\n// agents may terminate at any time, rendering the cluster under\n// quota.\n- Option<E...
C++
Apache License 2.0
apache/mesos
Refactored the quota capcity heuristic check to be a static function. This allows the capacity heuristic code to be moved up and unit tested. Review: https://reviews.apache.org/r/70273
46,165
19.03.2019 19:55:57
14,400
88b74435c3bf7fd1e358bdb0153ef546cac5ad07
Added a test ensuring quota capacity check includes disconnected agents. See for the change that prompted this test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_quota_tests.cpp", "new_path": "src/tests/master_quota_tests.cpp", "diff": "@@ -51,6 +51,8 @@ using google::protobuf::RepeatedPtrField;\nusing mesos::internal::master::Master;\n+using mesos::internal::master::allocator::MesosAllocatorProcess;\n...
C++
Apache License 2.0
apache/mesos
Added a test ensuring quota capacity check includes disconnected agents. See https://reviews.apache.org/r/70274 for the change that prompted this test. Review: https://reviews.apache.org/r/70275
46,165
21.03.2019 20:49:22
14,400
d682ff6577e764117f87379112083612a6f55211
Added a test to ensure quota capacity check includes reservations. This is done by statically reserving all resources on an agent and requesting quota for the same amount as the reservations. Note that the quota is not satisfiable despite passing the quota capacity check. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_quota_tests.cpp", "new_path": "src/tests/master_quota_tests.cpp", "diff": "@@ -792,6 +792,60 @@ TEST_F(MasterQuotaTest, AvailableResourcesSingleAgent)\n}\n+// Checks that the quota capacity heuristic includes\n+// reservations. This means quot...
C++
Apache License 2.0
apache/mesos
Added a test to ensure quota capacity check includes reservations. This is done by statically reserving all resources on an agent and requesting quota for the same amount as the reservations. Note that the quota is not satisfiable despite passing the quota capacity check. Review: https://reviews.apache.org/r/70277
46,165
21.03.2019 22:28:34
14,400
0c8c3c22b0bb01963da836b2d676e8bfeceec9fb
Updated quota overcommit message to include total quota and capacity. Per users would find it helpful for the quota overcommit error message to include more information about the cluster capactiy vs total quota guarantees. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/quota_handler.cpp", "new_path": "src/master/quota_handler.cpp", "diff": "@@ -220,9 +220,12 @@ Option<Error> Master::QuotaHandler::overcommitCheck(\n}\nif (!capacity.contains(totalQuota)) {\n+ // TODO(bmahler): Specialize this message based on whethe...
C++
Apache License 2.0
apache/mesos
Updated quota overcommit message to include total quota and capacity. Per MESOS-9292, users would find it helpful for the quota overcommit error message to include more information about the cluster capactiy vs total quota guarantees. Review: https://reviews.apache.org/r/70279
46,148
25.03.2019 22:23:47
25,200
c10def96653fb99e309459476f5bc09c1da686ee
Added a `sum` method for `ResourceQuantities`. The method returns the summed up `ResourceQuantities` given a `hashmap<Key, ResourceQuantities>`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.hpp", "new_path": "src/common/resource_quantities.hpp", "diff": "@@ -79,6 +79,20 @@ public:\n// be triggered.\nstatic ResourceQuantities fromScalarResources(const Resources& resources);\n+ // Returns the summed up `ResourceQuanti...
C++
Apache License 2.0
apache/mesos
Added a `sum` method for `ResourceQuantities`. The method returns the summed up `ResourceQuantities` given a `hashmap<Key, ResourceQuantities>`. Review: https://reviews.apache.org/r/70305
46,103
27.03.2019 09:39:57
-3,600
bb937aa7e34d407585219711d897af9c76f9a05e
Made hashmap::containsValue consistent with stout naming convention. In stout we use snake case, not camel case. We will clean up users outside of stout in a follow-up patch. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/hashmap.hpp", "new_path": "3rdparty/stout/include/stout/hashmap.hpp", "diff": "@@ -89,7 +89,7 @@ public:\n}\n// Checks whether there exists a bound value in this map.\n- bool containsValue(const Value& v) const\n+ bool contains_val...
C++
Apache License 2.0
apache/mesos
Made hashmap::containsValue consistent with stout naming convention. In stout we use snake case, not camel case. We will clean up users outside of stout in a follow-up patch. Review: https://reviews.apache.org/r/70249/
46,103
27.03.2019 09:40:02
-3,600
bc4606c25502ae713409827d973b26da3f8be3e1
Made hashmap::containsValue consistent with stout naming convention. In stout we use snake case, not camel case. This patch contains fixes to users in Mesos. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10930,7 +10930,7 @@ void Master::removeFramework(Framework* framework)\n// Remove the metrics for the principal if this framework is the\n// last one with this principal.\nif (principal....
C++
Apache License 2.0
apache/mesos
Made hashmap::containsValue consistent with stout naming convention. In stout we use snake case, not camel case. This patch contains fixes to users in Mesos. Review: https://reviews.apache.org/r/70250/
46,066
27.03.2019 09:40:25
-3,600
eb505c1a7d00fc1d591d9fad53a95995601e13ba
Fixed operator operation handling with resource provider resources. The resource provider manager didn't allow operations originating from operator API calls. For speculatively applied operations, this is allowed now. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/manager.cpp", "new_path": "src/resource_provider/manager.cpp", "diff": "@@ -465,7 +465,9 @@ void ResourceProviderManagerProcess::applyOperation(\nconst ApplyOperationMessage& message)\n{\nconst Offer::Operation& operation = message.operat...
C++
Apache License 2.0
apache/mesos
Fixed operator operation handling with resource provider resources. The resource provider manager didn't allow operations originating from operator API calls. For speculatively applied operations, this is allowed now. Review: https://reviews.apache.org/r/70165/
46,103
27.03.2019 17:16:24
-3,600
6276f7e73b0dbe7df49a7315cd1b83340d66f4ea
Bumped nokogiri and rack site dependencies. This bumps nokogiri to >=1.8.5 for CVE-2018-16471 and rack to >=1.6.11 for CVE-2018-16471. Review:
[ { "change_type": "MODIFY", "old_path": "site/Gemfile.lock", "new_path": "site/Gemfile.lock", "diff": "@@ -94,18 +94,18 @@ GEM\nmime-types (3.2.2)\nmime-types-data (~> 3.2015)\nmime-types-data (3.2018.0812)\n- mini_portile2 (2.3.0)\n+ mini_portile2 (2.4.0)\nminitest (5.11.3)\nmulti_json (1.13.1)\n- n...
C++
Apache License 2.0
apache/mesos
Bumped nokogiri and rack site dependencies. This bumps nokogiri to >=1.8.5 for CVE-2018-16471 and rack to >=1.6.11 for CVE-2018-16471. Review: https://reviews.apache.org/r/70323
46,057
28.02.2019 18:01:47
-3,600
5e4aa14a2b6c5c753248e642289c04a267aca074
Updated comment about operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4230,7 +4230,7 @@ void Master::accept(\n// If invalid, send TASK_DROPPED for the launch attempts. If the\n// framework is not partition-aware, send TASK_LOST instead. If\n// other operat...
C++
Apache License 2.0
apache/mesos
Updated comment about operations. Review: https://reviews.apache.org/r/70115
46,057
07.03.2019 17:51:22
-3,600
af2c47a5e680b5c3140fd7d4639750f476f1627c
Added helper to test for metrics values. This patch adds a new helper function to check whether a given metric has some specified value. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/utils.hpp", "new_path": "src/tests/utils.hpp", "diff": "@@ -31,8 +31,23 @@ namespace tests {\n// Get the metrics snapshot.\n// TODO(vinod): Move this into a libprocess utility header.\n+// TODO(bevers): Rename this to `getMetrics()`.\nJSON::Object Me...
C++
Apache License 2.0
apache/mesos
Added helper to test for metrics values. This patch adds a new helper function to check whether a given metric has some specified value. Review: https://reviews.apache.org/r/70156
46,057
28.02.2019 18:03:27
-3,600
18c401563c33022240fede63fbe3ec9b7bf4c385
Added metrics for offer operation feedback. This commit adds additional metrics counting the number of operations in each state. Unit tests are added in the subsequent commit. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -657,6 +657,67 @@ The task states listed here match those of the task state machine.\n</tr>\n</table>\n+#### Operations\n+\n+The following metrics provide information about offer operations on ...
C++
Apache License 2.0
apache/mesos
Added metrics for offer operation feedback. This commit adds additional metrics counting the number of operations in each state. Unit tests are added in the subsequent commit. Review: https://reviews.apache.org/r/70116
46,057
28.02.2019 18:02:56
-3,600
ede2a94ebaf9710516816bae7d012d926c533a59
Added unit tests for offer operation feedback metrics. This adds a set of checks to verify the metrics introduced in the previous commit are working as intended. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/agent_operation_feedback_tests.cpp", "new_path": "src/tests/agent_operation_feedback_tests.cpp", "diff": "@@ -146,6 +146,10 @@ TEST_P(AgentOperationFeedbackTest, RetryOperationStatusUpdate)\nEXPECT_EQ(operationId, update->status().operation_id());\nE...
C++
Apache License 2.0
apache/mesos
Added unit tests for offer operation feedback metrics. This adds a set of checks to verify the metrics introduced in the previous commit are working as intended. Review: https://reviews.apache.org/r/70117
46,072
29.03.2019 14:23:57
-3,600
8cba86825449c35733a0b4cf0d14284055c2cc30
Extended the glog LogSink interface to be able to log microseconds. Extended the LogSink interface to be able to log microseconds. This makes possible to solve a problem with modules implementing custom LogSink which currently log 000000 instead of microseconds. This is a backport of this patch: to glog 0.3.3 Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/glog-0.3.3.patch", "new_path": "3rdparty/glog-0.3.3.patch", "diff": "@@ -1568,3 +1568,234 @@ index b69eefd..18bbccf 100644\n\"section will not be found (even if present).\", name, name_len);\n// No point in even trying.\nreturn false;\n+diff --git a/s...
C++
Apache License 2.0
apache/mesos
Extended the glog LogSink interface to be able to log microseconds. Extended the LogSink interface to be able to log microseconds. This makes possible to solve a problem with modules implementing custom LogSink which currently log 000000 instead of microseconds. This is a backport of this patch: https://github.com/g...
46,057
22.03.2019 17:35:27
-3,600
44adcf93f79c9b3ce85ffe2c1fb5792a48fbd543
Added stream operator overload for OperationStatus messages. This commit adds a new overload ostream& operator<<(ostream&, const OperationStatus&); to make the printing of OperationStatus messages more convenient. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.hpp", "new_path": "include/mesos/v1/mesos.hpp", "diff": "@@ -412,6 +412,9 @@ std::ostream& operator<<(\nstd::ostream& operator<<(std::ostream& stream, const TaskStatus& status);\n+std::ostream& operator<<(std::ostream& stream, const Oper...
C++
Apache License 2.0
apache/mesos
Added stream operator overload for OperationStatus messages. This commit adds a new overload ostream& operator<<(ostream&, const OperationStatus&); to make the printing of OperationStatus messages more convenient. Review: https://reviews.apache.org/r/70281
46,057
22.03.2019 17:51:34
-3,600
1915150c6a83cd95197e25a68a6adf9b3ef5fb11
Added new example framework for operation feedback. This adds a new example framework showcasing a possible implementation of the newly added operation feedback API. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2274,6 +2274,11 @@ test_http_executor_SOURCES = examples/test_http_executor.cpp\ntest_http_executor_CPPFLAGS = $(MESOS_CPPFLAGS)\ntest_http_executor_LDADD = libmesos.la $(LDADD)\n+check_PROGRAMS += ...
C++
Apache License 2.0
apache/mesos
Added new example framework for operation feedback. This adds a new example framework showcasing a possible implementation of the newly added operation feedback API. Review: https://reviews.apache.org/r/70282
46,057
29.03.2019 20:06:51
-3,600
0fec9f439489dd0c31bf7be04225fb7631552b8a
Removed use-after-free bug in operation handling. Switched the order of adjusting metrics and removing an operation to avoid a use-after-free bug in the master code. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -11473,10 +11473,10 @@ void Master::__removeSlave(\nOPERATION_GONE_BY_OPERATOR;\nforeachvalue (Operation* operation, utils::copy(slave->operations)) {\n- removeOperation(operation);\nmetr...
C++
Apache License 2.0
apache/mesos
Removed use-after-free bug in operation handling. Switched the order of adjusting metrics and removing an operation to avoid a use-after-free bug in the master code. Review: https://reviews.apache.org/r/70342/
46,148
26.03.2019 16:25:46
25,200
c76b4431505861c8e5997f13b7fda51ef2cd7c54
Added `empty()` method in `class ResourceQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.hpp", "new_path": "src/common/resource_quantities.hpp", "diff": "@@ -120,6 +120,8 @@ public:\nsize_t size() const { return quantities.size(); };\n+ bool empty() const { return quantities.empty(); }\n+\n// Returns the quantity sca...
C++
Apache License 2.0
apache/mesos
Added `empty()` method in `class ResourceQuantities`. Review: https://reviews.apache.org/r/70318
46,148
27.03.2019 17:09:13
25,200
7c8a9a9218b5b3a9a2acbf8c10899355773377ef
Added `==` and `!=` operator in `ResourceQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -177,6 +177,18 @@ bool ResourceQuantities::contains(const ResourceQuantities& right) const\n}\n+bool ResourceQuantities::operator==(const ResourceQuantities& tha...
C++
Apache License 2.0
apache/mesos
Added `==` and `!=` operator in `ResourceQuantities`. Review: https://reviews.apache.org/r/70329
46,087
26.03.2019 21:02:04
25,200
33d1aeaba2a3b016f9f1ac3acd0b0c26172f95d5
Supported destroying preprovisioned CSI volumes in SLRP. SLRP now accepts `DESTROY_DISK` on `RAW` disk resources with source IDs. If the backed CSI plugin does have the `CREATE_DELETE_VOLUME` controller capability, this operation will be a no-op; otherwise the underlying CSI volume will be deprovisioned. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -2641,28 +2641,38 @@ Future<string> StorageLocalResourceProviderProcess::createVolume(\nFuture<bool> StorageLocalResourceProviderProcess::deleteV...
C++
Apache License 2.0
apache/mesos
Supported destroying preprovisioned CSI volumes in SLRP. SLRP now accepts `DESTROY_DISK` on `RAW` disk resources with source IDs. If the backed CSI plugin does have the `CREATE_DELETE_VOLUME` controller capability, this operation will be a no-op; otherwise the underlying CSI volume will be deprovisioned. Review: http...
46,087
26.03.2019 21:02:08
25,200
e7e9dabf09d055e499df745b70d43226eeb5f033
Added authorization for applying `DESTROY_DISK` on `RAW` disks. Review:
[ { "change_type": "MODIFY", "old_path": "docs/examples/acls_template.json", "new_path": "docs/examples/acls_template.json", "diff": "\"type\": \"ANY\"\n}\n}\n+ ],\n+ \"create_block_disks\": [\n+ {\n+ \"principals\": {\n+ \"type\": \"ANY\"\n+ },\n+ \"roles\": {\n+ \"type\": \"ANY\"\n+ }\n+ }\n+ ],\n+ ...
C++
Apache License 2.0
apache/mesos
Added authorization for applying `DESTROY_DISK` on `RAW` disks. Review: https://reviews.apache.org/r/70315/
46,087
26.03.2019 21:02:16
25,200
dc3fda2c8630ebfc150b987631efac92e08adc2a
Updated test `ImportPreprovisionedVolume` for better code coverage. This patch renames `ImportPreprovisionedVolume` to `CreateDestroyPreprovisionedVolume` add tests two additional scenarios: * `CREATE_DISK` with an unknown profile. * `DESTROY_DISK` with a `RAW` disk. 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": "#include <algorithm>\n#include <list>\n#include <memory>\n+#include <set>\n#include <string>\n+#include <tuple>\n#include <vector>...
C++
Apache License 2.0
apache/mesos
Updated test `ImportPreprovisionedVolume` for better code coverage. This patch renames `ImportPreprovisionedVolume` to `CreateDestroyPreprovisionedVolume` add tests two additional scenarios: * `CREATE_DISK` with an unknown profile. * `DESTROY_DISK` with a `RAW` disk. Review: https://reviews.apache.org/r/70316/
46,148
29.03.2019 15:02:02
25,200
fbfe1938846ef02a90dcae500a2c7843f902d1bf
Simplified quota chopping logic in the allocator. This patch refactors the `shrinkResources()` helper to take in a target `ResourceQuantities`. Due to the absent-means-zero semantic of `class ResourceQuantities`, we also change the function to drop (shrink to zero) resources that are absent in the input `ResourceQuanti...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1633,8 +1633,7 @@ void HierarchicalAllocatorProcess::__allocate()\nstd::random_shuffle(slaveIds.begin(), slaveIds.end());\n// Returns the resu...
C++
Apache License 2.0
apache/mesos
Simplified quota chopping logic in the allocator. This patch refactors the `shrinkResources()` helper to take in a target `ResourceQuantities`. Due to the absent-means-zero semantic of `class ResourceQuantities`, we also change the function to drop (shrink to zero) resources that are absent in the input `ResourceQuant...
46,148
29.03.2019 15:39:17
25,200
a5af0162dbe77ba3d76d94b2a2b4beb92d63f83a
Used `ResourceQuantities` in `__allocate()` when appropriate. Replaced `Resources` with `ResourceQuantities` when appropriate in `__allocate()`. This simplifies the code and improves performance. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -925,7 +925,7 @@ void HierarchicalAllocatorProcess::updateAllocation(\n// Update the allocated resources in the quota sorter. We only update\n/...
C++
Apache License 2.0
apache/mesos
Used `ResourceQuantities` in `__allocate()` when appropriate. Replaced `Resources` with `ResourceQuantities` when appropriate in `__allocate()`. This simplifies the code and improves performance. Review: https://reviews.apache.org/r/70320
46,148
27.03.2019 17:17:32
25,200
ef26c536f89c76ec2752299096bc5f5538753ed2
Used `ResourceQuantities` in the sorter when appropriate. Replaced `Resources` with `ResourceQuantities` when appropriate in the sorter. This simplifies the code and improves performance. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1708,11 +1708,9 @@ void HierarchicalAllocatorProcess::__allocate()\n// Then add allocated resource _quantities_ .\n// NOTE: Revocable resource...
C++
Apache License 2.0
apache/mesos
Used `ResourceQuantities` in the sorter when appropriate. Replaced `Resources` with `ResourceQuantities` when appropriate in the sorter. This simplifies the code and improves performance. Review: https://reviews.apache.org/r/70330
46,148
29.03.2019 15:53:26
25,200
1acb38c27306326a53f866b5386b5e28a6dc9314
Removed unused function `Resources::isScalarQuantity`. The function was introduced when `class Resources` is used for resource quantities. In particular, it was used in API validation where users are asked to specify resource quantities using `Resources`. Since `ResourceQuantities` is introduced, the function is no lon...
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -349,11 +349,6 @@ public:\n// Tests if the given Resource object is shared.\nstatic bool isShared(const Resource& resource);\n- // Tests if the given Resources object is a \"p...
C++
Apache License 2.0
apache/mesos
Removed unused function `Resources::isScalarQuantity`. The function was introduced when `class Resources` is used for resource quantities. In particular, it was used in API validation where users are asked to specify resource quantities using `Resources`. Since `ResourceQuantities` is introduced, the function is no lo...
46,165
03.04.2019 14:16:00
14,400
6287324fe2873062c060a89430e5f4f781c3bc21
Fixed MasterQuotaTest.AvailableResourcesSingleDisconnectedAgent. In this test it was possible for the agent to retry registration either from the initial registration attempt's retry backoff loop, or from the master pinging it with the disconnected bit set. Pausing the clock prevents these issues. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_quota_tests.cpp", "new_path": "src/tests/master_quota_tests.cpp", "diff": "@@ -879,6 +879,13 @@ TEST_F(MasterQuotaTest, AvailableResourcesSingleDisconnectedAgent)\nAWAIT_READY(agentTotalResources);\nEXPECT_EQ(defaultAgentResources, agentTotalR...
C++
Apache License 2.0
apache/mesos
Fixed MasterQuotaTest.AvailableResourcesSingleDisconnectedAgent. In this test it was possible for the agent to retry registration either from the initial registration attempt's retry backoff loop, or from the master pinging it with the disconnected bit set. Pausing the clock prevents these issues. Review: https://rev...
46,165
01.04.2019 12:27:24
14,400
b72ac84ae5eb4b23ff8f4902a97618209b97ee87
Added roles::ancestors for walking up the role hierarchy. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/roles.hpp", "new_path": "include/mesos/roles.hpp", "diff": "@@ -49,6 +49,18 @@ bool isStrictSubroleOf(const std::string& left, const std::string& right);\nTry<std::vector<std::string>> parse(const std::string& text);\n+/**\n+ * Returns the ancest...
C++
Apache License 2.0
apache/mesos
Added roles::ancestors for walking up the role hierarchy. Review: https://reviews.apache.org/r/70352
46,148
03.04.2019 16:55:47
14,400
e2b41f5a7cd1051773c8861d023fc15d937cb005
Added a test to ensure subroles reservations are tracked correctly. This test verifies that a subrole's reservation is counted towards its parent's reservation when accounting consumed quota. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -6118,6 +6118,61 @@ TEST_F(HierarchicalAllocatorTest, QuotaWithAncestorReservations)\n}\n+// This test verifies that a subrole's reservation is c...
C++
Apache License 2.0
apache/mesos
Added a test to ensure subroles reservations are tracked correctly. This test verifies that a subrole's reservation is counted towards its parent's reservation when accounting consumed quota. See MESOS-9688. Review: https://reviews.apache.org/r/70371/
46,087
01.04.2019 23:23:44
25,200
47fd43868c89dabb4f723199621c08eba10c1d9b
Added the `VolumeManager` interface to manage CSI volumes. `VolumeManager` is a wrapper for SLRP to use v0 and v1 CSI plugins polymorphically. It will be managing volume lifecycles and checkpoints and making the actual CSI calls for SLRP and SERP in the future. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -247,7 +247,8 @@ set(CSI_SRC\ncsi/paths.cpp\ncsi/rpc.cpp\ncsi/service_manager.cpp\n- csi/utils.cpp)\n+ csi/utils.cpp\n+ csi/volume_manager.cpp)\nset(DOCKER_SRC\ndocker/docker.cpp\n" }, { ...
C++
Apache License 2.0
apache/mesos
Added the `VolumeManager` interface to manage CSI volumes. `VolumeManager` is a wrapper for SLRP to use v0 and v1 CSI plugins polymorphically. It will be managing volume lifecycles and checkpoints and making the actual CSI calls for SLRP and SERP in the future. Review: https://reviews.apache.org/r/70213/
46,087
01.04.2019 23:23:45
25,200
7e5a0e2d04722ad3a261dcd43163ebfaae73c2a3
Added skeleton code for v0 `VolumeManager`. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -248,6 +248,7 @@ set(CSI_SRC\ncsi/rpc.cpp\ncsi/service_manager.cpp\ncsi/utils.cpp\n+ csi/v0_volume_manager.cpp\ncsi/volume_manager.cpp)\nset(DOCKER_SRC\n" }, { "change_type": "MODIFY", ...
C++
Apache License 2.0
apache/mesos
Added skeleton code for v0 `VolumeManager`. Review: https://reviews.apache.org/r/70214/
46,087
01.04.2019 23:23:53
25,200
0fddc51b2e7aebdd2c7409d06bba4870bf1c14a4
Cleanup volume and storage pool listing. This patch modified SLRP's volume and storage pool listing methods to conform to `VolumeManager`s public interface. They will be moved out from SLRP to v0 `VolumeManager` later. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -779,7 +779,7 @@ StorageLocalResourceProviderProcess::reconcileResourceProviderState()\n{\nreturn reconcileOperationStatuses()\n.then(defer(self(...
C++
Apache License 2.0
apache/mesos
Cleanup volume and storage pool listing. This patch modified SLRP's volume and storage pool listing methods to conform to `VolumeManager`s public interface. They will be moved out from SLRP to v0 `VolumeManager` later. Review: https://reviews.apache.org/r/70284/
46,087
01.04.2019 23:23:58
25,200
13f4c5c4e3584cb891cda48002291f1b7fdf3234
Implemented the remaining methods of v0 `VolumeManager`. This patch completes the v0 `VolumeManager` by properly implemented the `attachVolume`, `detachVolume` and `unpublishVolume` functions that are not used by SLRP. Review:
[ { "change_type": "MODIFY", "old_path": "src/csi/v0_volume_manager.cpp", "new_path": "src/csi/v0_volume_manager.cpp", "diff": "@@ -424,13 +424,37 @@ Future<bool> VolumeManagerProcess::deleteVolume(const string& volumeId)\nFuture<Nothing> VolumeManagerProcess::attachVolume(const string& volumeId)\n{\n...
C++
Apache License 2.0
apache/mesos
Implemented the remaining methods of v0 `VolumeManager`. This patch completes the v0 `VolumeManager` by properly implemented the `attachVolume`, `detachVolume` and `unpublishVolume` functions that are not used by SLRP. Review: https://reviews.apache.org/r/70285/
46,087
01.04.2019 23:24:00
25,200
995873fbaad780d80f0d1aae285c388211e993c2
Made `StorageLocalResourceProviderProcess` no longer exposed. Since we now moved the CSI calling logics to `v0::VolumeManagerProcess`, SLRP tests no longer rely on intercepting member function dispatches of `StorageLocalResourceProviderProcess`, so we undo the exposure made in r/69827 (commit e9d2a296081). Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1528,8 +1528,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\nresource_provider/storage/disk_profile_utils.cpp \\\nresource_provider/storage/disk_profile_utils.hpp \\\nresource_provider/storage/provider....
C++
Apache License 2.0
apache/mesos
Made `StorageLocalResourceProviderProcess` no longer exposed. Since we now moved the CSI calling logics to `v0::VolumeManagerProcess`, SLRP tests no longer rely on intercepting member function dispatches of `StorageLocalResourceProviderProcess`, so we undo the exposure made in r/69827 (commit e9d2a296081). Review: ht...
46,087
01.04.2019 23:24:02
25,200
ae67c324a40222529e16f40765814f5343385d03
Made CSI plugin RPC metrics agnostic to CSI versions. Since the fine-grained version-specific per-CSI-call metrics are not very useful for operators, and most informations are highly correlated to per-operation metrics, these metrics are aggregated and made CSI version agnostic. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -2220,9 +2220,7 @@ Storage resource providers in Mesos are backed by\n[standalone containers](standalone-container.md). To monitor the health of these\nCSI plugins for a storage resource provid...
C++
Apache License 2.0
apache/mesos
Made CSI plugin RPC metrics agnostic to CSI versions. Since the fine-grained version-specific per-CSI-call metrics are not very useful for operators, and most informations are highly correlated to per-operation metrics, these metrics are aggregated and made CSI version agnostic. Review: https://reviews.apache.org/r/7...
46,188
01.04.2019 18:11:59
25,200
76e583ab6ba71e7aef020fc662c0c36d6f3d9923
Switched to used `/proc/1/ns/pid` to test pid namespaces. Previously, we're using `/proc/self/ns/pid` to test pid namespaces. This is proven to be problematic because the kernel will resolve correctly even if the `/proc` is not re-mounted in the new pid namespace. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/isolator_tests.cpp", "new_path": "src/tests/containerizer/isolator_tests.cpp", "diff": "@@ -120,7 +120,7 @@ TEST_F(NamespacesIsolatorTest, ROOT_PidNamespace)\n// Write the command's pid namespace inode and init name to files.\nconst str...
C++
Apache License 2.0
apache/mesos
Switched to used `/proc/1/ns/pid` to test pid namespaces. Previously, we're using `/proc/self/ns/pid` to test pid namespaces. This is proven to be problematic because the kernel will resolve correctly even if the `/proc` is not re-mounted in the new pid namespace. Review: https://reviews.apache.org/r/70355
46,053
03.04.2019 21:43:13
25,200
b3a6a9bf41584021e2502922bace5092dc46c71a
Fixed compile error with a built-in logrotate module. This patch gets rid of redundant use of `Error` wrapper for an error message that is passed to EXIT macro. This fixes a compile error on Mesos versions that do not support output operator for `Error` type. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/container_loggers/logrotate.cpp", "new_path": "src/slave/container_loggers/logrotate.cpp", "diff": "@@ -339,7 +339,7 @@ int main(int argc, char** argv)\nTry<LogrotateLoggerProcess*> process = LogrotateLoggerProcess::create(flags);\nif (process.isErro...
C++
Apache License 2.0
apache/mesos
Fixed compile error with a built-in logrotate module. This patch gets rid of redundant use of `Error` wrapper for an error message that is passed to EXIT macro. This fixes a compile error on Mesos versions that do not support output operator for `Error` type. Review: https://reviews.apache.org/r/70369/
46,053
04.04.2019 16:09:02
-7,200
995b24307a6c679d89af11cb1185fe8b27b5ef86
Added Andrei Budnik to the committers list.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -93,6 +93,13 @@ canonical list is located on\n<td>idownes</td>\n<td>idownes@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+1</td>\n+ <td>Andrei Budnik</td>\n+ <td>Mesosphere</td>\n+ <td></td>\n+ <td>ab...
C++
Apache License 2.0
apache/mesos
Added Andrei Budnik to the committers list.
46,129
23.03.2019 20:54:08
25,200
10d57420ccd27b13a02e48a475e7c77d4f4ed100
Added 'prettyjws' option to docker manifest V2 Schema1 accept header. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -687,7 +687,10 @@ Future<Nothing> DockerFetcherPluginProcess::fetch(\n// Note: The 'Accept' header is required for Amazon ECR. See:\n// https://forums.aws.amazon.com/message.j...
C++
Apache License 2.0
apache/mesos
Added 'prettyjws' option to docker manifest V2 Schema1 accept header. Review: https://reviews.apache.org/r/70287
46,129
01.04.2019 16:11:43
25,200
ed1587bc0ee4a94329b379c6c45430062bfd8e37
Refactored the UCR docker store to construct 'Image' proto at pullers. This refactoring is needed for supporting docker manifest v2s2 because the puller has to let the docker store knows the v1 config, and this is also needed for garbage collecting the v1 config in the image layer store. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/image_tar_puller.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/image_tar_puller.cpp", "diff": "@@ -66,13 +66,13 @@ public:\n~ImageTarPullerProcess() override {}\n- Future<vector<string>> pu...
C++
Apache License 2.0
apache/mesos
Refactored the UCR docker store to construct 'Image' proto at pullers. This refactoring is needed for supporting docker manifest v2s2 because the puller has to let the docker store knows the v1 config, and this is also needed for garbage collecting the v1 config in the image layer store. Review: https://reviews.apach...
46,129
01.04.2019 22:42:53
25,200
a64ba106fbe1e0ea075f523a09b9831f8ad31387
Added protobuf for docker v2 schema2 config_digest in 'Image'. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/message.proto", "new_path": "src/slave/containerizer/mesos/provisioner/docker/message.proto", "diff": "@@ -32,6 +32,10 @@ message Image {\n// where the root layer's id (no parent layer) is first and the leaf\n//...
C++
Apache License 2.0
apache/mesos
Added protobuf for docker v2 schema2 config_digest in 'Image'. Review: https://reviews.apache.org/r/70365
46,129
22.03.2019 00:32:30
25,200
9f040066eaf0c6b742b0d86384fd71aae2036f26
Supported docker manifest v2 schema2. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "diff": "#include <stout/os/exists.hpp>\n#include <stout/os/mkdir.hpp>\n+#include <stout/os/rename.hpp>\n...
C++
Apache License 2.0
apache/mesos
Supported docker manifest v2 schema2. Review: https://reviews.apache.org/r/70288
46,129
23.03.2019 21:14:15
25,200
0c6975345cf647838240f90ad97c0b7b49a9bba1
Added a TODO for additional URLs support. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -968,6 +968,8 @@ Future<Nothing> DockerFetcherPluginProcess::urlFetchBlob(\nreturn Failure(\"Schema 2 manifest does not exist\");\n}\n+ // TODO(gilbert): Support v2s2 addition...
C++
Apache License 2.0
apache/mesos
Added a TODO for additional URLs support. Review: https://reviews.apache.org/r/70289
46,129
27.03.2019 12:03:00
25,200
899740a625ae7a2756031023b997703844ecfe7b
Fixed docker fetcher plugin unit test for v2s2 change. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/uri_fetcher_tests.cpp", "new_path": "src/tests/uri_fetcher_tests.cpp", "diff": "@@ -302,29 +302,17 @@ TEST_F(DockerFetcherPluginTest, INTERNET_CURL_FetchManifest)\nAWAIT_READY_FOR(fetcher.get()->fetch(uri, dir), Seconds(60));\n- // Version 2 schema 1...
C++
Apache License 2.0
apache/mesos
Fixed docker fetcher plugin unit test for v2s2 change. Review: https://reviews.apache.org/r/70290
46,129
22.03.2019 10:37:46
25,200
363e753c199faf5e928fc3ad732d43e036a97ee0
Added gcr registry test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -639,15 +639,18 @@ TEST_P(ProvisionerDockerHdfsTest, ROOT_ImageTarPullerHdfsFetcherSimpleCommand)\n// when specifying the rep...
C++
Apache License 2.0
apache/mesos
Added gcr registry test. Review: https://reviews.apache.org/r/70291
46,129
27.03.2019 17:33:19
25,200
e6a3f0d0165fc48d70e9fe920b0273250b2d5e85
Added a unit test for Mesos containerizer image force pulling. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -740,6 +740,133 @@ TEST_P(ProvisionerDockerTest, ROOT_INTERNET_CURL_SimpleCommand)\n}\n+// This test verifies the functionali...
C++
Apache License 2.0
apache/mesos
Added a unit test for Mesos containerizer image force pulling. Review: https://reviews.apache.org/r/70366
46,057
05.04.2019 12:55:53
-7,200
f5c6d96c2789da688e16a88b68b156452c24dd8b
Quoted chmod arguments. Quoted arguments passed to the `chmod` command in `mesos-build.sh` script. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build.sh", "new_path": "support/mesos-build.sh", "diff": "@@ -36,7 +36,7 @@ fi\n# NOTE: We chmod the directory here so that the docker containter can\n# copy out the test report xml files from the container file system.\n-chmod 777 ${MESOS_DIR}\n...
C++
Apache License 2.0
apache/mesos
Quoted chmod arguments. Quoted arguments passed to the `chmod` command in `mesos-build.sh` script. Review: https://reviews.apache.org/r/70386
46,053
05.04.2019 13:06:49
-7,200
db917f639e2d05fcf493e87649f42ddd2abfeae0
Fixed use-after-free bug in Docker provisioner store. Deferred lambda callback of the `moveLayers()` to the `StoreProcess` to prevent use-after-free of the process object since the callback refers to the `StoreProcess` class variable `flags`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "diff": "@@ -446,7 +446,7 @@ Future<Image> StoreProcess::moveLayers(\n}\nreturn collect(futures)\n- .then([=]() -> Future<Ima...
C++
Apache License 2.0
apache/mesos
Fixed use-after-free bug in Docker provisioner store. Deferred lambda callback of the `moveLayers()` to the `StoreProcess` to prevent use-after-free of the process object since the callback refers to the `StoreProcess` class variable `flags`. Review: https://reviews.apache.org/r/70405
46,053
05.04.2019 16:14:04
-7,200
5ca56257e9377c36c595cc83ce2eeb98a166945e
Clarified a comment for `SeccompInfo` in mesos.proto. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -3228,7 +3228,9 @@ message SeccompInfo {\n// If not set or set to `false`, the container is launched with\n// the profile specified in the `profile_name` field.\n//\n- // NOTE: `p...
C++
Apache License 2.0
apache/mesos
Clarified a comment for `SeccompInfo` in mesos.proto. Review: https://reviews.apache.org/r/70407
46,165
04.04.2019 14:51:10
14,400
b9fc493d6b06f2e8ff18023d3ef1267b7f9d2522
Disabled additional hierarchical quota tests. We currently do not support setting quota on subroles. Several of the hierarchical quota tests have already been disabled but these were missed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -6175,7 +6175,10 @@ TEST_F(HierarchicalAllocatorTest, QuotaWithNestedRoleReservation)\n// This test checks that quota guarantees work as expected...
C++
Apache License 2.0
apache/mesos
Disabled additional hierarchical quota tests. We currently do not support setting quota on subroles. Several of the hierarchical quota tests have already been disabled but these were missed. Review: https://reviews.apache.org/r/70391
46,165
04.04.2019 14:49:48
14,400
1156719e2b810322a88cb61347d637b343c01b92
Added a NOTE/TODO to track reservations in the allocator's roles map. Currently, the `roles` map does not track a role if it has a reservation but no allocation or framework subscription. This was an oversight and is unintuitive. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.hpp", "new_path": "src/master/allocator/mesos/hierarchical.hpp", "diff": "@@ -539,6 +539,12 @@ protected:\n// Specifically, we keep track of the roles when a framework subscribes to\n// the role, and/or when there are re...
C++
Apache License 2.0
apache/mesos
Added a NOTE/TODO to track reservations in the allocator's roles map. Currently, the `roles` map does not track a role if it has a reservation but no allocation or framework subscription. This was an oversight and is unintuitive. Review: https://reviews.apache.org/r/70392
46,165
03.04.2019 18:45:59
14,400
4c97c7fc113992ec3a7b2e0366fc6e5168839812
Fixed incorrect quota headroom and consumption calculations. There was an invalid assumption that the sorter returns hierarchically aggregated allocation information, whereas it actually returns the "." internal node information. This patch adjusts the allocator code accordingly. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1694,34 +1694,35 @@ void HierarchicalAllocatorProcess::__allocate()\n// would no longer need to track reservations separately.\nhashmap<string...
C++
Apache License 2.0
apache/mesos
Fixed incorrect quota headroom and consumption calculations. There was an invalid assumption that the sorter returns hierarchically aggregated allocation information, whereas it actually returns the "." internal node information. This patch adjusts the allocator code accordingly. Review: https://reviews.apache.org/r/...
46,165
04.04.2019 18:42:21
14,400
31206cc8e73cae377555005129c0dfea0cdbb99b
Enhanced HierarchicalAllocatorTest.QuotaWithNestedRoleReservation. This test missed an issue in because it was only checking that the quota consumption for "a" was >= the subrole "a/b" reservation. Updated this test to ensure that the quota consumption is exactly equal to the subrole "a/b" reservation. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -6122,14 +6122,19 @@ TEST_F(HierarchicalAllocatorTest, QuotaWithAncestorReservations)\n// parent's consumed quota. See MESOS-9688.\nTEST_F(Hierar...
C++
Apache License 2.0
apache/mesos
Enhanced HierarchicalAllocatorTest.QuotaWithNestedRoleReservation. This test missed an issue in https://reviews.apache.org/r/70393/ because it was only checking that the quota consumption for "a" was >= the subrole "a/b" reservation. Updated this test to ensure that the quota consumption is exactly equal to the subrol...
46,165
02.04.2019 20:36:41
14,400
0db8a97263a24bbc389b78a23ceeb5110e4ea51b
Added an root node overload for Sorter::allocationScalarQuantities. This allows the allocator to retrieve the total allocation rather than having to loop over the top level roles to compute it. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -440,6 +440,12 @@ const ResourceQuantities& DRFSorter::allocationScalarQuantities(\n}\n+const ResourceQuantities& DRFSorter::allocationScalarQuan...
C++
Apache License 2.0
apache/mesos
Added an root node overload for Sorter::allocationScalarQuantities. This allows the allocator to retrieve the total allocation rather than having to loop over the top level roles to compute it. Review: https://reviews.apache.org/r/70373
46,165
02.04.2019 20:38:37
14,400
af3f189358a030dadbf37b264cf1fb341821775d
Added tests for Sorter::allocationScalarQuantities. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -614,6 +614,21 @@ TEST(DRFSorterTest, HierarchicalAllocation)\nEXPECT_EQ(aResources, sorter.allocation(\"a\", slaveId));\nEXPECT_EQ(cResources, sorter.allocation(\"b/c\", slaveI...
C++
Apache License 2.0
apache/mesos
Added tests for Sorter::allocationScalarQuantities. Review: https://reviews.apache.org/r/70374
46,165
03.04.2019 17:11:10
14,400
dd48ac62291e58aa8b107f2d245f466c106c2b45
Avoid looping over role allocations during headroom computation. Now that the sorter exposes the allocation information for the root of the tree, we can simply use that instead of looping over the top level roles. Overall against master this branch shows negligeable differences in both the *BENCHMARK_HierarchicalAlloca...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1765,9 +1765,7 @@ void HierarchicalAllocatorProcess::__allocate()\n// we need to loop over only top level roles for the latter.\n// Subtract a...
C++
Apache License 2.0
apache/mesos
Avoid looping over role allocations during headroom computation. Now that the sorter exposes the allocation information for the root of the tree, we can simply use that instead of looping over the top level roles. Overall against master this branch shows negligeable differences in both the *BENCHMARK_HierarchicalAllo...
46,057
05.04.2019 23:18:59
-7,200
3d1c43599471a0717b7ee80bd2623f40bb526965
Updated Mesos version to 1.9.0.
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ endif ()\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 8)\n+set(MESOS_MINOR_VERSION 9)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.${...
C++
Apache License 2.0
apache/mesos
Updated Mesos version to 1.9.0.
46,148
04.04.2019 16:18:19
25,200
281039cb1b64ea916da11a9009f2895125242fc6
Added a test to ensure correct role consumed quota accounting. This test ensures that a nested role's allocation is accounted to the top-level role's consumed quota. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -6186,6 +6186,83 @@ TEST_F(HierarchicalAllocatorTest, QuotaWithNestedRoleReservation)\nAWAIT_EXPECT_EQ(expected, allocations.get());\n}\n+// This...
C++
Apache License 2.0
apache/mesos
Added a test to ensure correct role consumed quota accounting. This test ensures that a nested role's allocation is accounted to the top-level role's consumed quota. Review: https://reviews.apache.org/r/70396
46,148
05.04.2019 12:02:31
25,200
a41d19012f0e9ef2c05a3afd6ea209c91ad07f8e
Parameterized some allocator benchmarks for DRF and random sorters. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "new_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "diff": "@@ -502,6 +502,8 @@ struct QuotaParam\nlargeQuotaRoleCount(_largeQuotaRoleCount),\nframeworksPerRole(_frameworksPerRole) {}\n+ QuotaParam(...
C++
Apache License 2.0
apache/mesos
Parameterized some allocator benchmarks for DRF and random sorters. Review: https://reviews.apache.org/r/70409
46,057
05.04.2019 22:58:51
-7,200
2fc47846a1d146843e66b4548bc9db82f39b0041
Updated CHANGELOG for 1.8.0.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "-Release Notes - Mesos - Version 1.8.0 (WIP)\n--------------------------------------------\n+Release Notes - Mesos - Version 1.8.0\n+-------------------------------------\nThis release contains the following highli...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for 1.8.0.
46,158
09.04.2019 15:44:24
-7,200
0dbb535fa7a6790d824c75df1b79917343403115
Fix `link::lo()` to deal with `None` value. Some network links may cause `link::internal::test(link, IFF_LOOPBACK)` to be `None`. `Link::lo` should deal with `None` values of test var. This closes
[ { "change_type": "MODIFY", "old_path": "src/linux/routing/link/link.cpp", "new_path": "src/linux/routing/link/link.cpp", "diff": "@@ -99,7 +99,7 @@ Result<string> lo()\nResult<bool> test = link::internal::test(link, IFF_LOOPBACK);\nif (test.isError()) {\nreturn Error(\"Failed to check the flag on li...
C++
Apache License 2.0
apache/mesos
Fix `link::lo()` to deal with `None` value. Some network links may cause `link::internal::test(link, IFF_LOOPBACK)` to be `None`. `Link::lo` should deal with `None` values of test var. This closes #330
46,139
10.04.2019 15:43:10
25,200
3d0a90fd9879a679b84a0f8f4763feab1d9e85ad
Changed naming of example framework class fields to match convention. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/operation_feedback_framework.cpp", "new_path": "src/examples/operation_feedback_framework.cpp", "diff": "@@ -165,14 +165,14 @@ class OperationFeedbackScheduler\npublic:\nOperationFeedbackScheduler(\n- const FrameworkInfo& framework,\n- const strin...
C++
Apache License 2.0
apache/mesos
Changed naming of example framework class fields to match convention. Review: https://reviews.apache.org/r/70411/
46,143
10.04.2019 18:27:50
18,000
277d38d7277f70bf3e90052b41eaa4740562a4ee
Updated documentation of default executor. Documented that it supports multiple task groups. Made other minor adjustments.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -130,18 +130,22 @@ commands or Docker containers.\nThe current semantics of the default executor are as folows:\n--- Tasks are launched as nested conta...
C++
Apache License 2.0
apache/mesos
Updated documentation of default executor. Documented that it supports multiple task groups. Made other minor adjustments.
46,057
11.04.2019 11:02:10
-7,200
7140cc372274ba7d4cbe18595fed16c8729a93ae
Added dashes to CHANGELOG section for consistency.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -14,45 +14,45 @@ This release contains the following highlights:\nminimum resource quantity offer filter information, see MESOS-7258.\nUnresolved Critical Issues:\n- * [MESOS-9697] Release RPMs are not uploaded ...
C++
Apache License 2.0
apache/mesos
Added dashes to CHANGELOG section for consistency.
46,072
11.04.2019 15:15:49
-7,200
e919171a4bbc21e45398ebd5568f25d6131f37d6
Replaced os.path.exists() with a proper check of automake flags. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/native_common/ext_modules.py.in", "new_path": "src/python/native_common/ext_modules.py.in", "diff": "@@ -22,6 +22,76 @@ import sys\nfrom setuptools import Extension\n+class BadAutoconfSubstitutes(ValueError):\n+ pass\n+\n+def _get_ac_subst_bool(true...
C++
Apache License 2.0
apache/mesos
Replaced os.path.exists() with a proper check of automake flags. Review: https://reviews.apache.org/r/70388/
46,057
11.04.2019 15:58:04
-7,200
4a33d2aba67686098f8384bf3a0e72a8c3eb1f2c
Updated comments in v1/mesos.proto. Updated the comments in `mesos/v1/mesos.proto` to be the same as in `mesos/mesos.proto`, after the latter was updated in commit
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.proto", "new_path": "include/mesos/v1/mesos.proto", "diff": "@@ -3326,6 +3326,8 @@ message TTYInfo {\n*/\nmessage ContainerInfo {\n// All container implementation types.\n+ // For each type there should be a field in the ContainerInfo it...
C++
Apache License 2.0
apache/mesos
Updated comments in v1/mesos.proto. Updated the comments in `mesos/v1/mesos.proto` to be the same as in `mesos/mesos.proto`, after the latter was updated in commit 93aca1eb0efcec941e19e976f683a35ecd9a840b.
46,103
11.04.2019 08:55:43
25,200
e3504a6a86558d264a939d974fdb5c257ab53f5d
Fixed potential use-after-free bug in storage local resource provider. The storage local resource provider manages a metrics instance which is shared with the service and volume managers it also holds; these services do not manage the lifetime of the metrics instance. This patch fixes the lifetime of the metrics instan...
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -377,6 +377,19 @@ private:\nRuntime runtime;\n+ // NOTE: `metrics` must be destructed after `volumeManager` and\n+ // `serviceManager` since they...
C++
Apache License 2.0
apache/mesos
Fixed potential use-after-free bug in storage local resource provider. The storage local resource provider manages a metrics instance which is shared with the service and volume managers it also holds; these services do not manage the lifetime of the metrics instance. This patch fixes the lifetime of the metrics inst...
46,143
11.04.2019 13:16:20
18,000
26630d02c6b40a5e631dc5dccb50c61c26f25145
Updated default executor semantics in the doc. Noted that scheduler killing a task will kill all tasks in a task group.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -144,7 +144,7 @@ The current semantics of the default executor are as folows:\n-- There is no resource isolation between different tasks or task groups...
C++
Apache License 2.0
apache/mesos
Updated default executor semantics in the doc. Noted that scheduler killing a task will kill all tasks in a task group.
46,148
11.04.2019 11:50:28
25,200
cb4c9660eecae59bc2acbeb37ab19214f7b0e19b
Documented requesting JIRA permission in the release guide.
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -72,6 +72,8 @@ This guide describes the process of doing an official release of Mesos.\nto track the progress of targeted issues as the release date approaches. This\nJIRA filter may be u...
C++
Apache License 2.0
apache/mesos
Documented requesting JIRA permission in the release guide.
46,055
10.04.2019 11:00:48
-28,800
27b238dc44527cf30815d53579c928052f35add8
Added an optional parameter `outputFileName` to the fetcher interface. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/uri/fetcher.hpp", "new_path": "include/mesos/uri/fetcher.hpp", "diff": "@@ -95,12 +95,14 @@ public:\n* @param uri the URI to fetch\n* @param directory the directory the URI will be downloaded to\n* @param data the optional user defined data\n+ * ...
C++
Apache License 2.0
apache/mesos
Added an optional parameter `outputFileName` to the fetcher interface. Review: https://reviews.apache.org/r/70443