author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,103
14.08.2019 09:33:23
-7,200
6e8ddb00025b0c353604d7d7db691fb99b53d2c6
Updated config factory to set resource provider reconciliation interval. 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 \"messages/messages.hpp\"\n+#include \"resource_provider/constants.hpp\"\n+\n#include \"slave/container_daemon_process.hp...
C++
Apache License 2.0
apache/mesos
Updated config factory to set resource provider reconciliation interval. Review: https://reviews.apache.org/r/71147/
46,103
14.08.2019 09:33:27
-7,200
3f7ab747246857e5e404bc3898ba7406e767d0e5
Explicitly disabled periodic reconciliation for some provider 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": "@@ -327,9 +327,7 @@ public:\nforward.isSome() ? \"--forward=\" + forward.get() : \"\",\ncreateParameters.getOrElse(\"\"),\nvolumeM...
C++
Apache License 2.0
apache/mesos
Explicitly disabled periodic reconciliation for some provider tests. Review: https://reviews.apache.org/r/71148/
46,103
14.08.2019 09:33:32
-7,200
82cdd40968df7b1d4b2fb4bede5253b20ac2319f
Renamed a storage provider function. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -273,9 +273,8 @@ private:\n// truth, such as CSI plugin responses or the status update manager.\nFuture<Nothing> reconcileResourceProviderState()...
C++
Apache License 2.0
apache/mesos
Renamed a storage provider function. Review: https://reviews.apache.org/r/71149/
46,103
14.08.2019 09:33:37
-7,200
266616aa6fe0027b07af80157bf7293735609d54
Factored out storage provider method to update resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -273,6 +273,10 @@ private:\n// truth, such as CSI plugin responses or the status update manager.\nFuture<Nothing> reconcileResourceProviderState(...
C++
Apache License 2.0
apache/mesos
Factored out storage provider method to update resources. Review: https://reviews.apache.org/r/71150/
46,103
14.08.2019 09:33:43
-7,200
deeae143ec0c2cc21137058a0f848a7081f85062
Performed periodic storage local provider reconciliations. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "#include <mesos/v1/resource_provider.hpp>\n+#include <process/after.hpp>\n#include <process/collect.hpp>\n#include <process/defer.hpp>\n#include <pr...
C++
Apache License 2.0
apache/mesos
Performed periodic storage local provider reconciliations. Review: https://reviews.apache.org/r/71151/
46,057
13.08.2019 17:26:02
-7,200
188c83af78d0357523d53f75b6e1b05b59f461c2
Fixed a flaky operation reconciliation test. The FrameworkReconciliationRaceWithUpdateSlave test from the operation reconciliation tests was flaky since we did not wait for the scheduler to reconnect before attempting to send a subscribe call. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -1833,11 +1833,15 @@ TEST_P(\nEXPECT_EQ(OPERATION_FINISHED, finishedUpdate->status().state());\nEXPECT_TRUE(finishedUpdate->status().has_uuid...
C++
Apache License 2.0
apache/mesos
Fixed a flaky operation reconciliation test. The FrameworkReconciliationRaceWithUpdateSlave test from the operation reconciliation tests was flaky since we did not wait for the scheduler to reconnect before attempting to send a subscribe call. Review: https://reviews.apache.org/r/71297
46,057
19.08.2019 18:53:30
-7,200
021540a0a9ae8bd67c4c2edba97c4f6e9abcd902
Added more details to the Bintray release guide. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -303,17 +303,34 @@ Update the Mesos Homebrew package.\nUpload the binary RPM packages to Bintray:\n-1. Create/use a Bintray account with access to the [Bintray repo](https://bintray.com/a...
C++
Apache License 2.0
apache/mesos
Added more details to the Bintray release guide. Review: https://reviews.apache.org/r/71309
46,210
21.08.2019 14:01:49
-7,200
a3704009fa8b81090fa2bf3f3ba0e9ed316dae57
Fixed deprecation warning when building against OpenSSL 1.1.x. OpenSSL 1.1.x deprecates 'ASN1_STRING_get_data' and replaces it by 'ASN1_STRING_get0_data'. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "@@ -886,7 +886,12 @@ Try<Nothing> verify(\nif (peer_hostname.isSome()) {\n// Current name is a DNS name, let's check it.\nconst string dns_name =\n- reinterpret_c...
C++
Apache License 2.0
apache/mesos
Fixed deprecation warning when building against OpenSSL 1.1.x. OpenSSL 1.1.x deprecates 'ASN1_STRING_get_data' and replaces it by 'ASN1_STRING_get0_data'. Review: https://reviews.apache.org/r/71336/
46,210
21.08.2019 15:20:15
-7,200
0fbe38176f24d0518cc861f4696624e5724e61a7
Fixed typo in recent commit.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "@@ -887,8 +887,8 @@ Try<Nothing> verify(\n// Current name is a DNS name, let's check it.\nconst string dns_name =\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n- // ...
C++
Apache License 2.0
apache/mesos
Fixed typo in recent commit.
46,057
21.08.2019 15:31:30
-7,200
888d088ea25f4bf872874efae85ff56267cfc7aa
Moved OpenSSL-related ifdef to a central location. A previous commit introduced an preprocessor directive that would split up code between brackets, confusing syntax highlighters and making the logic hard to read. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "// family of functions was backported. (OpenSSL 1.0.2)\n#define MIN_VERSION_X509_VERIFY_PARAM 0x10002000L\n+// Smallest OpenSSL version number that deprecated the...
C++
Apache License 2.0
apache/mesos
Moved OpenSSL-related ifdef to a central location. A previous commit introduced an preprocessor directive that would split up code between brackets, confusing syntax highlighters and making the logic hard to read. Review: https://reviews.apache.org/r/71338/
46,148
15.08.2019 11:04:05
25,200
bc190758b2e7c661ee25267452e1ffe35e2ce2a4
Added a framework id field to the allocator Framework struct. This provides easy lookup. Also refactored related functions to take in `Framework&` instead of `FrameworkId&`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -438,7 +438,8 @@ Framework::Framework(\nconst set<string>& _suppressedRoles,\nbool _active,\nbool publishPerFrameworkMetrics)\n- : roles(protob...
C++
Apache License 2.0
apache/mesos
Added a framework id field to the allocator Framework struct. This provides easy lookup. Also refactored related functions to take in `Framework&` instead of `FrameworkId&`. Review: https://reviews.apache.org/r/71301
46,055
29.07.2019 15:21:15
-28,800
adac620f1b5d600c3c5685569a0a8f1b0cc5572d
Recovered network info for nested/standalone containers in CNI isolator. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -71,6 +71,9 @@ message ContainerState {\n// This field only exists for top level containers.\noptional ExecutorInfo executor_info = 1;\n+ // This field...
C++
Apache License 2.0
apache/mesos
Recovered network info for nested/standalone containers in CNI isolator. Review: https://reviews.apache.org/r/71174
46,165
21.08.2019 20:10:42
14,400
b6c87d7c44346b2497ace65b1d2060ee423aa772
Eliminated double lookups in the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -572,18 +572,18 @@ void HierarchicalAllocatorProcess::addFramework(\nactive,\noptions.publishPerFrameworkMetrics)});\n- const Framework& framew...
C++
Apache License 2.0
apache/mesos
Eliminated double lookups in the allocator. Review: https://reviews.apache.org/r/71345
46,165
21.08.2019 20:11:31
14,400
790c4e72e1460035b13bf27f2cb8999709e9767e
Avoid duplicate allocatableTo call in the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1970,13 +1970,13 @@ void HierarchicalAllocatorProcess::__allocate()\nSorter* frameworkSorter = CHECK_NOTNONE(getFrameworkSorter(role));\nforea...
C++
Apache License 2.0
apache/mesos
Avoid duplicate allocatableTo call in the allocator. Review: https://reviews.apache.org/r/71346
46,165
22.08.2019 17:41:28
14,400
de90b2b3078e06975ab2cccc061db821cfe7dda8
Optimized Resources::shrink. Master: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 30.37 secs Made 0 allocation in 27.05 secs Master + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 24.15 secs Made 0 allocation in 20.48 secs Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -821,6 +821,15 @@ hashmap<Key, Resources> operator+(\n}\n+// Tests if `right` is contained in `left`, note that most\n+// callers should just make use of `Resources::contains(...
C++
Apache License 2.0
apache/mesos
Optimized Resources::shrink. Master: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 30.37 secs Made 0 allocation in 27.05 secs Master + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 24.15 secs Made 0 allocation in 20.48 secs Revie...
46,165
22.08.2019 17:42:57
14,400
05e5ca4b3446e34447f632463efe9a34b4bace7f
Added ResourceQuantities::fromScalarResource. Master + previous patches: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 24.15 secs Made 0 allocation in 20.48 secs Master + previous patches + this patch: Master + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 ...
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_quantities.hpp", "new_path": "include/mesos/resource_quantities.hpp", "diff": "@@ -83,6 +83,10 @@ public:\n// be triggered.\nstatic ResourceQuantities fromScalarResources(const Resources& resources);\n+ // Same as above, but takes a sing...
C++
Apache License 2.0
apache/mesos
Added ResourceQuantities::fromScalarResource. Master + previous patches: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 24.15 secs Made 0 allocation in 20.48 secs Master + previous patches + this patch: Master + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/...
46,148
20.08.2019 17:40:41
25,200
adb442fbb26d07216b1351f51e3a21366bb07bbc
Avoided copying the clientPath in the sorter. This patch made the clientPath method return a reference instead of a value. However this dose not avoid copies during the sorting where copy construction of the clients map are unavoidable. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "new_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "diff": "@@ -264,7 +264,7 @@ struct DRFSorter::Node\n// (virtual leaf), and \"a/b\". The `clientPath()` of \"a/.\" is \"a\",\n// because that is ...
C++
Apache License 2.0
apache/mesos
Avoided copying the clientPath in the sorter. This patch made the clientPath method return a reference instead of a value. However this dose not avoid copies during the sorting where copy construction of the clients map are unavoidable. Review: https://reviews.apache.org/r/71333
46,055
21.08.2019 16:50:06
-28,800
5db1835531edd16b8a7b550a944c27b0dacafbf7
Used cached cgroups for updating resources in Docker containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -1693,9 +1693,9 @@ Future<Nothing> DockerContainerizerProcess::update(\nreturn Nothing();\n}\n- // Skip inspecting the docker container if we already have the pi...
C++
Apache License 2.0
apache/mesos
Used cached cgroups for updating resources in Docker containerizer. Review: https://reviews.apache.org/r/71335
46,103
23.08.2019 13:03:02
-7,200
2fae6203603060ff74b6ef0b39ac43b8132b76ce
Used `local` master in `ExampleTest.DiskFullFramework`. This removes up to 4s runtime from the test as we do not have to wait for the master or agent to be up and running in the script. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/disk_full_framework_test.sh", "new_path": "src/tests/disk_full_framework_test.sh", "diff": "# This script runs the disk full framework on a cluster using the disk/du\n# isolator and checks that the framework returns a status of 1.\n-source ${MESOS_SO...
C++
Apache License 2.0
apache/mesos
Used `local` master in `ExampleTest.DiskFullFramework`. This removes up to 4s runtime from the test as we do not have to wait for the master or agent to be up and running in the script. Review: https://reviews.apache.org/r/71350/
46,103
23.08.2019 13:03:11
-7,200
978c7609e7fd2a26fbefe2e4a3712a665cad5d70
Sped up `ExampleTest.DiskFullFramework` test. This patch lowers the authentication timeout and increases the disk watch interval which can speed up the test by about 10s. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/disk_full_framework_test.sh", "new_path": "src/tests/disk_full_framework_test.sh", "diff": "@@ -24,6 +24,11 @@ export MESOS_SYSTEMD_ENABLE_SUPPORT=false\nexport MESOS_ISOLATION='disk/du'\nexport MESOS_ENFORCE_CONTAINER_DISK_QUOTA=1\nexport MESOS_RESO...
C++
Apache License 2.0
apache/mesos
Sped up `ExampleTest.DiskFullFramework` test. This patch lowers the authentication timeout and increases the disk watch interval which can speed up the test by about 10s. Review: https://reviews.apache.org/r/71351/
46,148
22.08.2019 17:54:25
25,200
ec6b7b34215e821a63cb79e7d52d94ff08c1e110
Optimized the allocation loop. Master: HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 23.37 secs Made 0 allocation in 19.72 secs Master + this patch: HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.831380548secs Made 0 allocation in 15.102885644s...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1965,16 +1965,30 @@ void HierarchicalAllocatorProcess::__allocate()\nbreak; // Nothing left on this agent.\n}\n+ ResourceQuantities unsatisfie...
C++
Apache License 2.0
apache/mesos
Optimized the allocation loop. Master: HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 23.37 secs Made 0 allocation in 19.72 secs Master + this patch: HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.831380548secs Made 0 allocation in 15.102885...
46,148
22.08.2019 16:54:42
25,200
25070f232a9bb97d1b78f8a7e5b774bbd50654f9
Updated the boost library. This update includes adding `container/small_vector.hpp`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/boost-1.65.0.tar.gz", "new_path": "3rdparty/boost-1.65.0.tar.gz", "diff": "Binary files a/3rdparty/boost-1.65.0.tar.gz and b/3rdparty/boost-1.65.0.tar.gz differ\n" }, { "change_type": "MODIFY", "old_path": "3rdparty/boost.md", "new_pat...
C++
Apache License 2.0
apache/mesos
Updated the boost library. This update includes adding `container/small_vector.hpp`. Review: https://reviews.apache.org/r/71356
46,148
22.08.2019 16:55:34
25,200
95201cbe4dc87eae2fde5754d16f5effbb6c1974
Used boost `small_vector` in Resource Quantities and Limits. Master + previous patch *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.831380548secs Made 0 allocation in 15.102885644secs Master + previous patch + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2...
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_quantities.hpp", "new_path": "include/mesos/resource_quantities.hpp", "diff": "#include <string>\n#include <utility>\n-#include <vector>\n+\n+#include <boost/container/small_vector.hpp>\n#include <mesos/mesos.hpp>\n@@ -118,10 +119,10 @@ ...
C++
Apache License 2.0
apache/mesos
Used boost `small_vector` in Resource Quantities and Limits. Master + previous patch *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.831380548secs Made 0 allocation in 15.102885644secs Master + previous patch + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota...
46,148
22.08.2019 17:19:30
25,200
73033130de7872c6f240b9b05dced039d7666138
Used boost `small_vector` in `Resources`. Master + previous patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.307044003secs Made 0 allocation in 14.948262599secs Master + previous patch + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocat...
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "#include <string>\n#include <vector>\n+#include <boost/container/small_vector.hpp>\n#include <boost/iterator/indirect_iterator.hpp>\n#include <google/protobuf/repeated_field.h>\n...
C++
Apache License 2.0
apache/mesos
Used boost `small_vector` in `Resources`. Master + previous patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 allocations in 16.307044003secs Made 0 allocation in 14.948262599secs Master + previous patch + this patch: *HierarchicalAllocator_WithQuotaParam.LargeAndSmallQuota/2 Made 3500 alloc...
46,103
24.08.2019 22:38:51
-7,200
98c54882f1be64932b29d73dbccf9f1b96dead49
Refactored resource provider call validation. This patch collects validation of the presence of a resource provider ID in a resource provider call into a single place. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/validation.cpp", "new_path": "src/resource_provider/validation.cpp", "diff": "@@ -37,6 +37,19 @@ Option<Error> validate(const Call& call)\nreturn Error(\"Expecting 'type' to be present\");\n}\n+ switch (call.type()) {\n+ case Call::UNKNOW...
C++
Apache License 2.0
apache/mesos
Refactored resource provider call validation. This patch collects validation of the presence of a resource provider ID in a resource provider call into a single place. Review: https://reviews.apache.org/r/71339/
46,103
24.08.2019 22:38:55
-7,200
764ff9af98a2e02f21630795f1eba0d04294fabf
Allowed passing resource provider infos into call validation. With this patch it becomes possible to take a `ResourceProviderInfo` into account when validating calls. While this feature is currently unused, we will add additional validations in a follow-up patch. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/driver.cpp", "new_path": "src/resource_provider/driver.cpp", "diff": "@@ -45,7 +45,7 @@ namespace {\nOption<Error> validate(const mesos::v1::resource_provider::Call& call)\n{\nreturn mesos::internal::resource_provider::validation::call::v...
C++
Apache License 2.0
apache/mesos
Allowed passing resource provider infos into call validation. With this patch it becomes possible to take a `ResourceProviderInfo` into account when validating calls. While this feature is currently unused, we will add additional validations in a follow-up patch. Review: https://reviews.apache.org/r/71340/
46,128
24.08.2019 18:28:44
25,200
7d737b3f01495f8831c6af3d958ef4629f39abc5
Fixed a typo in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -390,7 +390,7 @@ Master::Master(\nMaster::~Master() {}\n-hashset<string> Master::misingMinimumCapabilities(\n+hashset<string> Master::missingMinimumCapabilities(\nconst MasterInfo& master...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the master. Review: https://reviews.apache.org/r/71284/
46,103
26.08.2019 10:06:18
-7,200
48c20bf257da60eaf714017efec0d4a80c203c04
Updated site's dependencies. This bumps e.g., `nokogiri` to a version not affected by CVE-2019-5477 anymore (not that it would have any impact on our use of it). Review:
[ { "change_type": "MODIFY", "old_path": "site/Gemfile.lock", "new_path": "site/Gemfile.lock", "diff": "GEM\nremote: https://rubygems.org/\nspecs:\n- activesupport (4.2.10)\n+ activesupport (4.2.11.1)\ni18n (~> 0.7)\nminitest (~> 5.1)\nthread_safe (~> 0.3, >= 0.3.4)\n@@ -13,7 +13,7 @@ GEM\nrack (>= 1....
C++
Apache License 2.0
apache/mesos
Updated site's dependencies. This bumps e.g., `nokogiri` to a version not affected by CVE-2019-5477 anymore (not that it would have any impact on our use of it). Review: https://reviews.apache.org/r/71367/
46,103
26.08.2019 18:18:07
-7,200
c104977894e2abb36aa0a78456c54fb74a20543e
Updated site's middleman versions. Review:
[ { "change_type": "MODIFY", "old_path": "site/Gemfile", "new_path": "site/Gemfile", "diff": "source 'https://rubygems.org'\n-gem 'middleman', '3.4.0'\n-gem 'middleman-livereload', '3.4.6'\n-gem 'middleman-syntax', '3.0.0'\n-gem 'middleman-blog', '3.5.3'\n+gem 'middleman', '~>3'\n+gem 'middleman-liver...
C++
Apache License 2.0
apache/mesos
Updated site's middleman versions. Review: https://reviews.apache.org/r/71368/
46,177
24.07.2019 15:45:22
25,200
5124b290ddc368e2e7cc3d56173fb4b3137af620
Moved master-side agent draining tests into a separate file. The test bodies were not changed, besides renaming the test class. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2609,6 +2609,7 @@ mesos_tests_SOURCES = \\\ntests/master_authorization_tests.cpp \\\ntests/master_benchmarks.cpp \\\ntests/master_contender_detector_tests.cpp \\\n+ tests/master_draining_tests.cpp \...
C++
Apache License 2.0
apache/mesos
Moved master-side agent draining tests into a separate file. The test bodies were not changed, besides renaming the test class. Review: https://reviews.apache.org/r/71314
46,177
07.08.2019 09:02:01
25,200
1e3661982eba6da71a5ca8178472ef762d9fc780
Added draining tests for empty agents. This splits the existing agent draining tests into two variants: 1) where the agent has nothing running, and 2) where the agent has one task running. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_draining_tests.cpp", "new_path": "src/tests/master_draining_tests.cpp", "diff": "#include \"common/protobuf_utils.hpp\"\n#include \"common/resources_utils.hpp\"\n+#include \"master/registry_operations.hpp\"\n+\n#include \"messages/messages.hpp...
C++
Apache License 2.0
apache/mesos
Added draining tests for empty agents. This splits the existing agent draining tests into two variants: 1) where the agent has nothing running, and 2) where the agent has one task running. Review: https://reviews.apache.org/r/71316
46,177
19.08.2019 12:11:18
25,200
5c5712869876cad50a34af29cdcbfac9b1e9eb45
Added draining test for momentarily disconnected agents. This exercises the agent draining code when the agent is disconnected from the master at the time of starting draining. Draining is expected to proceed once the agent reregisters. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_draining_tests.cpp", "new_path": "src/tests/master_draining_tests.cpp", "diff": "@@ -254,6 +254,99 @@ TEST_P(MasterAlreadyDrainedTest, DrainAgentMarkGone)\n}\n+// When an operator submits a DRAIN_AGENT call with an agent that has\n+// momentar...
C++
Apache License 2.0
apache/mesos
Added draining test for momentarily disconnected agents. This exercises the agent draining code when the agent is disconnected from the master at the time of starting draining. Draining is expected to proceed once the agent reregisters. Review: https://reviews.apache.org/r/71317
46,177
19.08.2019 14:35:34
25,200
50dcd56a42ee03d354f39cb029befe9e60e7f0bf
Added agent reactivations to the existing agent draining tests. This adds an extra step to a couple of the agent draining tests, which calls REACTIVATE_AGENT at the end. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_draining_tests.cpp", "new_path": "src/tests/master_draining_tests.cpp", "diff": "@@ -563,11 +563,18 @@ TEST_P(MasterDrainingTest, DrainAgent)\nFutureArg<1>(&killedUpdate),\nv1::scheduler::SendAcknowledge(frameworkId, agentId)));\n+ Future<Stat...
C++
Apache License 2.0
apache/mesos
Added agent reactivations to the existing agent draining tests. This adds an extra step to a couple of the agent draining tests, which calls REACTIVATE_AGENT at the end. Review: https://reviews.apache.org/r/71318
46,055
27.08.2019 09:29:21
-28,800
9a5b2986a74006cb68e2262b4b2d5f7e22058a27
Added to the 1.9.0 release highlights. The style of the Containerization section in the 1.9.0 release highlights was also updated to be consistent with other sections.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -14,19 +14,22 @@ This release contains the following highlights:\n* Containerization:\n- * [MESOS-9760] - A new `--docker_ignore_runtime` flag has been\n- added. This causes the agent to ignore any runtime confi...
C++
Apache License 2.0
apache/mesos
Added MESOS-9795 to the 1.9.0 release highlights. The style of the Containerization section in the 1.9.0 release highlights was also updated to be consistent with other sections.
46,055
27.08.2019 10:16:52
-28,800
5dfa256ac63775b3942b68fdc99f6a58345f1ab8
Updated `upgrades.md` for the configurable shared memory project.
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -51,17 +51,21 @@ We categorize the changes as follows:\n<li>A <a href=\"#1-9-x-linux-nnp-isolator\">Linux NNP isolator</a></li>\n<li>A <a href=\"#1-9-x-hostname-validation-scheme\">hostname_validat...
C++
Apache License 2.0
apache/mesos
Updated `upgrades.md` for the configurable shared memory project.
46,055
26.08.2019 19:42:50
25,200
7733783e625fef4dac0d8a8542845e60aeb9e0fc
Updated Mesos version to 1.10.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 9)\n+set(MESOS_MINOR_VERSION 10)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.$...
C++
Apache License 2.0
apache/mesos
Updated Mesos version to 1.10.0.
46,055
26.08.2019 19:47:16
25,200
fd1765df5fa1efc19542930fe705dac74b631009
Updated CHANGELOG for 1.9.0.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "-Release Notes - Mesos - Version 1.9.0 (WIP)\n--------------------------------------------\n+Release Notes - Mesos - Version 1.9.0\n+-------------------------------------\nThis release contains the following highli...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for 1.9.0.
46,165
27.08.2019 12:55:36
14,400
41df731ad2d79e3ced16038e7ff25231f795f1f5
Added quota limits to the 1.9.0 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -2,6 +2,11 @@ Release Notes - Mesos - Version 1.9.0\n-------------------------------------\nThis release contains the following highlights:\n+ * Resource Management:\n+\n+ * Support for quota limits has been add...
C++
Apache License 2.0
apache/mesos
Added quota limits to the 1.9.0 CHANGELOG. Review: https://reviews.apache.org/r/71375
46,177
27.08.2019 18:22:08
25,200
30f83ab3e09ce57d7524a52016516bff493f049f
Added node draining to 1.9.0 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -48,6 +48,10 @@ Additional API Changes:\nNOTE: This new overload is only available when libprocess is compiled\nwith `--enable-ssl`.\n+ * Added new APIs to support automatic node draining via operator APIs.\n+ T...
C++
Apache License 2.0
apache/mesos
Added node draining to 1.9.0 CHANGELOG. Review: https://reviews.apache.org/r/71378/
46,053
28.08.2019 12:10:34
-7,200
279af615b3413f2ff42f96c180189f37d05d1f5b
Added /containerizer/debug endpoint to 1.9.0 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -36,6 +36,11 @@ This release contains the following highlights:\n* The Mesos containerizer now includes ephemeral overlayfs storage in the\ntask disk quota as well as sandbox storage. (MESOS-9900)\n+ * A new `/c...
C++
Apache License 2.0
apache/mesos
Added /containerizer/debug endpoint to 1.9.0 CHANGELOG. Review: https://reviews.apache.org/r/71387
46,057
28.08.2019 16:41:11
-7,200
5569b181fe629454f8806bf1d62bb748df5ae646
Updated CHANGELOG entry for agent draining. Moved the CHANGELOG entry for agent draining into a separate `Maintenance` subsection and added an item to `docs/upgrades.md` covering the feature. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -2,6 +2,12 @@ Release Notes - Mesos - Version 1.9.0\n-------------------------------------\nThis release contains the following highlights:\n+ * Maintenance:\n+\n+ * Added new APIs to support automatic node drai...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG entry for agent draining. Moved the CHANGELOG entry for agent draining into a separate `Maintenance` subsection and added an item to `docs/upgrades.md` covering the feature. Review: https://reviews.apache.org/r/71389/
46,143
29.08.2019 11:29:30
18,000
00f7f48e4f4ef599a41c5f63e0afe6c51cc6894f
Updated release guide. Added steps for dropping the staging repository on failed vote for an ARC.
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -193,8 +193,10 @@ This guide describes the process of doing an official release of Mesos.\n## Preparing a New Release Candidate\n-1. If the vote does not pass (any -1s or showstopper bugs...
C++
Apache License 2.0
apache/mesos
Updated release guide. Added steps for dropping the staging repository on failed vote for an ARC.
46,165
29.08.2019 12:59:01
14,400
2a25238d1514e27d641383db6cd0f6b6554e595c
Removed experimental warning from UPDATE_QUOTA call. This is now a fully functional feature and is released in 1.9. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -274,10 +274,6 @@ message Call {\nrequired SlaveID slave_id = 1;\n}\n- // EXPERIMENTAL DO NOT USE.\n- //\n- // This feature is not implementation complete.\n- //\n...
C++
Apache License 2.0
apache/mesos
Removed experimental warning from UPDATE_QUOTA call. This is now a fully functional feature and is released in 1.9. Review: https://reviews.apache.org/r/71411
46,165
29.08.2019 12:59:54
14,400
e3a000a065b25f1f845edea4d5fab0137a1b2159
Updated upgrades.md to note quota limits changes. In particular: * UPDATE_QUOTA replaces the old SET_QUOTA and REMOVE_QUOTA calls. * Quota guarantees are still functional, but deprecated in preparation for optimistic offers. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -48,6 +48,7 @@ We categorize the changes as follows:\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Mesos Core-->\n<ul style=\"padding-left:10px;\">\n+ <li>A <a href=\"#1-9-x-...
C++
Apache License 2.0
apache/mesos
Updated upgrades.md to note quota limits changes. In particular: * UPDATE_QUOTA replaces the old SET_QUOTA and REMOVE_QUOTA calls. * Quota guarantees are still functional, but deprecated in preparation for optimistic offers. Review: https://reviews.apache.org/r/71412
46,087
30.08.2019 13:04:22
-7,200
43b86da531a889b1c4b1d7ca6acb2eb924ea01e1
Gracefully handled duplicated volumes from non-conforming CSI plugins. If the SLRP uses a plugin that does not conform to the CSI spec and reports duplicated volumes, the duplicate would be removed. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -673,7 +673,9 @@ Future<Nothing> StorageLocalResourceProviderProcess::recover()\n}\n}\n- LOG(INFO) << \"Finished recovery for resource provider w...
C++
Apache License 2.0
apache/mesos
Gracefully handled duplicated volumes from non-conforming CSI plugins. If the SLRP uses a plugin that does not conform to the CSI spec and reports duplicated volumes, the duplicate would be removed. Review: https://reviews.apache.org/r/71414/
46,128
30.08.2019 10:23:10
10,800
93963c46b803f59554e12afe9c66605600c7f5b8
Updated docs for the AGENT_DRAINING capability. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -92,8 +92,8 @@ Example:\n</td>\n<td>\nJSON representation of agent features to whitelist. We always require\n-'MULTI_ROLE', 'HIERARCHICAL_ROLE', 'RESERVATION_REFINEMENT', and\...
C++
Apache License 2.0
apache/mesos
Updated docs for the AGENT_DRAINING capability. Review: https://reviews.apache.org/r/71405/
46,128
30.08.2019 11:48:18
10,800
e5bf1b61ec140f70ad90d522dc37a4ea82554221
Fixed formatting in the upgrade docs.
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -528,6 +528,7 @@ We categorize the changes as follows:\nSee [`docs/maintenance`](maintenance.md) for details.\n<a name=\"1-9-x-agent-features\"></a>\n+\n* The Mesos agent now requires the new `AGEN...
C++
Apache License 2.0
apache/mesos
Fixed formatting in the upgrade docs.
46,143
30.08.2019 10:10:05
18,000
9297e2d3b0d44b553fc89bcf5f6109c76cc53668
Fixed the link to RAO staging repo in the release guide.
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -173,7 +173,7 @@ This guide describes the process of doing an official release of Mesos.\nscheme. `R` is release candidate version that starts with 1.\n4. Tag the release externally and d...
C++
Apache License 2.0
apache/mesos
Fixed the link to RAO staging repo in the release guide.
46,055
30.08.2019 17:32:31
-28,800
57f9b46a743a1916f0bd56c8c91e881c9ad9b7d3
Updated `release-guide.md`. Removed unnecessary steps and added the steps for pushing changes to remote master and release branch. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -62,7 +62,7 @@ This guide describes the process of doing an official release of Mesos.\n## Preparation\n1. If this is a regular release, create a new release branch (<major>.<minor>.x)\n-...
C++
Apache License 2.0
apache/mesos
Updated `release-guide.md`. Removed unnecessary steps and added the steps for pushing changes to remote master and release branch. Review: https://reviews.apache.org/r/71415
46,103
01.09.2019 16:57:37
-7,200
55028504b4c7ccd09de584d78334e9f00f411ae7
Fixed anchor name in upgrades guide. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -566,7 +566,7 @@ We categorize the changes as follows:\n* The `SET_QUOTA` and `REMOVE QUOTA` master calls are deprecated in favor of a new `UPDATE_QUOTA` master call.\n-<a name=\"#1-9-x-quota-guara...
C++
Apache License 2.0
apache/mesos
Fixed anchor name in upgrades guide. Review: https://reviews.apache.org/r/71419
46,103
01.09.2019 18:22:12
-7,200
1199ea1caf978bc1214f85ea641a45d3efc1fd38
Fixed typo in reservation documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/reservation.md", "new_path": "docs/reservation.md", "diff": "@@ -313,7 +313,7 @@ field which we can use to specify the resources to be unreserved.\nThe unreserved resources may now be offered to other frameworks.\n<a name=\"offer-operation-reserve-reserva...
C++
Apache License 2.0
apache/mesos
Fixed typo in reservation documentation. Review: https://reviews.apache.org/r/71420
46,103
02.09.2019 11:10:38
-7,200
7e30597783f9501faab02b930f26a19eeb666989
Prevented logging of coverity token in CI. Review:
[ { "change_type": "MODIFY", "old_path": "support/docker-build.sh", "new_path": "support/docker-build.sh", "diff": "@@ -168,9 +168,10 @@ if [ -n \"$COVERITY_TOKEN\" ]\n# Download coverity tools, build using coverity wrapper and upload results.\nappend_dockerfile \"ENV MESOS_VERSION $(grep \"AC_INIT\" ...
C++
Apache License 2.0
apache/mesos
Prevented logging of coverity token in CI. Review: https://reviews.apache.org/r/70566/
46,072
03.09.2019 10:27:53
25,200
dcce9ad9ab2ed588ac64481cee7265f63e0aa4f6
Renamed `toAllocate` into `toOffer` in `HierarchialAllocatorProcess`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2101,7 +2101,7 @@ void HierarchicalAllocatorProcess::__generateOffers()\n// We need to allocate guarantees unconditionally here so that\n// ev...
C++
Apache License 2.0
apache/mesos
Renamed `toAllocate` into `toOffer` in `HierarchialAllocatorProcess`. Review: https://reviews.apache.org/r/71400/
46,072
03.09.2019 10:27:59
25,200
3947dcdee6153b24acc40316c57a7d8168c32c30
Renamed totalAllocatedReservation -> totalOfferedOrAllocatedReservation. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1883,14 +1883,14 @@ void HierarchicalAllocatorProcess::__generateOffers()\n// TODO(mzhu): make allocation tracking hierarchical, so that we on...
C++
Apache License 2.0
apache/mesos
Renamed totalAllocatedReservation -> totalOfferedOrAllocatedReservation. Review: https://reviews.apache.org/r/71401/
46,072
03.09.2019 10:28:05
25,200
997df8bf880dfcc0f848fb3eedceff7a256edf66
Renamed *Allocation into *Offering in __generateOffers(). Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2075,7 +2075,7 @@ void HierarchicalAllocatorProcess::__generateOffers()\n!Resources::isRevocable(resource);\n});\n- Resources guaranteesAlloca...
C++
Apache License 2.0
apache/mesos
Renamed *Allocation into *Offering in __generateOffers(). Review: https://reviews.apache.org/r/71402/
46,103
04.09.2019 13:03:20
-7,200
4676938dbff75ab0badd6dad35496285ddcff65c
Removed unused and unimplemented method declaration. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.hpp", "new_path": "src/resource_provider/storage/provider.hpp", "diff": "@@ -48,9 +48,6 @@ public:\nconst Option<std::string>& authToken,\nbool strict);\n- static Try<process::http::authentication::Principal> principal(\n...
C++
Apache License 2.0
apache/mesos
Removed unused and unimplemented method declaration. Review: https://reviews.apache.org/r/71382/
46,103
04.09.2019 13:03:22
-7,200
d1b32cc3753001f7001dfa30fcea9000264001ef
Added stringification for resource provider calls. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_provider/resource_provider.hpp", "new_path": "include/mesos/resource_provider/resource_provider.hpp", "diff": "@@ -40,6 +40,14 @@ inline std::ostream& operator<<(\nreturn stream << Event::Type_Name(eventType);\n}\n+\n+inline std::ostream...
C++
Apache License 2.0
apache/mesos
Added stringification for resource provider calls. Review: https://reviews.apache.org/r/71383/
46,072
06.09.2019 14:15:38
25,200
7eb21c41ed255184988298e29644bf7f310c3374
Moved `removeOffers()` from `Master::accept()` into `Master::_accept()`. This patch moves offer removal on accept into the deferred continuation that follows authorization (if offers pass validation in `accept()`). Incrementing the `offers_accepted` metric is also moved to `_accept()`. This is a prerequisite for implem...
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4427,48 +4427,32 @@ void Master::accept(\n// From now on, we are handling the valid offers case.\n+ // Get slave id and allocation info from some existing offer\n+ // (as they are valid,...
C++
Apache License 2.0
apache/mesos
Moved `removeOffers()` from `Master::accept()` into `Master::_accept()`. This patch moves offer removal on accept into the deferred continuation that follows authorization (if offers pass validation in `accept()`). Incrementing the `offers_accepted` metric is also moved to `_accept()`. This is a prerequisite for imp...
46,072
06.09.2019 14:15:54
25,200
927b012e96abeebbb02c293698be1ef43867e15f
Replaced removeOffer + recoverResources pairs with specialized helpers. This patch adds helper methods `Master::rescindOffer()` / `Master::discardOffer()` that recover offer's resources in the allocator and remove the offer, and replaces paired calls of `removeOffer()` + `allocator->recoverResources()` with these helpe...
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -4336,13 +4336,7 @@ Future<Response> Master::Http::_operation(\n// NOTE: However it's entirely possible that these resources are\n// offered to other frameworks in the next 'allocate' and the...
C++
Apache License 2.0
apache/mesos
Replaced removeOffer + recoverResources pairs with specialized helpers. This patch adds helper methods `Master::rescindOffer()` / `Master::discardOffer()` that recover offer's resources in the allocator and remove the offer, and replaces paired calls of `removeOffer()` + `allocator->recoverResources()` with these help...
46,103
09.09.2019 15:46:29
-7,200
48819af30933943734311259d8a69ce84d884548
Punctually disabled pylint's `cyclic-import` warning. In certain places in the new CLI we reimport symbols into other modules. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/__init__.py", "new_path": "src/python/cli_new/lib/cli/__init__.py", "diff": "Mesos CLI Module\n\"\"\"\n+# pylint: disable=cyclic-import\nfrom . import config\n-from . import exceptions\nfrom . import plugins\n+\n+from . import except...
C++
Apache License 2.0
apache/mesos
Punctually disabled pylint's `cyclic-import` warning. In certain places in the new CLI we reimport symbols into other modules. Review: https://reviews.apache.org/r/71453
46,177
09.09.2019 10:37:57
25,200
b24ab0a97e0043cb4a06624f7593dec9e15f5661
Added documentation about standalone containers. This outlines some of the differences to expect from this new type of container and shows some example API calls. Review:
[ { "change_type": "MODIFY", "old_path": "docs/csi.md", "new_path": "docs/csi.md", "diff": "@@ -80,7 +80,7 @@ More details about SLRP can be found in the following [section](#storage-local-r\nCSI plugins are long-running [gRPC](https://grpc.io/) services, like daemons.\nThose CSI plugins are packaged ...
C++
Apache License 2.0
apache/mesos
Added documentation about standalone containers. This outlines some of the differences to expect from this new type of container and shows some example API calls. Review: https://reviews.apache.org/r/65112/
46,103
09.09.2019 17:47:56
-7,200
4f7ba4101375ac8c8b2cbd1e855ceea72f03d58b
Activated tests for `src/python/lib`. This directory already had a tox config, but this setup was never excercised automatically. This patch adds a test running `tox` for that directory. We require `tox` to be present in the system and add configure-time checks for that. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -181,6 +181,12 @@ if (ENABLE_NEW_CLI)\nendif ()\nendif ()\n+ # Find `tox` for testing `src/python/lib/`.\n+ find_program(TOX tox)\n+ if (NOT TOX)\n+ message(FATAL_ER...
C++
Apache License 2.0
apache/mesos
Activated tests for `src/python/lib`. This directory already had a tox config, but this setup was never excercised automatically. This patch adds a test running `tox` for that directory. We require `tox` to be present in the system and add configure-time checks for that. Review: https://reviews.apache.org/r/71457/
46,148
03.09.2019 13:44:39
25,200
fdaabac781d62f7c969064009e6dc8e109617b74
Removed `Sorter::allocation(const SlaveID& slaveId)`. This paves the way for removing the allocation info tracking in the sorter (in favor of tracking them in the allocator). Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2348,18 +2348,16 @@ void HierarchicalAllocatorProcess::generateInverseOffers()\n// want the master to create `InverseOffer`s from.\nhashmap<Fr...
C++
Apache License 2.0
apache/mesos
Removed `Sorter::allocation(const SlaveID& slaveId)`. This paves the way for removing the allocation info tracking in the sorter (in favor of tracking them in the allocator). Review: https://reviews.apache.org/r/71428
46,148
05.09.2019 14:00:28
25,200
09003294faab3cd3114f24e747c252a4c7433de0
Improved allocator inverse offer test. The test is augmented to also check that a framework that declined offers from an agent will not get inverse offers for that agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -1055,6 +1055,8 @@ TEST_F(HierarchicalAllocatorTest, SmallOfferFilterTimeout)\n// This test ensures that agents which are scheduled for maintenan...
C++
Apache License 2.0
apache/mesos
Improved allocator inverse offer test. The test is augmented to also check that a framework that declined offers from an agent will not get inverse offers for that agent. Review: https://reviews.apache.org/r/71440
46,128
12.09.2019 16:33:20
25,200
8e1a51207304589a6521cff3540e0705fe1533ff
Fixed a bug for non-partition-aware schedulers. Previously, the agent would send task status updates with the state TASK_GONE_BY_OPERATOR to all schedulers when an agent was drained with the `mark_gone` parameter set to `true`. This patch updates this code to ensure that TASK_GONE_BY_OPERATOR is only sent to partition-...
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -5773,40 +5773,6 @@ void Slave::statusUpdate(StatusUpdate update, const Option<UPID>& pid)\nupdate.mutable_status()->set_source(\npid == UPID() ? TaskStatus::SOURCE_SLAVE : TaskStatus::SOURCE...
C++
Apache License 2.0
apache/mesos
Fixed a bug for non-partition-aware schedulers. Previously, the agent would send task status updates with the state TASK_GONE_BY_OPERATOR to all schedulers when an agent was drained with the `mark_gone` parameter set to `true`. This patch updates this code to ensure that TASK_GONE_BY_OPERATOR is only sent to partitio...
46,055
09.09.2019 14:45:28
-28,800
d512dc2e11a27d12c438d31b6d18670eb9ddd615
Updated site information for the 1.9.0 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 site information for the 1.9.0 release.
46,103
12.09.2019 10:20:13
-7,200
a1a2411da60ac5d01bccca220b4782a19bada50b
Removed race in `StorageLocalResourceProviderTest.Update`. The agent might take some time before registering with the master which could have lead to unexpected retries in this test which the clock was resumed. This patch simplifies the test so we do not rely on `UpdateSlaveMessage` anymore. 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": "@@ -6825,7 +6825,7 @@ TEST_P(StorageLocalResourceProviderTest, Update)\nASSERT_SOME(\nos::write(profilesPath, createDiskProfileMap...
C++
Apache License 2.0
apache/mesos
Removed race in `StorageLocalResourceProviderTest.Update`. The agent might take some time before registering with the master which could have lead to unexpected retries in this test which the clock was resumed. This patch simplifies the test so we do not rely on `UpdateSlaveMessage` anymore. Review: https://reviews.a...
46,103
17.09.2019 17:20:03
-7,200
9333717e66adff88748354260149ff6b1344c51e
Included new Python CLI in distribution tarball. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1846,14 +1846,52 @@ mesos_resolve_CPPFLAGS = $(MESOS_CPPFLAGS)\nmesos_resolve_LDADD = libmesos.la $(LDADD)\nbin_PROGRAMS += mesos\n+\n+NEW_CLI_PLUGINS = \\\n+ python/cli_new/lib/cli/plugins/agent/__...
C++
Apache License 2.0
apache/mesos
Included new Python CLI in distribution tarball. Review: https://reviews.apache.org/r/71430/
46,103
18.09.2019 11:37:09
-7,200
2232d48ce5b07c4e094c6850cb28212495824110
Moved cpplint configuration into dedicated file. With this change we not only reduce the amount of code in `support/mesos-style.py` in favor of a configuration supported by upstream, but we also make it easier to interoperate with editor integrations for cpplint. Review:
[ { "change_type": "MODIFY", "old_path": "bootstrap", "new_path": "bootstrap", "diff": "@@ -80,6 +80,10 @@ if test ! -e .clang-tidy; then\nln -s support/clang-tidy .clang-tidy\nfi\n+if test ! -e CPPLINT.cfg; then\n+ ln -s support/CPPLINT.cfg CPPLINT.cfg\n+fi\n+\nif [ -n \"$AUTOMAKE\" ] || [ -n \"$ACLO...
C++
Apache License 2.0
apache/mesos
Moved cpplint configuration into dedicated file. With this change we not only reduce the amount of code in `support/mesos-style.py` in favor of a configuration supported by upstream, but we also make it easier to interoperate with editor integrations for cpplint. Review: https://reviews.apache.org/r/70096/
46,103
18.09.2019 11:37:11
-7,200
cbaca81a54720771662c119c80aec6101f120afc
Added gitlint config. This patch adds a config for the gitlint tool which is slated to replace a custom commit-msg hook once we switch our hook infrastructure to the pre-commit tool. Review:
[ { "change_type": "MODIFY", "old_path": "bootstrap", "new_path": "bootstrap", "diff": "@@ -84,6 +84,10 @@ if test ! -e CPPLINT.cfg; then\nln -s support/CPPLINT.cfg CPPLINT.cfg\nfi\n+if test ! -e .gitlint; then\n+ ln -s support/gitlint .gitlint\n+fi\n+\nif [ -n \"$AUTOMAKE\" ] || [ -n \"$ACLOCAL\" ] ;...
C++
Apache License 2.0
apache/mesos
Added gitlint config. This patch adds a config for the gitlint tool which is slated to replace a custom commit-msg hook once we switch our hook infrastructure to the pre-commit tool. Review: https://reviews.apache.org/r/71204/
46,103
18.09.2019 11:37:19
-7,200
fb467a03cb8a5bde5147dc06ca6b73c9df04ff48
Enabled a number of additional pre-commit checks. This patch enables checkers for well-formed YAML and JSON, and a linter which checks that all executable scripts have a valid shebang line. Review:
[ { "change_type": "MODIFY", "old_path": "support/pre-commit-config.yaml", "new_path": "support/pre-commit-config.yaml", "diff": "@@ -46,3 +46,9 @@ repos:\nhooks:\n- id: require-ascii\nexclude: '^(docs/(committers.md|contributors.yaml))|(site|src/webui)/'\n+- repo: https://github.com/pre-commit/pre-co...
C++
Apache License 2.0
apache/mesos
Enabled a number of additional pre-commit checks. This patch enables checkers for well-formed YAML and JSON, and a linter which checks that all executable scripts have a valid shebang line. Review: https://reviews.apache.org/r/71209/
46,103
18.09.2019 13:51:59
-7,200
8a9f8603edb7ed595c1bdb1755981509be8f0bad
Manually created clang-tidy config in mesos-tidy setup. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/entrypoint.sh", "new_path": "support/mesos-tidy/entrypoint.sh", "diff": "@@ -24,8 +24,8 @@ SRCDIR=/tmp/SRC\n# Prepare sources\ngit clone --depth 1 file:///SRC \"${SRCDIR}\"\n-# We require this in order to populate the `.clang-tidy` file at t...
C++
Apache License 2.0
apache/mesos
Manually created clang-tidy config in mesos-tidy setup. Review: https://reviews.apache.org/r/71503
46,177
12.09.2019 17:46:04
25,200
1bbff126299a5bb633f6f8f1731d500e831dded2
Added some extra ASSERTs to a role test. These asserts technically aren't required, since subsequent awaiting for offers assumes that the agents are created successfully. However, it seems useful to fail a bit earlier if the agent creation happens to fail. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/role_tests.cpp", "new_path": "src/tests/role_tests.cpp", "diff": "@@ -509,6 +509,7 @@ TEST_F(RoleTest, RolesEndpointContainsConsumedQuota)\nOwned<MasterDetector> detector = master.get()->createDetector();\nTry<Owned<cluster::Slave>> slave1 = StartSla...
C++
Apache License 2.0
apache/mesos
Added some extra ASSERTs to a role test. These asserts technically aren't required, since subsequent awaiting for offers assumes that the agents are created successfully. However, it seems useful to fail a bit earlier if the agent creation happens to fail. Review: https://reviews.apache.org/r/71481
46,177
12.09.2019 18:08:43
25,200
0691449bbaaee36c8ea7dbebc71bcea278f7630a
Windows: Fixed AllocationRoleEnvironmentVariable tests. These tests were using a shell script, which can easily be converted to a batch script on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/command_executor_tests.cpp", "new_path": "src/tests/command_executor_tests.cpp", "diff": "@@ -466,7 +466,11 @@ TEST_P(CommandExecutorTest, AllocationRoleEnvironmentVariable)\nTaskInfo task = createTask(\noffers->front().slave_id(),\noffers->front().r...
C++
Apache License 2.0
apache/mesos
Windows: Fixed AllocationRoleEnvironmentVariable tests. These tests were using a shell script, which can easily be converted to a batch script on Windows. Review: https://reviews.apache.org/r/71509
46,177
18.09.2019 12:24:39
25,200
4da3fcdc4ea6b4079d760a265ec67d8478defd80
Windows: Disabled the dist and distcheck targets with a note. The targets are implemented with shell scripts, so do not work on Windows. The targets are also currently unneeded for the Windows build. Review:
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -96,9 +96,14 @@ option(CPACK_SOURCE_ZIP \"Enable to build ZIP source packages\" OFF)\ninclude(CPack)\n+if (NOT WIN32)\n+ # These targets are intended to mirror the same targets of the Autotools\n+ # bu...
C++
Apache License 2.0
apache/mesos
Windows: Disabled the dist and distcheck targets with a note. The targets are implemented with shell scripts, so do not work on Windows. The targets are also currently unneeded for the Windows build. Review: https://reviews.apache.org/r/71507
46,177
19.09.2019 15:22:15
-7,200
fe1cd0a3bb73ce39314e03a23e4d60f43bab6cf0
Windows: Moved definition out of inline function call. MSVC does not deal with #ifdefs from inside function calls. So here, the `#if defined(...)` was taken literally and is considered a syntax error by MSVC. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "@@ -724,23 +724,23 @@ void reinitialize()\n<< \"(OpenSSL error #\" << stringify(error) << \"): \" << error_string(error);\n}\n- // Clear all the protocol options....
C++
Apache License 2.0
apache/mesos
Windows: Moved definition out of inline function call. MSVC does not deal with #ifdefs from inside function calls. So here, the `#if defined(...)` was taken literally and is considered a syntax error by MSVC. Review: https://reviews.apache.org/r/71478/
46,072
19.09.2019 14:13:57
25,200
b13de7eee6eda644ddb136947a655b9d9439784e
Implemented displaying roles of multi-role frameworks as a tree. This patch makes the UI pages `frameworks` and `framework` display roles of multi-role frameworks as collapsible tree (instead of a list). Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/app/app.js", "new_path": "src/webui/app/app.js", "diff": "templateUrl: 'app/shared/timestamp.html'\n}\n}])\n+ .directive('mFrameworkRoles', function() {\n+ return {\n+ restrict: 'E',\n+ scope: {roles: '=', frameworkId: '='},\n+ templateUrl: 'app/fram...
C++
Apache License 2.0
apache/mesos
Implemented displaying roles of multi-role frameworks as a tree. This patch makes the UI pages `frameworks` and `framework` display roles of multi-role frameworks as collapsible tree (instead of a list). Review: https://reviews.apache.org/r/71178/
46,057
17.09.2019 14:02:39
-7,200
8595a52fa70016f6babb19ec1465c3bbae73f30a
Removed an outdated reference to the 'libprocess' hostname validation. Removed a reference to the 'libprocess' hostname validation scheme, which was renamed to 'legacy' during development. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "@@ -840,7 +840,7 @@ Try<Nothing> verify(\n// the peer hostname using a reverse DNS lookup.\nOption<std::string> peer_hostname = hostname;\nif (ip.isSome()) {\n- V...
C++
Apache License 2.0
apache/mesos
Removed an outdated reference to the 'libprocess' hostname validation. Removed a reference to the 'libprocess' hostname validation scheme, which was renamed to 'legacy' during development. Review: https://reviews.apache.org/r/71496
46,103
19.09.2019 22:42:19
-7,200
8f769b71d5b8ea024c68c01962e7e0b3cbadd56f
Added missing member initialization in `JSON::WriterProxy`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/jsonify.hpp", "new_path": "3rdparty/stout/include/stout/jsonify.hpp", "diff": "@@ -557,7 +557,7 @@ class WriterProxy\n{\npublic:\nWriterProxy(rapidjson::Writer<rapidjson::StringBuffer>* writer)\n- : writer_(writer) {}\n+ : writer_(...
C++
Apache License 2.0
apache/mesos
Added missing member initialization in `JSON::WriterProxy`. Review: https://reviews.apache.org/r/71522
46,103
19.09.2019 22:43:31
-7,200
9a6c69ced048697176ac32d6c99308d1cb05ddee
Bumped mesos-tidy onto upstream release_90. Review:
[ { "change_type": "MODIFY", "old_path": "support/clang-tidy", "new_path": "support/clang-tidy", "diff": "@@ -20,6 +20,7 @@ google-*,\\\n-google-default-arguments,\\\n-google-explicit-constructor,\\\n-google-global-names-in-headers,\\\n+-google-readability-avoid-underscore-in-googletest-name,\\\n-goog...
C++
Apache License 2.0
apache/mesos
Bumped mesos-tidy onto upstream release_90. Review: https://reviews.apache.org/r/71523
46,103
23.09.2019 15:41:53
-7,200
6ded10fe66a19c61497bf8b1b42793a0abf931fd
Adjusted CSI example framework for recent changes. This patch adjusts the CSI example framework for recent cleanups to example frameworks. It now uses generic flag classes which can e.g., parse from both the environment and the command line. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/test_csi_user_framework.cpp", "new_path": "src/examples/test_csi_user_framework.cpp", "diff": "#include <queue>\n#include <string>\n+#include <mesos/authorizer/acls.hpp>\n+\n#include <mesos/v1/mesos.hpp>\n#include <mesos/v1/resources.hpp>\n#includ...
C++
Apache License 2.0
apache/mesos
Adjusted CSI example framework for recent changes. This patch adjusts the CSI example framework for recent cleanups to example frameworks. It now uses generic flag classes which can e.g., parse from both the environment and the command line. Review: https://reviews.apache.org/r/65042/
46,148
18.09.2019 16:45:46
25,200
82f2dfd27449202afaf3feb08bb6d4ddeba7f515
Fixed a bug where sorter may leak clients. It is possible to update allocations to empty in the sorter. See When this happens, sorter will leak client entries, since it does not erase the corresponding entries. This patch fixes this issue. Also added a regression test. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "new_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "diff": "@@ -356,7 +356,7 @@ struct DRFSorter::Node\ntotals -= quantitiesToRemove;\n- if (resources[slaveId].empty()) {\n+ if (resources.at(slave...
C++
Apache License 2.0
apache/mesos
Fixed a bug where sorter may leak clients. It is possible to update allocations to empty in the sorter. See MESOS-9015. When this happens, sorter will leak client entries, since it does not erase the corresponding entries. This patch fixes this issue. Also added a regression test. Review: https://reviews.apache.org/...
46,148
12.09.2019 11:46:23
25,200
5849c4af5fc702d9bb366da44f58ae93a2712f3a
Simplified recover resources when removing frameworks or agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -675,6 +675,15 @@ void HierarchicalAllocatorProcess::removeFramework(\n{\nCHECK(initialized);\n+ // Free up resources on agents if any.\n+ fore...
C++
Apache License 2.0
apache/mesos
Simplified recover resources when removing frameworks or agents. Review: https://reviews.apache.org/r/71476
46,148
12.09.2019 12:38:22
25,200
bdb3a6956f11ebd9ee40de947a079a169799298e
Added a test to ensure resources are recovered during agent removal. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -3066,6 +3066,80 @@ TEST_F(HierarchicalAllocatorTest, UpdateSlaveCapabilities)\n}\n+// This is a regression test for MESOS-621. It ensures that w...
C++
Apache License 2.0
apache/mesos
Added a test to ensure resources are recovered during agent removal. Review: https://reviews.apache.org/r/71479
46,095
24.09.2019 10:45:58
-7,200
ce801bd6b3f56788eb4d3179959fa7290220432d
Fixed documentation on master fault domains.
[ { "change_type": "MODIFY", "old_path": "docs/fault-domains.md", "new_path": "docs/fault-domains.md", "diff": "@@ -33,9 +33,9 @@ agent node. The value of this flag must be a file path or a JSON dictionary\nwith the key `fault_domain` and subkeys `region` and `zone` mapping to\narbitrary strings:\n- m...
C++
Apache License 2.0
apache/mesos
Fixed documentation on master fault domains.
46,053
06.09.2019 17:01:56
-7,200
dee4b849c8179ea46947c8ea4dd031f6eb37b659
Added `futureTracker` to the `SlaveOptions` in tests. `PendingFutureTracker` is shared across both Mesos containerizer and the agent, so we need to add an option to be able to start a slave in tests with an instance of the `futureTrack` as a parameter. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/cluster.cpp", "new_path": "src/tests/cluster.cpp", "diff": "@@ -416,6 +416,7 @@ Try<process::Owned<Slave>> Slave::create(\nconst Option<mesos::slave::QoSController*>& qosController,\nconst Option<mesos::SecretGenerator*>& secretGenerator,\nconst Opti...
C++
Apache License 2.0
apache/mesos
Added `futureTracker` to the `SlaveOptions` in tests. `PendingFutureTracker` is shared across both Mesos containerizer and the agent, so we need to add an option to be able to start a slave in tests with an instance of the `futureTrack` as a parameter. Review: https://reviews.apache.org/r/71454
46,053
25.09.2019 13:55:15
-7,200
afd86db2ef651b33188586a5cafe3e532439534d
Fixed broken links to Linux scheduler documentation.
[ { "change_type": "MODIFY", "old_path": "docs/isolators/cgroups-cpu.md", "new_path": "docs/isolators/cgroups-cpu.md", "diff": "@@ -17,8 +17,8 @@ and assigns `cpu` and `cpuacct` cgroups to each container launched by\nMesos Containerizer.\nCgroups `cpu` subsystem provides 2 mechanisms of limiting the a...
C++
Apache License 2.0
apache/mesos
Fixed broken links to Linux scheduler documentation.
46,165
25.09.2019 10:57:26
14,400
7b1d12267dec7f492c285641b8f25b8e7bd62e17
Added release tweet to the release guide. We forgot to tweet the 1.8.0 and 1.9.0 releases, so this adds it to the release guide.
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -254,6 +254,10 @@ This guide describes the process of doing an official release of Mesos.\n* Mention the blog post in `site/data/releases.yml`.\n+5. Post a tweet from the https://twitter....
C++
Apache License 2.0
apache/mesos
Added @ApacheMesos release tweet to the release guide. We forgot to tweet the 1.8.0 and 1.9.0 releases, so this adds it to the release guide.
46,072
25.09.2019 13:11:08
25,200
aed0b871479ecb1ee36df334c46203b75d682a7e
Fixed Javascript linting and IE compatibility of the UI roles tree. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/app/app.js", "new_path": "src/webui/app/app.js", "diff": "function buildTree(roles) {\nvar root = {};\n- for (var path of roles) {\n- const tokens = path.split('/');\n+ for (var roleIndex = 0; roleIndex < roles.length; roleIndex += 1) {\n+ var tokens...
C++
Apache License 2.0
apache/mesos
Fixed Javascript linting and IE compatibility of the UI roles tree. Review: https://reviews.apache.org/r/71541/
46,103
23.09.2019 10:23:27
-7,200
76fe3881eedfe582a8ee4644056bebe879368408
Cleaned up `HTTPTest.WWWAuthenticateHeader`. This patch removes a number of error-prone temporaries previously reused in the test. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "diff": "@@ -1614,11 +1614,9 @@ TEST_P(HTTPTest, CaseInsensitiveHeaders)\nTEST_P(HTTPTest, WWWAuthenticateHeader)\n{\n- http::Headers headers;\n- headers...
C++
Apache License 2.0
apache/mesos
Cleaned up `HTTPTest.WWWAuthenticateHeader`. This patch removes a number of error-prone temporaries previously reused in the test. Review: https://reviews.apache.org/r/71533
46,103
23.09.2019 10:24:50
-7,200
19280bccfc9d8a02216ec7b912f59973882b74a7
Fixed parsing of HTTP authentication headers. This patch adds support for quoted strings in `Www-Authenticate` headers and allows to use spaces when delimiting authentication attributes of the form `WWW-Autenticate: a=b, c=d`, both of with are allowed by RFC2617. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/http.hpp", "new_path": "3rdparty/libprocess/include/process/http.hpp", "diff": "@@ -434,7 +434,7 @@ public:\n: authScheme_(authScheme),\nauthParam_(authParam) {}\n- static Try<WWWAuthenticate> create(const std::string& value...
C++
Apache License 2.0
apache/mesos
Fixed parsing of HTTP authentication headers. This patch adds support for quoted strings in `Www-Authenticate` headers and allows to use spaces when delimiting authentication attributes of the form `WWW-Autenticate: a=b, c=d`, both of with are allowed by RFC2617. Review: https://reviews.apache.org/r/71534
46,103
25.09.2019 23:01:24
-7,200
f1789b0fe5cad221b79a0bc2adfe2036cce6f33d
Introduced automatic lifecycle management in `DynamicLibrary`. This not only simplifies our implementation of `DynamicLibrary`, but also removes the potential for accidental file descriptor leaks. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/posix/dynamiclibrary.hpp", "new_path": "3rdparty/stout/include/stout/posix/dynamiclibrary.hpp", "diff": "#include <dlfcn.h>\n+#include <memory>\n#include <string>\n#include <stout/nothing.hpp>\nclass DynamicLibrary\n{\npublic:\n- D...
C++
Apache License 2.0
apache/mesos
Introduced automatic lifecycle management in `DynamicLibrary`. This not only simplifies our implementation of `DynamicLibrary`, but also removes the potential for accidental file descriptor leaks. Review: https://reviews.apache.org/r/71388/
46,072
02.10.2019 10:23:25
14,400
4cfe8ccbc2a6807f5c4ca3cc5030c35c15bb147f
Made the MaintenanceInverseOffers test use only one framework. This patch simplifies the test and attepmts to fix by removing the (potential) flakiness caused by agent2's resources being re-offered to framework2. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -1077,22 +1077,17 @@ TEST_F(HierarchicalAllocatorTest, MaintenanceInverseOffers)\n{});\n// This framework will be offered all of the resources.\n...
C++
Apache License 2.0
apache/mesos
Made the MaintenanceInverseOffers test use only one framework. This patch simplifies the test and attepmts to fix MESOS-9980 by removing the (potential) flakiness caused by agent2's resources being re-offered to framework2. Review: https://reviews.apache.org/r/71560/
46,148
10.09.2019 11:51:09
25,200
4dd00c6ad3d8af1d38d496a51f5407ee0e4b1970
Allowed setting quota the default "*" role. There is no clear argument against setting quota on the default "*" role. This patch allows doing so. Tests are updated to check against regressions. Review:
[ { "change_type": "MODIFY", "old_path": "docs/quota.md", "new_path": "docs/quota.md", "diff": "@@ -223,9 +223,9 @@ documentation: [https://github.com/apache/mesos/blob/1.8.0/docs/quota.md](https:\n## Implementation Notes\n-* Quota is not supported for the default `*` role.\n* Quota is not supported o...
C++
Apache License 2.0
apache/mesos
Allowed setting quota the default "*" role. There is no clear argument against setting quota on the default "*" role. This patch allows doing so. Tests are updated to check against regressions. Review: https://reviews.apache.org/r/71464
46,148
25.09.2019 15:41:07
25,200
270a3dce490d5b334f9a0011ea416ffc42e187e4
Documented setting quota on the default role in the release note. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "+Release Notes - Mesos - Version 1.10.0 (WIP)\n+--------------------------------------------\n+\n+Additional API Changes:\n+\n+ * Quota can now be set on the default `*` role.\n+\n+\nRelease Notes - Mesos - Version...
C++
Apache License 2.0
apache/mesos
Documented setting quota on the default role in the release note. Review: https://reviews.apache.org/r/71548
46,055
18.09.2019 16:34:05
-28,800
68c8b12e96a85f60578712152467d851eff4c643
Gc'ed nested container sandbox only if we have root container sandbox. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -2963,11 +2963,13 @@ void MesosContainerizerProcess::______destroy(\nCHECK(containers_.contains(rootContainerId));\n+ if (containers_[r...
C++
Apache License 2.0
apache/mesos
Gc'ed nested container sandbox only if we have root container sandbox. Review: https://reviews.apache.org/r/71501
46,055
19.09.2019 16:33:46
-28,800
a6445fa92e5b7e6ac3b9c9ef634b442d3310090c
Added the test `GarbageCollectorIntegrationTest.ROOT_OrphanContainer`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/gc_tests.cpp", "new_path": "src/tests/gc_tests.cpp", "diff": "@@ -1531,6 +1531,114 @@ TEST_F(GarbageCollectorIntegrationTest, ROOT_DanglingMount)\ndriver.stop();\ndriver.join();\n}\n+\n+\n+// This is a regression test for MESOS-9966. It enables the a...
C++
Apache License 2.0
apache/mesos
Added the test `GarbageCollectorIntegrationTest.ROOT_OrphanContainer`. Review: https://reviews.apache.org/r/71518
46,148
04.10.2019 10:48:40
14,400
3457771b42993c85e3da3c4550b233f61b14bc99
Made `CHECK` in sorter print out more info upon failure. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "new_path": "src/master/allocator/mesos/sorter/drf/sorter.hpp", "diff": "@@ -333,7 +333,8 @@ struct DRFSorter::Node\nvoid subtract(const SlaveID& slaveId, const Resources& toRemove)\n{\n- CHECK(resources.conta...
C++
Apache License 2.0
apache/mesos
Made `CHECK` in sorter print out more info upon failure. Review: https://reviews.apache.org/r/71581
46,072
04.10.2019 18:14:24
14,400
d8b53ede93446ac681683125fb0b6d49cdfa6f71
Added `isAllocated` flag to the `Allocator::recoverResources()` method. This patch extends the signature of `recoverResources()` with a flag indicating wheteher the resources being recovered were actaully allocated to a framework, or only offered. This is a prerequisite for tracking quota consumption in the allocator. ...
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -376,10 +376,12 @@ public:\n* Recovers resources.\n*\n* Used to update the set of available resources for a specific agent. This\n- * method is invoked to ...
C++
Apache License 2.0
apache/mesos
Added `isAllocated` flag to the `Allocator::recoverResources()` method. This patch extends the signature of `recoverResources()` with a flag indicating wheteher the resources being recovered were actaully allocated to a framework, or only offered. This is a prerequisite for tracking quota consumption in the allocator...
46,072
04.10.2019 18:14:37
14,400
4b34a90c0a01a944f1c7a556d5d7a40e9e3dd2b1
Added method to notify allocator that offered transitioned to allocated. This is a prerequisite for tracking quota consumption in allocator. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -372,6 +372,13 @@ public:\nhashmap<FrameworkID, mesos::allocator::InverseOfferStatus>>>\ngetInverseOfferStatuses() = 0;\n+ /**\n+ * This method should be i...
C++
Apache License 2.0
apache/mesos
Added method to notify allocator that offered transitioned to allocated. This is a prerequisite for tracking quota consumption in allocator. Review: https://reviews.apache.org/r/71487/