author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
46,188 | 15.12.2017 10:18:23 | 28,800 | a2bae69ebb0e191f2a4b91d3a07d2302a8126421 | Updated CHANGELOG about the change to GET_CONTAINERS API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -17,6 +17,8 @@ Additional API Changes:\n* [MESOS-7550] The fields `Resource.disk.source.path.root` and\n`Resource.disk.source.mount.root` can now be set to relative paths\nto an agent's work directory.\n+ * [MES... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG about the change to GET_CONTAINERS API.
Review: https://reviews.apache.org/r/64654 |
46,188 | 15.12.2017 10:25:01 | 28,800 | c07eab683aa7b3c94e6fafc08725b2613a8476e4 | Updated upgrades.md about the GET_CONTAINERS API change.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/upgrades.md",
"new_path": "docs/upgrades.md",
"diff": "@@ -75,6 +75,7 @@ We categorize the changes as follows:\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Endpoints-->\n<ul style=\"padding-left:10px;\">\n+ <li>A <a href=\"#1-5-x-g... | C++ | Apache License 2.0 | apache/mesos | Updated upgrades.md about the GET_CONTAINERS API change.
Review: https://reviews.apache.org/r/64655 |
46,188 | 15.12.2017 11:05:46 | 28,800 | da538bdb898db47d619328f58310cc7dac4eb48c | Added validation for VIEW_STANDALONE_CONTAINER ACL.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/authorizer/local/authorizer.cpp",
"new_path": "src/authorizer/local/authorizer.cpp",
"diff": "@@ -1667,6 +1667,14 @@ Option<Error> LocalAuthorizer::validate(const ACLs& acls)\n}\n}\n+ foreach (const ACL::ViewStandaloneContainer& acl,\n+ acls.view_standalon... | C++ | Apache License 2.0 | apache/mesos | Added validation for VIEW_STANDALONE_CONTAINER ACL.
Review: https://reviews.apache.org/r/64656 |
46,188 | 15.12.2017 11:06:11 | 28,800 | 071e8cfbedf084196df7df427a9b12ed8a3cf8fa | Added tests for VIEW_STANDALONE_CONTAINER ACL.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/authorization_tests.cpp",
"new_path": "src/tests/authorization_tests.cpp",
"diff": "@@ -5376,6 +5376,66 @@ TYPED_TEST(AuthorizationTest, GetMaintenanceStatus)\n}\n+// This tests the authorization of requests to ViewStandaloneContainer.\n+TYPED_TEST(A... | C++ | Apache License 2.0 | apache/mesos | Added tests for VIEW_STANDALONE_CONTAINER ACL.
Review: https://reviews.apache.org/r/64657 |
46,114 | 12.12.2017 09:29:31 | 28,800 | c8ee3a020486c80bd89a82ee19ef798f19277c91 | Windows: Silenced known deprecation warning from Google Test.
We previously fixed the Google Test build by defining
`_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING` when building Google Test,
but by not also adding it to the interface, it generates a warning for
every test file including it. This is very noisy, and we have... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -719,6 +719,8 @@ if (WIN32)\nset_target_properties(\ngtest PROPERTIES\n+ # Silence deprecation warning in the interface of Google Test.\n+ INTERFACE_COMPILE_DEFINITIONS _SILENCE_TR1_N... | C++ | Apache License 2.0 | apache/mesos | Windows: Silenced known deprecation warning from Google Test.
We previously fixed the Google Test build by defining
`_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING` when building Google Test,
but by not also adding it to the interface, it generates a warning for
every test file including it. This is very noisy, and we hav... |
46,114 | 13.12.2017 17:22:22 | 28,800 | 51d1e8e1e11d7a6a66ac809cb2bedba199ea4ba9 | Windows: Stopped compiling files with no source code.
These two `utils.cpp` files have no code on Windows due to the source
being wrapped in `#ifdef __linux__`, and so they generate warnings as
the compiled objects defined no new symbols. Since they are unused,
removing them from the Windows build fixes the warning. | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -146,13 +146,11 @@ set(AGENT_SRC\nslave/containerizer/mesos/launcher.cpp\nslave/containerizer/mesos/mount.cpp\nslave/containerizer/mesos/paths.cpp\n- slave/containerizer/mesos/utils.cpp\nslave/... | C++ | Apache License 2.0 | apache/mesos | Windows: Stopped compiling files with no source code.
These two `utils.cpp` files have no code on Windows due to the source
being wrapped in `#ifdef __linux__`, and so they generate warnings as
the compiled objects defined no new symbols. Since they are unused,
removing them from the Windows build fixes the warning. |
46,139 | 15.12.2017 16:02:35 | 28,800 | a4b1134e4e407d8523e6f1c53aa709fd6aaba003 | Made OfferOperationStatusUpdateManager tests pass on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/status_update_manager/status_update_manager_process.hpp",
"new_path": "src/status_update_manager/status_update_manager_process.hpp",
"diff": "@@ -634,6 +634,9 @@ private:\n// Open the updates file.\nTry<int_fd> result = os::open(\npath.get(),\n+#ifdef __WI... | C++ | Apache License 2.0 | apache/mesos | Made OfferOperationStatusUpdateManager tests pass on Windows.
Review: https://reviews.apache.org/r/64522/ |
46,148 | 15.12.2017 14:52:22 | 28,800 | 4fa909245c1ec8a4bc50f9867164be1f1e3653ef | Fixed a bug with quota headroom that can leave reservations unallocated.
Also fixed a bug where quota headroom may include revocable resources.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1819,73 +1819,96 @@ void HierarchicalAllocatorProcess::__allocate()\n}\n}\n- // Calculate the total quantity of scalar resources (including re... | C++ | Apache License 2.0 | apache/mesos | Fixed a bug with quota headroom that can leave reservations unallocated.
Also fixed a bug where quota headroom may include revocable resources.
Review: https://reviews.apache.org/r/64636/ |
46,148 | 15.12.2017 17:51:54 | 28,800 | 2763792a16cb2a7579c0a150ed4d3ac523d92883 | Added a test to ensure non-quota role reservations are allocated.
This test checks against the symptom of failing to allocate
non-quota role's reservations if resources are set aside for
the quota limit headroom. See
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -1448,6 +1448,84 @@ TEST_P(HierarchicalAllocatorTestWithReservations, ReservationAllocated)\n}\n+// This test verifies that the non-quota role ca... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure non-quota role reservations are allocated.
This test checks against the symptom of failing to allocate
non-quota role's reservations if resources are set aside for
the quota limit headroom. See MESOS-8293.
Review: https://reviews.apache.org/r/64465/ |
46,148 | 15.12.2017 18:06:07 | 28,800 | f8111469b2f7c05703a680c1753df3541a83df94 | Added a test to check shared resources accounting in quota enforcement.
This test verifies that when enforcing quota limit, shared resources
that are part of a role's reserved-allocated resources are only
charged once even when they are offered multiple times.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -1526,6 +1526,169 @@ TEST_P(HierarchicalAllocatorTestWithReservations,\n}\n+// This test verifies that when enforcing quota limit, shared resourc... | C++ | Apache License 2.0 | apache/mesos | Added a test to check shared resources accounting in quota enforcement.
This test verifies that when enforcing quota limit, shared resources
that are part of a role's reserved-allocated resources are only
charged once even when they are offered multiple times.
Review: https://reviews.apache.org/r/64466/ |
46,177 | 20.11.2017 16:06:17 | 28,800 | f80cb6246407951cb7eb37f21bf3a63d98d732ea | Defined a module interface for translating volume profiles.
This module is currently intended for use by the Storage Local
Resource Provider (SLRP), but may be used by other components if
those components use any of the affected Container Storage Interface
(CSI) requests. The affected calls are listed in the module's c... | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1461,6 +1461,8 @@ message Resource {\n// profile name to a set of vendor specific disk parameters. And\n// the framework will do disk selection based on profile names,\n// instea... | C++ | Apache License 2.0 | apache/mesos | Defined a module interface for translating volume profiles.
This module is currently intended for use by the Storage Local
Resource Provider (SLRP), but may be used by other components if
those components use any of the affected Container Storage Interface
(CSI) requests. The affected calls are listed in the module's ... |
46,177 | 28.11.2017 13:40:07 | 28,800 | 343776d5ea1977fa3fed7fe7c2996c37b5ba5168 | Added example VolumeProfile module.
This example module shows how a VolumeProfile module might be
implemented (and is a viable module in its own right). The module
can be configured to fetch a map of profiles from a URI (`file://` or
`http(s)://`) and possibly cache this item for some time.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2332,6 +2332,18 @@ libload_qos_controller_la_SOURCES += slave/qos_controllers/load.cpp\nlibload_qos_controller_la_CPPFLAGS = $(MESOS_CPPFLAGS)\nlibload_qos_controller_la_LDFLAGS = $(MESOS_MODULE_LDF... | C++ | Apache License 2.0 | apache/mesos | Added example VolumeProfile module.
This example module shows how a VolumeProfile module might be
implemented (and is a viable module in its own right). The module
can be configured to fetch a map of profiles from a URI (`file://` or
`http(s)://`) and possibly cache this item for some time.
Review: https://reviews.a... |
46,177 | 04.12.2017 19:48:04 | 28,800 | 504d702cda73ea2583f2adaa45f3a00c5bb993d4 | Added tests for UriVolumeProfile module.
These tests mostly exercise the parsing logic used by the module
and some of the interaction expected from callers of the module
(i.e. the Storage Local Resource Provider).
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2545,6 +2545,7 @@ mesos_tests_SOURCES = \\\ntests/uri_fetcher_tests.cpp \\\ntests/utils.cpp \\\ntests/values_tests.cpp \\\n+ tests/volume_profile_tests.cpp \\\ntests/zookeeper_url_tests.cpp \\\ntest... | C++ | Apache License 2.0 | apache/mesos | Added tests for UriVolumeProfile module.
These tests mostly exercise the parsing logic used by the module
and some of the interaction expected from callers of the module
(i.e. the Storage Local Resource Provider).
Review: https://reviews.apache.org/r/64354 |
46,177 | 14.12.2017 05:21:06 | 28,800 | 454e7f2b7c9e87817109f51dae6356aa8f56e766 | Moved SLRP resource recovery logic into a helper.
This logically separates the Storage Local Resource Provider's
recovery logic so that we can insert another step between
recovering resources and starting the ResourceProvider Driver.
A subsequent patch will insert the intermediate recovery step(s).
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/storage/provider.cpp",
"new_path": "src/resource_provider/storage/provider.cpp",
"diff": "@@ -338,6 +338,7 @@ private:\nFuture<Nothing> recover();\nFuture<Nothing> recoverServices();\nFuture<Nothing> recoverVolumes();\n+ Future<Nothing> r... | C++ | Apache License 2.0 | apache/mesos | Moved SLRP resource recovery logic into a helper.
This logically separates the Storage Local Resource Provider's
recovery logic so that we can insert another step between
recovering resources and starting the ResourceProvider Driver.
A subsequent patch will insert the intermediate recovery step(s).
Review: https://r... |
46,148 | 18.12.2017 20:24:49 | 28,800 | 044fce508993c118c3fd52e9b8bc3a5472ea7734 | Added a test to ensure the amount of quota headroom is sufficient.
This test verifies that quota headroom is correctly maintained
when some roles have more reservations than their quota. We need
to ensure that one role's excessive reservation is not counted
towards another role's quota headroom.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -1757,6 +1757,100 @@ TEST_F(HierarchicalAllocatorTest, Reservations)\n}\n+// This test verifies that quota headroom is correctly maintained when ... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure the amount of quota headroom is sufficient.
This test verifies that quota headroom is correctly maintained
when some roles have more reservations than their quota. We need
to ensure that one role's excessive reservation is not counted
towards another role's quota headroom.
Review: https://revie... |
46,165 | 18.12.2017 21:40:03 | 28,800 | cc3ee7aad3bee10dc4130ab2b39b89dddea8f4bb | Fixed the volume profile related build breakage.
Due to some lacking ifdef guards around GRPC being enabled,
the build broke for those that don't enable GRPC. | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2447,8 +2447,6 @@ noinst_LTLIBRARIES += $(MESOS_TEST_MODULES)\nendif\nmesos_tests_SOURCES = \\\n- csi/uri_volume_profile.pb.cc \\\n- resource_provider/uri_volume_profile.cpp \\\nslave/qos_controller... | C++ | Apache License 2.0 | apache/mesos | Fixed the volume profile related build breakage.
Due to some lacking ifdef guards around GRPC being enabled,
the build broke for those that don't enable GRPC. |
46,172 | 19.12.2017 19:34:42 | -3,600 | da2fc8da2446346d9f5369dafa7db1345f0541cf | Improved logs displayed after a slave failed recovery.
Add some steps to clean the Docker daemon
state used by the Docker containerizer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -6751,10 +6751,23 @@ void Slave::__recover(const Future<Nothing>& future)\nEXIT(EXIT_FAILURE)\n<< \"Failed to perform recovery: \"\n<< (future.isFailed() ? future.failure() : \"future discard... | C++ | Apache License 2.0 | apache/mesos | Improved logs displayed after a slave failed recovery.
Add some steps to clean the Docker daemon
state used by the Docker containerizer.
Review: https://reviews.apache.org/r/64379/ |
46,172 | 19.12.2017 19:41:02 | -3,600 | e809c3eea5058ea9d956fc5e97222b91fa9ef6ba | Added containerClass() to MesosContainerizerProcess::Container.
This function always returns a ContainerClass, with `DEFAULT` being
the default value returned. Also simplifies the conditional
statements in mesos/containerizer.cpp to use the function added.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/containerizer.cpp",
"new_path": "src/slave/containerizer/mesos/containerizer.cpp",
"diff": "@@ -1640,8 +1640,7 @@ Future<Containerizer::LaunchResult> MesosContainerizerProcess::_launch(\nEnvironment containerEnvironment;\n// Inher... | C++ | Apache License 2.0 | apache/mesos | Added containerClass() to MesosContainerizerProcess::Container.
This function always returns a ContainerClass, with `DEFAULT` being
the default value returned. Also simplifies the conditional
statements in mesos/containerizer.cpp to use the function added.
Review: https://reviews.apache.org/r/64575/ |
46,114 | 18.12.2017 13:59:38 | 28,800 | 45669854d27c902e6bbd2d9845c1dbde74620380 | Windows: Removed manual use of `O_BINARY`.
This is now superfluous as it is added in stout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/status_update_manager/status_update_manager_process.hpp",
"new_path": "src/status_update_manager/status_update_manager_process.hpp",
"diff": "@@ -634,9 +634,6 @@ private:\n// Open the updates file.\nTry<int_fd> result = os::open(\npath.get(),\n-#ifdef __WI... | C++ | Apache License 2.0 | apache/mesos | Windows: Removed manual use of `O_BINARY`.
This is now superfluous as it is added in stout.
Review: https://reviews.apache.org/r/64690 |
46,188 | 19.12.2017 11:37:58 | 28,800 | edf8b7076d5fdbc6afd623e47f9f17c7aeda178b | Fixed a few typos in SLRP. | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/storage/provider.cpp",
"new_path": "src/resource_provider/storage/provider.cpp",
"diff": "@@ -443,7 +443,7 @@ private:\n// The last set of profile names fetched from the VolumeProfileAdaptor.\nhashset<string> knownProfiles;\n- // True if ... | C++ | Apache License 2.0 | apache/mesos | Fixed a few typos in SLRP. |
46,188 | 19.12.2017 19:35:49 | 28,800 | 5f40f3d401bbdd7e324113214c286a26faf67540 | Made volume secret isolator not standalone container aware.
We'll revisit this later.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/volume/secret.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/volume/secret.cpp",
"diff": "@@ -99,12 +99,6 @@ bool VolumeSecretIsolatorProcess::supportsNesting()\n}\n-bool VolumeSecretIsolatorProcess::supports... | C++ | Apache License 2.0 | apache/mesos | Made volume secret isolator not standalone container aware.
We'll revisit this later.
Review: https://reviews.apache.org/r/64742 |
46,053 | 20.12.2017 14:59:50 | -3,600 | 196fe20861a4efc8edcabb08ce8821e8ed1b8f02 | Fixed flaky `NestedMesosContainerizerTest` tests.
This patch is an addition to commit
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"diff": "@@ -2064,40 +2064,43 @@ TEST_F(NestedMesosContainerizerTest,\nContainerID containerId;\ncontainerId.set_value(id... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky `NestedMesosContainerizerTest` tests.
This patch is an addition to commit 0cc636b2d5.
Review: https://reviews.apache.org/r/64749/ |
46,057 | 20.12.2017 15:00:08 | -3,600 | ee621bb36debf9d88325ef339afa46ade384e23d | Updated docs to mention new flag.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "Release Notes - Mesos - Version 1.5.0 (WIP)\n-------------------------------------------\nThis release contains the following new features:\n+ * [MESOS-1739] - Agents now support the `--reconfiguration_policy`\n+ f... | C++ | Apache License 2.0 | apache/mesos | Updated docs to mention new flag.
Review: https://reviews.apache.org/r/64450/ |
46,188 | 20.12.2017 09:43:11 | 28,800 | a9d3f1e7ae9480b7aeb79f7061193b900f753606 | Fixed a compile issue when gRPC is enabled. | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/storage/volume_profile_utils.hpp",
"new_path": "src/resource_provider/storage/volume_profile_utils.hpp",
"diff": "#include <stout/try.hpp>\n// ONLY USEFUL AFTER RUNNING PROTOC.\n-#include \"resource_provider/volume_profile.pb.h\"\n+#inclu... | C++ | Apache License 2.0 | apache/mesos | Fixed a compile issue when gRPC is enabled. |
46,062 | 19.12.2017 09:25:14 | 28,800 | 327726d3c7272806c8f3c3b7479758c26e55fd43 | Added validation / normalized resources for storage-related operations.
When the storage-related operations were added, the cases were added to
the `switch` but the corresponding validation / normalization code was
not added. This patch adds the missing code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -599,6 +599,17 @@ Option<Error> validateAndNormalizeResources(Offer::Operation* operation)\n\" the Offer.Operation.create_volume field set.\");\n}\n+ Option<Error> error... | C++ | Apache License 2.0 | apache/mesos | Added validation / normalized resources for storage-related operations.
When the storage-related operations were added, the cases were added to
the `switch` but the corresponding validation / normalization code was
not added. This patch adds the missing code.
Review: https://reviews.apache.org/r/64737 |
46,165 | 19.12.2017 17:43:14 | 28,800 | 3035c8828345e7b0f33a4755d50139c8b693d567 | Eliminated some unnecessary copying in the HTTP operator API.
This is only a minor portion of the performance improvements
needed to bring the v1 operator API close to the v0 API
performance.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -883,12 +883,12 @@ Future<Response> Master::Http::subscribe(\nmesos::master::Event event;\nevent.set_type(mesos::master::Event::SUBSCRIBED);\n- event.mutable_subscribed()->mutable_get_state()... | C++ | Apache License 2.0 | apache/mesos | Eliminated some unnecessary copying in the HTTP operator API.
This is only a minor portion of the performance improvements
needed to bring the v1 operator API close to the v0 API
performance.
Review: https://reviews.apache.org/r/64741 |
46,148 | 20.12.2017 18:49:42 | 28,800 | 2f6981e0ea544544c3c3101a80281b5309f1acaa | Added a test to ensure MOUNT disk is not chopped during allocation.
While quota allocation should be fine-grained, some resources are
unchoppable. They have to be offered entirely. This test verifies
one of the cases: disk resource of type MOUNT.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -3387,6 +3387,106 @@ TEST_F(HierarchicalAllocatorTest, QuotaAllocationGranularity)\n// NO_QUOTA_ROLE (cpus=0.5, mem=312)\n}\n+// While quota allo... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure MOUNT disk is not chopped during allocation.
While quota allocation should be fine-grained, some resources are
unchoppable. They have to be offered entirely. This test verifies
one of the cases: disk resource of type MOUNT.
Review: https://reviews.apache.org/r/64758/ |
46,148 | 20.12.2017 18:52:21 | 28,800 | b386fe1108d2d41dedc74a7059d8d70018ac28e7 | Moved the quota headroom tracking before quota allocation.
This paves the way for improved quota headroom enforcement
for the quota role allocation stage.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1615,6 +1615,97 @@ void HierarchicalAllocatorProcess::__allocate()\n}\n}\n+ // We need to constantly make sure that we are holding back enough... | C++ | Apache License 2.0 | apache/mesos | Moved the quota headroom tracking before quota allocation.
This paves the way for improved quota headroom enforcement
for the quota role allocation stage.
Review: https://reviews.apache.org/r/64761/ |
46,148 | 20.12.2017 19:10:37 | 28,800 | 7ad0420289d5e6445ab024fd7c084655a0c97ab1 | Fixed a few comment typos in `hierarchical.cpp`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1573,7 +1573,7 @@ void HierarchicalAllocatorProcess::__allocate()\nreturn quotaRoleSorter->allocationScalarQuantities(role).toUnreserved();\n}... | C++ | Apache License 2.0 | apache/mesos | Fixed a few comment typos in `hierarchical.cpp`.
Review: https://reviews.apache.org/r/64760/ |
46,056 | 21.12.2017 16:08:25 | -3,600 | 3547410ad3601f4bdc75f3b984c7e825ba323e8f | Disabled flaky PartitionedSlaveReregistrationMasterFailover. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/partition_tests.cpp",
"new_path": "src/tests/partition_tests.cpp",
"diff": "@@ -808,9 +808,11 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(PartitionTest, ReregisterSlaveNotPartitionAware)\n// not. Both tasks should survive the reregistration of the partitioned... | C++ | Apache License 2.0 | apache/mesos | Disabled flaky PartitionedSlaveReregistrationMasterFailover. |
46,159 | 21.12.2017 12:49:38 | 28,800 | 2fec43f7d6d639666be8f43adaf690fabd32c9d4 | Fixed a comment typo.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/messages/log.proto",
"new_path": "src/messages/log.proto",
"diff": "@@ -65,7 +65,7 @@ message Action {\nrequired uint64 to = 1; // All positions before and exclusive of 'to'.\n}\n- optional Type type = 5; // Set iff performed is set.\n+ optional Type type ... | C++ | Apache License 2.0 | apache/mesos | Fixed a comment typo.
Review: https://reviews.apache.org/r/62283/ |
46,159 | 21.12.2017 12:49:41 | 28,800 | 9ac50f31886b63046439ae4d127aa26360f1d3d6 | Fixed code style issues.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/consensus.cpp",
"new_path": "src/log/consensus.cpp",
"diff": "@@ -42,7 +42,8 @@ namespace mesos {\nnamespace internal {\nnamespace log {\n-static bool isRejectedPromise(const PromiseResponse& response) {\n+static bool isRejectedPromise(const PromiseRes... | C++ | Apache License 2.0 | apache/mesos | Fixed code style issues.
Review: https://reviews.apache.org/r/62284/ |
46,159 | 21.12.2017 12:49:50 | 28,800 | 826277d0b19bfe74062f0f6facff0293133262c3 | Exposed runRecoverProtocol() function in recover.hpp.
This function is needed catch-up missing positions of a non-leading
VOTING replica.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/recover.cpp",
"new_path": "src/log/recover.cpp",
"diff": "@@ -364,14 +364,12 @@ private:\n};\n-// The wrapper for running the recover protocol. We will re-run the\n-// recover protocol if it cannot be finished within 'timeout'.\n-static Future<RecoverR... | C++ | Apache License 2.0 | apache/mesos | Exposed runRecoverProtocol() function in recover.hpp.
This function is needed catch-up missing positions of a non-leading
VOTING replica.
Review: https://reviews.apache.org/r/62760/ |
46,159 | 21.12.2017 12:49:53 | 28,800 | 9c25771dcd1ed8dcc7696c0ceaad1d5f08033f88 | Moved retry logic from RecoverProtocolProcess to RecoverProcess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/recover.cpp",
"new_path": "src/log/recover.cpp",
"diff": "@@ -91,7 +91,7 @@ public:\ntimeout(_timeout),\nterminating(false) {}\n- Future<RecoverResponse> future() { return promise.future(); }\n+ Future<Option<RecoverResponse>> future() { return promise... | C++ | Apache License 2.0 | apache/mesos | Moved retry logic from RecoverProtocolProcess to RecoverProcess.
Review: https://reviews.apache.org/r/62761/ |
46,159 | 21.12.2017 12:49:57 | 28,800 | aa4d95a0a509394a6616b92a1f170846f713c250 | Added CatchupMissing log process.
The process is used to catch-up a non-leading VOTING replica by running
the recovery protocol to find current begin and end positions of the log
and catching-up positions that are missing on the replica. This allows
following replicas to serve eventually consistent reads.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/catchup.cpp",
"new_path": "src/log/catchup.cpp",
"diff": "#include \"log/catchup.hpp\"\n#include \"log/consensus.hpp\"\n+#include \"log/recover.hpp\"\n#include \"messages/log.hpp\"\n@@ -308,6 +309,156 @@ static Future<Nothing> catchup(\n}\n+// This pro... | C++ | Apache License 2.0 | apache/mesos | Added CatchupMissing log process.
The process is used to catch-up a non-leading VOTING replica by running
the recovery protocol to find current begin and end positions of the log
and catching-up positions that are missing on the replica. This allows
following replicas to serve eventually consistent reads.
Review: htt... |
46,159 | 21.12.2017 12:50:00 | 28,800 | 49c91614da2a85dd49d1fdc33ef83f9c816de2d2 | Added Log::Reader::catchup() method.
The new method catches-up positions missing in the local non-leading
replica to allow safe eventually consistent reads from it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/log/log.hpp",
"new_path": "include/mesos/log/log.hpp",
"diff": "@@ -148,6 +148,10 @@ public:\n// partitioned).\nprocess::Future<Position> ending();\n+ // Launches the catch-up process. Returns the ending position of\n+ // the caught-up range.\n+ ... | C++ | Apache License 2.0 | apache/mesos | Added Log::Reader::catchup() method.
The new method catches-up positions missing in the local non-leading
replica to allow safe eventually consistent reads from it.
Review: https://reviews.apache.org/r/62287/ |
46,159 | 21.12.2017 12:50:04 | 28,800 | 310c2c6129e09097f5d31431f754e2285b3c3f58 | Added Log.Reader.catchup() method to Java bindings.
The new method is a wrapper for Log::Reader::catchup() method of the C++
Replicated Log API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/java/jni/org_apache_mesos_Log.cpp",
"new_path": "src/java/jni/org_apache_mesos_Log.cpp",
"diff": "@@ -232,6 +232,47 @@ JNIEXPORT jobject JNICALL Java_org_apache_mesos_Log_00024Reader_ending\n}\n+/*\n+ * Class: org_apache_mesos_Log_Reader\n+ * Method: catch... | C++ | Apache License 2.0 | apache/mesos | Added Log.Reader.catchup() method to Java bindings.
The new method is a wrapper for Log::Reader::catchup() method of the C++
Replicated Log API.
Review: https://reviews.apache.org/r/62288/ |
46,188 | 21.12.2017 14:42:00 | 28,800 | b16383db06cdec0007074adfeb32f165aaa4e082 | Updated CHANGELOG about the new API in Log::Reader. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -28,6 +28,8 @@ Additional API Changes:\nto an agent's work directory.\n* [MESOS-8040] Return nested/standalone containers in `GET_CONTAINERS`\nAPI call.\n+ * [MESOS-7973] A new `catchup` method has been added to... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG about the new API in Log::Reader. |
46,188 | 21.12.2017 15:29:45 | 28,800 | e49e8795001acc444efee01042bdf44b62c62907 | Fixed a compile error due to string literals and macros.
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": "@@ -115,7 +115,7 @@ public:\nuriVolumeProfileConfigPath =\npath::join(sandbox.get(), \"volume_profiles.json\");\n- ASSERT_SOME(os:... | C++ | Apache License 2.0 | apache/mesos | Fixed a compile error due to string literals and macros.
Review: https://reviews.apache.org/r/64790 |
46,148 | 21.12.2017 17:27:30 | 28,800 | 8714e97be537994c19b2d17c407af070eec13fab | Fixed a bug where quota headroom is tracked incorrectly.
Only resources allocated towards a role's quota should be
subtracted from `requiredHeadroom`. In addition to this,
unreserved resources in the quota allocation stage may also
contain resources that a role does not have quota for, they
should not be subtracted fro... | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1976,13 +1976,15 @@ void HierarchicalAllocatorProcess::__allocate()\nofferable[frameworkId][role][slaveId] += resources;\nofferedSharedResourc... | C++ | Apache License 2.0 | apache/mesos | Fixed a bug where quota headroom is tracked incorrectly.
Only resources allocated towards a role's quota should be
subtracted from `requiredHeadroom`. In addition to this,
unreserved resources in the quota allocation stage may also
contain resources that a role does not have quota for, they
should not be subtracted fr... |
46,056 | 22.12.2017 12:09:58 | -3,600 | 44a702a1b26963040e6cb6c362b7f01e5b4ef097 | Promoted log level to warning for disconnected events in exec.cpp.
When the executor library receives messages while being disconnected,
it might indicate an out-of-order message delivery or lost messages.
This should be logged at the warning level to simplify triaging.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/exec/exec.cpp",
"new_path": "src/exec/exec.cpp",
"diff": "@@ -209,8 +209,7 @@ public:\nprotected:\nvirtual void initialize()\n{\n- VLOG(1) << \"Executor started at: \" << self()\n- << \" with pid \" << getpid();\n+ VLOG(1) << \"Executor started at: \" << s... | C++ | Apache License 2.0 | apache/mesos | Promoted log level to warning for disconnected events in exec.cpp.
When the executor library receives messages while being disconnected,
it might indicate an out-of-order message delivery or lost messages.
This should be logged at the warning level to simplify triaging.
Review: https://reviews.apache.org/r/64032/ |
46,056 | 22.12.2017 13:10:40 | -3,600 | 253c2899b809affc2cd408c812eb59e42dbffdde | Updated 1.4.2 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -40,12 +40,15 @@ Feature Graduations:\nAll Experimental Features:\n-Release Notes - Mesos - Version 1.4.2\n+Release Notes - Mesos - Version 1.4.2 (WIP)\n-------------------------------------------\n* This is a b... | C++ | Apache License 2.0 | apache/mesos | Updated 1.4.2 CHANGELOG. |
46,103 | 22.12.2017 16:28:46 | -3,600 | 0685b3ce3569ae79d620ea301b422c2c2814d3ea | Fixed clang build on e.g., ubuntu16.
The clang version on e.g., ubuntu16 would emit a diagnostic message
for the increment inside the expectation,
../../src/tests/log_tests.cpp:2439:120: \
error: expression with side effects has no effect
We reorder expressions to avoid above situation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/log_tests.cpp",
"new_path": "src/tests/log_tests.cpp",
"diff": "@@ -2436,7 +2436,8 @@ TEST_F(LogTest, ReaderCatchup)\nuint64_t position = 1;\nforeach (const Log::Entry& entry, entries.get()) {\n- EXPECT_EQ(stringify(position++), entry.data);\n+ EXPEC... | C++ | Apache License 2.0 | apache/mesos | Fixed clang build on e.g., ubuntu16.
The clang version on e.g., ubuntu16 would emit a diagnostic message
for the increment inside the expectation,
../../src/tests/log_tests.cpp:2439:120: \
error: expression with side effects has no effect
We reorder expressions to avoid above situation.
Review: ... |
46,056 | 22.12.2017 19:41:47 | -3,600 | b44e36289320ac2cf9e8fa80bd7905bc44cd4a87 | Improved the comment around the union in ns::clone().
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/ns.cpp",
"new_path": "src/linux/ns.cpp",
"diff": "@@ -317,10 +317,9 @@ Try<pid_t> clone(\niov.iov_base = base;\niov.iov_len = sizeof(base);\n- // Need to allocate a char array large enough to hold \"control\"\n- // data. However, since this buffer is... | C++ | Apache License 2.0 | apache/mesos | Improved the comment around the union in ns::clone().
Review: https://reviews.apache.org/r/64685/ |
46,056 | 22.12.2017 19:41:55 | -3,600 | 5517db067054327aeb333a8cc2678da218a4cc93 | Fixed the type-punned pointer and strict aliasing issue.
Dereferencing a pointer cast from a different type of pointer
violates the so-called "strict aliasing" rule, which is undefined
behaviour and might lead to bugs when compiler optimizations are
enabled.
For more information on this topic, see
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/ns.cpp",
"new_path": "src/linux/ns.cpp",
"diff": "#include <unistd.h>\n+#include <sys/socket.h>\n#include <sys/wait.h>\n+#include <cstring>\n#include <vector>\n#include <process/collect.hpp>\n@@ -394,7 +396,11 @@ Try<pid_t> clone(\nreturn Error(\"Bad... | C++ | Apache License 2.0 | apache/mesos | Fixed the type-punned pointer and strict aliasing issue.
Dereferencing a pointer cast from a different type of pointer
violates the so-called "strict aliasing" rule, which is undefined
behaviour and might lead to bugs when compiler optimizations are
enabled.
For more information on this topic, see
https://blog.regehr... |
46,056 | 22.12.2017 19:42:01 | -3,600 | 223aad37ee034283c82afa9b33a7db9d4959646c | Removed redundant `struct` prefix in "linux/ns.cpp".
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/ns.cpp",
"new_path": "src/linux/ns.cpp",
"diff": "@@ -319,15 +319,15 @@ Try<pid_t> clone(\niov.iov_base = base;\niov.iov_len = sizeof(base);\n- // We need to allocate a char array large enough to hold \"control\" data. However,\n- // since this buffe... | C++ | Apache License 2.0 | apache/mesos | Removed redundant `struct` prefix in "linux/ns.cpp".
Review: https://reviews.apache.org/r/64807/ |
46,075 | 22.12.2017 09:33:29 | 28,800 | 141173a72c0ef6b209b38ef382700e3b94b463cc | Set container info from executor by default if available.
The current implementation only works for non-command executor
instances. We still need to get the container info from the executor
(if none has been defined in the task) in command mode to properly use
some features (volumes for example).
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -3006,6 +3006,11 @@ void Slave::launchExecutor(\ncontainerConfig.set_user(executor->user.get());\n}\n+ if (executorInfo_.has_container()) {\n+ containerConfig.mutable_container_info()\n+ ->Co... | C++ | Apache License 2.0 | apache/mesos | Set container info from executor by default if available.
The current implementation only works for non-command executor
instances. We still need to get the container info from the executor
(if none has been defined in the task) in command mode to properly use
some features (volumes for example).
Review: https://revi... |
46,148 | 22.12.2017 13:49:27 | 28,800 | c5654bc2891a85450844b1944652b8858ed693c0 | Added a utility to shrink scalar resource while keeping its meta-data.
This is particularly useful when performing fine-grained allocation
of resources by "chopping off" some of the resources when possible.
Note that some resources, e.g. MOUNT volumes, cannot be shrunk.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/resources.hpp",
"new_path": "include/mesos/resources.hpp",
"diff": "@@ -334,6 +334,13 @@ public:\n// This must be called only when the resource is reserved!\nstatic const std::string& reservationRole(const Resource& resource);\n+ // Shrinks a sca... | C++ | Apache License 2.0 | apache/mesos | Added a utility to shrink scalar resource while keeping its meta-data.
This is particularly useful when performing fine-grained allocation
of resources by "chopping off" some of the resources when possible.
Note that some resources, e.g. MOUNT volumes, cannot be shrunk.
Review: https://reviews.apache.org/r/64798/ |
46,165 | 20.12.2017 19:47:32 | 28,800 | 24317f9d12757310b92d82b8a9bcd39a956b678d | Removed a stale TODO in the allocator.
This TODO was added when we used to skip roles with satisfied
quota during the first phase of allocation. We no longer do
this since we now allocate reservations for these roles.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1759,11 +1759,6 @@ void HierarchicalAllocatorProcess::__allocate()\n// If quota for the role is considered satisfied, then we only\n// further... | C++ | Apache License 2.0 | apache/mesos | Removed a stale TODO in the allocator.
This TODO was added when we used to skip roles with satisfied
quota during the first phase of allocation. We no longer do
this since we now allocate reservations for these roles.
Review: https://reviews.apache.org/r/64765 |
46,188 | 22.12.2017 13:20:57 | 28,800 | d9cf4bc25055b30c9f7de8971e8b991394275301 | Renamed isCommandExecutor to isGeneratedForCommandTask.
The name `isCommandExecutor` is not really precise because it could also
for Docker Executor. This patch renamed this method to be more accurate.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -1618,9 +1618,10 @@ void Slave::doReliableRegistration(Duration maxBackoff)\ntask, TASK_STAGING, framework->id()));\n}\n- // Do not re-register with Command Executors because the\n- // master... | C++ | Apache License 2.0 | apache/mesos | Renamed isCommandExecutor to isGeneratedForCommandTask.
The name `isCommandExecutor` is not really precise because it could also
for Docker Executor. This patch renamed this method to be more accurate.
Review: https://reviews.apache.org/r/64814 |
46,188 | 22.12.2017 15:38:37 | 28,800 | e490d452a62889e93c5e9e04273679f53fa2117c | Updated CHANGELOG about standalone container support. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -14,6 +14,9 @@ This release contains the following new features:\n* Several improvements and fixes to the enforcement of quota\nguarantees have been made: MESOS-4527, MESOS-7099, MESOS-8293,\nMESOS-8339, MESOS-8... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG about standalone container support. |
46,188 | 22.12.2017 15:40:54 | 28,800 | 608539dbcaa6895fd257f5e7287b94721b5e9e8e | Updated CHANGELOG about CSI support in 1.5.0. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -17,6 +17,9 @@ This release contains the following new features:\n* [MESOS-7302] - Support launching standalone containers on the\nagent using MesosContainerizer without a master or framework\nrunning.\n+ * [MES... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG about CSI support in 1.5.0. |
46,107 | 27.12.2017 08:46:08 | 28,800 | c1db2054f61f3be5a7a8fcf46bcf1641bbe84754 | Added Bytedance into powered-by-mesos.
Hello, we have written a framework on Mesos to schedule real-time
video transcoding tasks. Thanks for your excellent job.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/powered-by-mesos.md",
"new_path": "docs/powered-by-mesos.md",
"diff": "@@ -21,6 +21,7 @@ layout: documentation\n* [Bol.com](http://www.bol.com)\n* [Branding Brand](http://www.brandingbrand.com)\n* [Brigade](http://www.brigade.com)\n+* [Bytedance](https://... | C++ | Apache License 2.0 | apache/mesos | Added Bytedance into powered-by-mesos.
Hello, we have written a framework on Mesos to schedule real-time
video transcoding tasks. Thanks for your excellent job.
This closes #250 |
46,111 | 28.12.2017 01:17:23 | -28,800 | 213242fa373ef26bc44dc5ff445f1be82659d702 | Added a new operator API for `PRUNE_IMAGES`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/agent/agent.proto",
"new_path": "include/mesos/agent/agent.proto",
"diff": "@@ -93,6 +93,9 @@ message Call {\nADD_RESOURCE_PROVIDER_CONFIG = 27; // See 'AddResourceProviderConfig' below. // NOLINT\nUPDATE_RESOURCE_PROVIDER_CONFIG = 28; // See 'Up... | C++ | Apache License 2.0 | apache/mesos | Added a new operator API for `PRUNE_IMAGES`.
Review: https://reviews.apache.org/r/56722/ |
46,111 | 28.12.2017 01:17:37 | -28,800 | 57f37c8e675e5205e3fa662799ab86f49ad70222 | Added `excluded_images` parameter to `PRUNE_IMAGES` agent API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/agent/agent.proto",
"new_path": "include/mesos/agent/agent.proto",
"diff": "@@ -349,6 +349,14 @@ message Call {\nrequired string name = 2;\n}\n+ // Prune unused container images from image store.\n+ //\n+ // Images and layers referenced by active... | C++ | Apache License 2.0 | apache/mesos | Added `excluded_images` parameter to `PRUNE_IMAGES` agent API.
Review: https://reviews.apache.org/r/64812/ |
46,062 | 15.12.2017 18:49:52 | 28,800 | f429cebcbf982efd75966934ac876e99b6c6560e | Pulled out `upgradeResources` out of `validateAndNormalizeResources`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -388,6 +388,115 @@ void convertResourceFormat(\n}\n+void upgradeResources(Offer::Operation* operation)\n+{\n+ CHECK_NOTNULL(operation);\n+\n+ switch (operation->type()) ... | C++ | Apache License 2.0 | apache/mesos | Pulled out `upgradeResources` out of `validateAndNormalizeResources`.
Review: https://reviews.apache.org/r/64738 |
46,111 | 31.12.2017 18:27:44 | -28,800 | 250a9a53ccd937733ef0a507b555aecbb44af356 | Added authorization for prune images API call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/authorizer/acls.proto",
"new_path": "include/mesos/authorizer/acls.proto",
"diff": "@@ -495,6 +495,19 @@ message ACL {\n// SOME resource provider types and names.\nrequired Entity resource_providers = 2;\n}\n+\n+ // Which principals are authorize... | C++ | Apache License 2.0 | apache/mesos | Added authorization for prune images API call.
Review: https://reviews.apache.org/r/64864/ |
46,111 | 31.12.2017 18:27:55 | -28,800 | 310ba44a4d48d65e5f28db050fed72e343cde441 | Added test for `prune_images` acl validation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/authorization_tests.cpp",
"new_path": "src/tests/authorization_tests.cpp",
"diff": "@@ -5495,6 +5495,61 @@ TYPED_TEST(AuthorizationTest, ModifyResourceProviderConfig)\n}\n}\n+\n+// This tests the authorization of requests to prune images.\n+TYPED_TES... | C++ | Apache License 2.0 | apache/mesos | Added test for `prune_images` acl validation.
Review: https://reviews.apache.org/r/64865/ |
46,111 | 31.12.2017 18:28:04 | -28,800 | 5e88bc076f9c04293057ed1e4b2f941d1238368c | Documented new image gc support in Mesos containerizer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/container-image.md",
"new_path": "docs/container-image.md",
"diff": "@@ -390,6 +390,46 @@ and mount it under the sandbox directory. The executor can perform\n`pivot_root` or `chroot` itself to enter the container root\nfilesystem.\n+## Garbage Collect Unu... | C++ | Apache License 2.0 | apache/mesos | Documented new image gc support in Mesos containerizer.
Review: https://reviews.apache.org/r/64813/ |
46,139 | 02.01.2018 11:54:30 | 28,800 | e8b505741a31a1394c138510fbf4331b478f308d | Stopped logging optional fields unconditionally in agent handler.
The operation ID and framework ID fields associated with operations
and their status updates are optional, so they should only be logged
if set.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -7286,19 +7286,29 @@ void Slave::handleResourceProviderMessage(\ncase RECOVERING:\ncase DISCONNECTED:\ncase TERMINATING: {\n- LOG(WARNING) << \"Dropping status update of operation '\"\n- << u... | C++ | Apache License 2.0 | apache/mesos | Stopped logging optional fields unconditionally in agent handler.
The operation ID and framework ID fields associated with operations
and their status updates are optional, so they should only be logged
if set.
Review: https://reviews.apache.org/r/64590/ |
46,139 | 02.01.2018 13:44:27 | 28,800 | 8e002d91a6469b5fee98029f42986c6f66c9a89f | Cleaned up `ResourceProviderManagerHttpApiTest.ConvertResources`.
This patch makes the test follow the pattern used by the Default
Executor tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/resource_provider_manager_tests.cpp",
"new_path": "src/tests/resource_provider_manager_tests.cpp",
"diff": "@@ -986,54 +986,39 @@ TEST_P(ResourceProviderManagerHttpApiTest, ConvertResources)\n// Start and register a framework.\nauto scheduler = std::... | C++ | Apache License 2.0 | apache/mesos | Cleaned up `ResourceProviderManagerHttpApiTest.ConvertResources`.
This patch makes the test follow the pattern used by the Default
Executor tests.
Review: https://reviews.apache.org/r/64694/ |
46,062 | 02.01.2018 11:20:45 | 28,800 | 4451ff7aeed1cc8fd7882cda76a35b131a31a201 | Renamed "normalize" to "upgrade" in resources adjustment operations.
We have introduced the notion of "downgrading" resources in order to
support downgrades of various components. The opposite operation used
to be called "normalize", but it seems "upgrade" would be simpler.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -497,7 +497,7 @@ void upgradeResources(Offer::Operation* operation)\n}\n-Option<Error> validateAndNormalizeResources(Offer::Operation* operation)\n+Option<Error> validat... | C++ | Apache License 2.0 | apache/mesos | Renamed "normalize" to "upgrade" in resources adjustment operations.
We have introduced the notion of "downgrading" resources in order to
support downgrades of various components. The opposite operation used
to be called "normalize", but it seems "upgrade" would be simpler.
Review: https://reviews.apache.org/r/64895 |
46,062 | 20.11.2017 22:03:17 | 28,800 | db8984f0eec628747c4f2f9caa85608d73a47f95 | Modified `downgradeResources` to use protobuf reflection.
Previously, our `downgradeResources` function only took a pointer to
`RepeatedPtrField<Resource>`. This wasn't great since we needed manually
invoke `downgradeResources` on every `Resource`s field of every message.
This patch makes it such that `downgradeResourc... | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "using std::vector;\n+using google::protobuf::Descriptor;\n+using google::protobuf::Message;\nusing google::protobuf::RepeatedPtrField;\nnamespace mesos {\n@@ -738,24 +740,1... | C++ | Apache License 2.0 | apache/mesos | Modified `downgradeResources` to use protobuf reflection.
Previously, our `downgradeResources` function only took a pointer to
`RepeatedPtrField<Resource>`. This wasn't great since we needed manually
invoke `downgradeResources` on every `Resource`s field of every message.
This patch makes it such that `downgradeResou... |
46,062 | 11.12.2017 16:09:41 | 28,800 | e9e656747b4da88498e07b44f6bc5fee2a64dad8 | Used the protobuf-reflection-based 'downgradeResources' utility.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -5004,20 +5004,13 @@ void Master::_accept(\nslave->info));\n}\n- // If the agent does not support reservation refinement,\n- // downgrade the task and executor resources to the\n- // \"pr... | C++ | Apache License 2.0 | apache/mesos | Used the protobuf-reflection-based 'downgradeResources' utility.
Review: https://reviews.apache.org/r/63977 |
46,062 | 15.12.2017 18:12:57 | 28,800 | 23d5ac1da25b1dfe9ee20b73e7b8a9e401782dbf | Upgraded resources that come from `protobuf::read`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/storage/provider.cpp",
"new_path": "src/resource_provider/storage/provider.cpp",
"diff": "@@ -714,12 +714,16 @@ Future<Nothing> StorageLocalResourceProviderProcess::recoverServices()\nconfigPath + \"': \" + config.error());\n}\n- if (conf... | C++ | Apache License 2.0 | apache/mesos | Upgraded resources that come from `protobuf::read`.
Review: https://reviews.apache.org/r/64739 |
46,143 | 03.01.2018 12:14:13 | 28,800 | ca3940b3750af20d29f7a08fc9560b4b3068dce2 | Updated Mesos version to 1.6.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 5)\n+set(MESOS_MINOR_VERSION 6)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.${... | C++ | Apache License 2.0 | apache/mesos | Updated Mesos version to 1.6.0. |
46,062 | 03.01.2018 11:23:24 | 28,800 | dfa813ecbba251f13dc7eafb9020ad23638a1da7 | Fixed the broken GRPC build.
Added `upgradeResources` to the `resources_utils.hpp`, and a silly
mistake around using `foreach` over a protobuf mutable repeated field.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.hpp",
"new_path": "src/common/resources_utils.hpp",
"diff": "@@ -158,6 +158,11 @@ void convertResourceFormat(\nResourceFormat format);\n+// Convert any resources contained in the given offer operation\n+// to the \"post-reservation-r... | C++ | Apache License 2.0 | apache/mesos | Fixed the broken GRPC build.
Added `upgradeResources` to the `resources_utils.hpp`, and a silly
mistake around using `foreach` over a protobuf mutable repeated field.
Review: https://reviews.apache.org/r/64924 |
46,066 | 03.01.2018 15:45:53 | 28,800 | c88c2e241c32e917e58df3f458d5905f1688c1f7 | Added validation for operations applied on resource provider resources.
Some operations can be provided with multiple resources. As we currently
don't support operations that use resources of multiple resource
providers, validation has been added to make sure that these resources
are from a single resource provider.
Re... | [
{
"change_type": "MODIFY",
"old_path": "src/master/validation.cpp",
"new_path": "src/master/validation.cpp",
"diff": "@@ -1942,6 +1942,12 @@ Option<Error> validate(\nreturn Error(\"Invalid resources: \" + error.get().message);\n}\n+ error =\n+ resource::internal::validateSingleResourceProvider(reser... | C++ | Apache License 2.0 | apache/mesos | Added validation for operations applied on resource provider resources.
Some operations can be provided with multiple resources. As we currently
don't support operations that use resources of multiple resource
providers, validation has been added to make sure that these resources
are from a single resource provider.
... |
46,103 | 04.01.2018 11:12:17 | -3,600 | 838850f92e30115947343db8f34966c0d5f4d43a | Added test of handling of checkpointed resources in reregistration.
This patch adds a test that confirms that the master resends
checkpointed resources to the agent on reregistration.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_recovery_tests.cpp",
"new_path": "src/tests/slave_recovery_tests.cpp",
"diff": "@@ -4786,6 +4786,101 @@ TYPED_TEST(SlaveRecoveryTest, AgentReconfigurationWithRunningTask)\n}\n+// This test verifies that checkpointed resources sent by a non reso... | C++ | Apache License 2.0 | apache/mesos | Added test of handling of checkpointed resources in reregistration.
This patch adds a test that confirms that the master resends
checkpointed resources to the agent on reregistration.
Review: https://reviews.apache.org/r/64888/ |
46,159 | 04.01.2018 09:51:05 | 28,800 | 39525482a756e951e798db4c6831b79b65bb75b5 | Fixed RecoverTest.CatchupTruncated test flakiness.
Most likely the "lock already held by process" LevelDB error was caused
by a Shared<Replica> still retained by one of the processes when the
test tries to recreate it. This change makes sure that the test code is
the only owner of the replica.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/log_tests.cpp",
"new_path": "src/tests/log_tests.cpp",
"diff": "@@ -2094,7 +2094,9 @@ TEST_F(RecoverTest, CatchupTruncated)\nAWAIT_EXPECT_EQ(10u, replica3->ending());\n// Recreate the replica to verify that storage recovery succeeds.\n- replica3.rese... | C++ | Apache License 2.0 | apache/mesos | Fixed RecoverTest.CatchupTruncated test flakiness.
Most likely the "lock already held by process" LevelDB error was caused
by a Shared<Replica> still retained by one of the processes when the
test tries to recreate it. This change makes sure that the test code is
the only owner of the replica.
Review: https://reviews... |
46,078 | 04.01.2018 10:19:50 | 28,800 | bbd3aaff9ea3f8de4405b652a7294ed9a9d36063 | Fixed flaky PartitionedSlaveReregistrationMasterFailover test.
The test was flaky due to a race condition that causes status updates
to be dropped because the agent reregisters before the schedulers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/partition_tests.cpp",
"new_path": "src/tests/partition_tests.cpp",
"diff": "@@ -808,11 +808,9 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(PartitionTest, ReregisterSlaveNotPartitionAware)\n// not. Both tasks should survive the reregistration of the partitioned... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky PartitionedSlaveReregistrationMasterFailover test.
The test was flaky due to a race condition that causes status updates
to be dropped because the agent reregisters before the schedulers.
Review: https://reviews.apache.org/r/64933/ |
46,139 | 04.01.2018 19:36:52 | 28,800 | 66e358cab298dce6418e146a2190232688981fd4 | Fixed typos in SLRP tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/storage_local_resource_provider_tests.cpp",
"new_path": "src/tests/storage_local_resource_provider_tests.cpp",
"diff": "@@ -229,7 +229,7 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_NewVolume)\n// The framework is expected to see the following of... | C++ | Apache License 2.0 | apache/mesos | Fixed typos in SLRP tests.
Review: https://reviews.apache.org/r/64963/ |
46,053 | 05.01.2018 10:11:03 | -3,600 | 82a631911a81cfe076f0bb9b0a7ae7a297ffa17f | Added error message in tests for orphaned containers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/cluster.cpp",
"new_path": "src/tests/cluster.cpp",
"diff": "@@ -634,6 +634,11 @@ Slave::~Slave()\ncontainerizer->destroy(containerId);\nAWAIT(wait);\n+\n+ if (!wait.isReady()) {\n+ LOG(ERROR) << \"Failed to destroy container \" << containerId << \": ... | C++ | Apache License 2.0 | apache/mesos | Added error message in tests for orphaned containers.
Review: https://reviews.apache.org/r/64953/ |
46,056 | 05.01.2018 17:27:02 | -3,600 | f44a2d783413ce408aee9a99611a21f58307250c | Updated health check doc with 3xx redirects.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/health-checks.md",
"new_path": "docs/health-checks.md",
"diff": "@@ -215,6 +215,9 @@ routeable interface it might be listening on. Field `port` must specify an\nactual port the task is listening on, not a mapped one. The result of the check\nis the HTTP s... | C++ | Apache License 2.0 | apache/mesos | Updated health check doc with 3xx redirects.
Review: https://reviews.apache.org/r/64980/ |
46,062 | 03.01.2018 10:56:32 | 28,800 | 02eefa2c74e19708a0fe3b9e1d0011b152e01ea6 | Updated the comment for `precomputeResourcesContainment`.
`precomputeResourcesContainment` used return a `bool`, but was modified
to return `void` since the `bool` is already included in the `result`.
This fixes the corresponding comment that was not adjusted accordingly.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -770,12 +770,10 @@ Try<Nothing> downgradeResources(RepeatedPtrField<Resource>* resources)\nnamespace internal {\n-// Given a protobuf descriptor `descriptor`, returns `t... | C++ | Apache License 2.0 | apache/mesos | Updated the comment for `precomputeResourcesContainment`.
`precomputeResourcesContainment` used return a `bool`, but was modified
to return `void` since the `bool` is already included in the `result`.
This fixes the corresponding comment that was not adjusted accordingly.
Review: https://reviews.apache.org/r/64919 |
46,062 | 03.01.2018 10:58:20 | 28,800 | 8be2b0f585f0e00d0ab62547fccd0cd160454a07 | Introduced `upgradeResources` to complement `downgradeResources`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -390,112 +390,133 @@ void convertResourceFormat(\n}\n-void upgradeResources(Offer::Operation* operation)\n-{\n- CHECK_NOTNULL(operation);\n-\n- switch (operation->type()... | C++ | Apache License 2.0 | apache/mesos | Introduced `upgradeResources` to complement `downgradeResources`.
Review: https://reviews.apache.org/r/64920 |
46,057 | 08.01.2018 10:14:32 | 28,800 | 07430e7011f0cf7df589e5022c7ed6fb70776b37 | Added new reconfiguration_policy flag to docs/updgrades.md.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/upgrades.md",
"new_path": "docs/upgrades.md",
"diff": "@@ -51,6 +51,7 @@ We categorize the changes as follows:\n<li>C <a href=\"#1-5-x-task-starting\">Built-in executors send a TASK_STARTING update</a></li>\n<li>A <a href=\"#1-5-x-network-ports-isolator\"... | C++ | Apache License 2.0 | apache/mesos | Added new reconfiguration_policy flag to docs/updgrades.md.
Review: https://reviews.apache.org/r/65019/ |
46,080 | 08.01.2018 10:55:05 | 28,800 | e35e6808b518ab3f9c1754f64f38d2c539844a8e | Fixes WG table formatting and add Community WG.
Edits to
Fix table formatting
Add the Community WG (with as the owner since he originally
proposed the group)
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/working-groups.md",
"new_path": "docs/working-groups.md",
"diff": "@@ -31,4 +31,5 @@ In order to distinguish emails for a specific working group, please tag the emai\n| Name | Leads | Slack Channel | Meetings |\n|------|-------|---------------|----------|... | C++ | Apache License 2.0 | apache/mesos | Fixes WG table formatting and add Community WG.
Edits to http://mesos.apache.org/documentation/latest/working-groups/:
- Fix table formatting
- Add the Community WG (with @vinodkone as the owner since he originally
proposed the group)
This closes #252 |
46,165 | 06.01.2018 19:48:36 | 28,800 | 064c0ee4c7347b63fca20d15d835b07b47e78a85 | Added tests to ensure that libprocess metrics are alphabetical.
For human readability, we ensure that metrics are ordered
alphabetically in the JSON response.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp",
"diff": "#include <map>\n#include <string>\n+#include <vector>\n#include <stout/base64.hpp>\n#include <stout/duration.hpp>\n@@ -61,6 +62,7 @@ using... | C++ | Apache License 2.0 | apache/mesos | Added tests to ensure that libprocess metrics are alphabetical.
For human readability, we ensure that metrics are ordered
alphabetically in the JSON response.
Review: https://reviews.apache.org/r/65012 |
46,165 | 06.01.2018 19:58:44 | 28,800 | e989b22664a8c7468eb028bccc2a5ead37f8501f | Removed gtest thread safe filter in libprocess tests.
We require pthread and therefore the GTEST_IS_THREADSAFE macro
always returns true within the libprocess tests. Similar to what
is done in Mesos, we and exit if it's false.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/future_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/future_tests.cpp",
"diff": "@@ -621,7 +621,7 @@ TEST(FutureTest, Discard3)\n}\n-TEST(FutureTest, THREADSAFE_Select)\n+TEST(FutureTest, Select)\n{\nPromise<int> promise1... | C++ | Apache License 2.0 | apache/mesos | Removed gtest thread safe filter in libprocess tests.
We require pthread and therefore the GTEST_IS_THREADSAFE macro
always returns true within the libprocess tests. Similar to what
is done in Mesos, we and exit if it's false.
Review: https://reviews.apache.org/r/65013 |
46,165 | 02.01.2018 18:36:22 | 28,800 | c398373f12ed99e3712609cb738702bccebc0591 | Updated the master to use .at for const access to `slaves.unreachable`.
To prevent accidental insertion of entries when performing const
access, we use the `.at` operator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -8519,7 +8519,7 @@ void Master::_reconcileTasks(\n// does not have the PARTITION_AWARE capability, send TASK_LOST\n// for backward compatibility. In either case, the status update\n// als... | C++ | Apache License 2.0 | apache/mesos | Updated the master to use .at for const access to `slaves.unreachable`.
To prevent accidental insertion of entries when performing const
access, we use the `.at` operator.
Review: https://reviews.apache.org/r/64927 |
46,165 | 03.01.2018 14:18:36 | 28,800 | 45a2a1defba6883ad097c5163c9c9dd868671028 | Added CHECKs to prevent accidental overwrite of slaves.unreachable.
In these cases, there should not be a previous entry within the
unreachable agents map.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -1713,6 +1713,7 @@ Future<Nothing> Master::_recover(const Registry& registry)\nforeach (const Registry::UnreachableSlave& unreachable,\nregistry.unreachable().slaves()) {\n+ CHECK(!slaves... | C++ | Apache License 2.0 | apache/mesos | Added CHECKs to prevent accidental overwrite of slaves.unreachable.
In these cases, there should not be a previous entry within the
unreachable agents map.
Review: https://reviews.apache.org/r/64928 |
46,165 | 03.01.2018 13:56:10 | 28,800 | cc1a3364273197b2d9b762228441319846c6b363 | Documented a rate limiting bug in marking agents unreachable.
In the master failover case of marking agents unreachable, we
do not discard the rate limiting tokens when the agents re-register.
This means that the rate will be slowed down due to the no-op
operations that continue to obtain rate limiting tokens.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -2005,6 +2005,14 @@ void Master::recoveredSlavesTimeout(const Registry& registry)\nconst string failure = \"Agent removal rate limit acquisition failed\";\n+ // TODO(bmahler): Cancelation... | C++ | Apache License 2.0 | apache/mesos | Documented a rate limiting bug in marking agents unreachable.
In the master failover case of marking agents unreachable, we
do not discard the rate limiting tokens when the agents re-register.
This means that the rate will be slowed down due to the no-op
operations that continue to obtain rate limiting tokens.
Review... |
46,188 | 09.01.2018 11:23:20 | 28,800 | c8e6487d251d938c3c221f606f7e924514877655 | Fixed the persistent volume permission issue in DockerContainerizer.
This patch fixes by skipping the current container to be
launched when doing the shared volume check (`isVolumeInUse`). Prior to
this patch, the code is buggy because `isVolumeInUse` will always be set
to `true`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/docker.cpp",
"new_path": "src/slave/containerizer/docker.cpp",
"diff": "@@ -532,8 +532,15 @@ Try<Nothing> DockerContainerizerProcess::updatePersistentVolumes(\nbool isVolumeInUse = false;\n- foreachvalue (const Container* container, con... | C++ | Apache License 2.0 | apache/mesos | Fixed the persistent volume permission issue in DockerContainerizer.
This patch fixes MESOS-8356 by skipping the current container to be
launched when doing the shared volume check (`isVolumeInUse`). Prior to
this patch, the code is buggy because `isVolumeInUse` will always be set
to `true`.
Review: https://reviews.a... |
46,062 | 05.01.2018 10:36:25 | 28,800 | 3b0d1fa2b652047af19471ead5eb228675427484 | Fixed the order of parameters of `is_specialization_of` in stout.
Given `std::is_base_of<T, U>`, the interpretation of the question is:
"is `T` base of `U`?". Similarly, in this case want to ask the question
"is some type a specialization of a template?" As such, the order of
template paramters should be `is_specializa... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/traits.hpp",
"new_path": "3rdparty/stout/include/stout/traits.hpp",
"diff": "#ifndef __STOUT_TRAITS_HPP__\n#define __STOUT_TRAITS_HPP__\n-template <template <typename...> class T, typename U>\n+template <typename T, template <typen... | C++ | Apache License 2.0 | apache/mesos | Fixed the order of parameters of `is_specialization_of` in stout.
Given `std::is_base_of<T, U>`, the interpretation of the question is:
"is `T` base of `U`?". Similarly, in this case want to ask the question
"is some type a specialization of a template?" As such, the order of
template paramters should be `is_specializ... |
46,062 | 05.01.2018 10:36:31 | 28,800 | ab519aaa68bf71762c7d7f2f9aa7b6fb7b04a685 | Fixed the order of parameters of `is_specialization_of` in libprocess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/future.hpp",
"new_path": "3rdparty/libprocess/include/process/future.hpp",
"diff": "@@ -1976,7 +1976,7 @@ struct UndiscardableDecorator\ntypename std::decay<decltype(f(std::forward<Args>(args)...))>::type;\nstatic_assert(\n-... | C++ | Apache License 2.0 | apache/mesos | Fixed the order of parameters of `is_specialization_of` in libprocess.
Review: https://reviews.apache.org/r/65055 |
46,062 | 08.01.2018 11:50:06 | 28,800 | 93c6809122382412c1fc9324aa3cb67c54577e4e | Added `vector<Resource>` overloads for `(down/up)gradeResources`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -489,11 +489,13 @@ void upgradeResource(Resource* resource)\nvoid upgradeResources(RepeatedPtrField<Resource>* resources)\n{\n- CHECK_NOTNULL(resources);\n-\n- foreach (... | C++ | Apache License 2.0 | apache/mesos | Added `vector<Resource>` overloads for `(down/up)gradeResources`.
Review: https://reviews.apache.org/r/65029 |
46,139 | 10.01.2018 10:42:25 | 28,800 | b9bf0b54b85a054eb48b1f33de460b1f05e06b1c | Improved the documentation of protos related to operation feedback.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -2306,7 +2306,12 @@ enum OperationState {\n* Describes the current status of an operation.\n*/\nmessage OperationStatus {\n+ // While frameworks will only receive status updates f... | C++ | Apache License 2.0 | apache/mesos | Improved the documentation of protos related to operation feedback.
Review: https://reviews.apache.org/r/64936/ |
46,128 | 10.01.2018 10:43:02 | 28,800 | 71160110bb9458a6e584350ccae7709ae05a5b0c | Made resource provider manager conditionally set framework ID.
When forwarding operation status updates from resource providers
to the agent, the manager was setting the framework ID
unconditionally. This is a problem when OPERATION_DROPPED updates
with no framework ID are generated by the resource provider.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/manager.cpp",
"new_path": "src/resource_provider/manager.cpp",
"diff": "@@ -634,9 +634,11 @@ void ResourceProviderManagerProcess::updateOperationStatus(\nconst Call::UpdateOperationStatus& update)\n{\nResourceProviderMessage::UpdateOperat... | C++ | Apache License 2.0 | apache/mesos | Made resource provider manager conditionally set framework ID.
When forwarding operation status updates from resource providers
to the agent, the manager was setting the framework ID
unconditionally. This is a problem when OPERATION_DROPPED updates
with no framework ID are generated by the resource provider.
Review: ... |
46,165 | 03.01.2018 14:11:54 | 28,800 | 39d917cc066f0fe1f74c11ecfff6f41c765b2fd3 | Added a TODO for informing frameworks that an agent is unreachable.
Currently, we tell partition aware frameworks that unreachable agents
are LOST. Ideally the partition awareness change would have included
agent unreachability information rather than only task unreachability
information.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -8242,6 +8242,9 @@ void Master::_markUnreachable(\n++metrics->recovery_slave_removals;\n+ // TODO(bmahler): Tell partition aware frameworks that the\n+ // agent is unreachable rather than... | C++ | Apache License 2.0 | apache/mesos | Added a TODO for informing frameworks that an agent is unreachable.
Currently, we tell partition aware frameworks that unreachable agents
are LOST. Ideally the partition awareness change would have included
agent unreachability information rather than only task unreachability
information.
Review: https://reviews.apac... |
46,062 | 05.01.2018 17:44:41 | 28,800 | fda054b50ff7cdd2d7a60d31cfe24ce42bfbfaa5 | Updated uses of `protobuf::read(path)` which now returns `Try<T>`.
Since the path version of `protobuf::read` now returns `Try<T>`,
many of the existing code is removed and/or simplified.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/storage/provider.cpp",
"new_path": "src/resource_provider/storage/provider.cpp",
"diff": "@@ -705,7 +705,7 @@ Future<Nothing> StorageLocalResourceProviderProcess::recoverServices()\ncontainerId);\nif (os::exists(configPath)) {\n- Result<C... | C++ | Apache License 2.0 | apache/mesos | Updated uses of `protobuf::read(path)` which now returns `Try<T>`.
Since the path version of `protobuf::read` now returns `Try<T>`,
many of the existing code is removed and/or simplified.
Review: https://reviews.apache.org/r/65022 |
46,062 | 05.01.2018 09:52:51 | 28,800 | ef303905e0be96f28d79a569afd004ec75f98296 | Added `state::read` to complement `state::checkpoint`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/state.hpp",
"new_path": "src/slave/state.hpp",
"diff": "@@ -74,6 +74,28 @@ struct TaskState;\nTry<State> recover(const std::string& rootDir, bool strict);\n+// Reads the protobuf message(s) from the given path.\n+// `T` may be either a single protobu... | C++ | Apache License 2.0 | apache/mesos | Added `state::read` to complement `state::checkpoint`.
Review: https://reviews.apache.org/r/65023 |
46,110 | 10.01.2018 17:35:12 | 28,800 | f2a506bfb58fa563c63d96f966e53f9bbba3d43f | Updated the website for Mesos 1.2.3 release. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -15,6 +15,10 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.2.3 is released!\n+ date: December 1, 2017\n+ blog: mesos-1-2-3-released\n+ t... | C++ | Apache License 2.0 | apache/mesos | Updated the website for Mesos 1.2.3 release. |
46,110 | 10.01.2018 17:35:39 | 28,800 | 81937e5e4f8bacf8ea8fa10db5ca919ff0047370 | Updated the release guide website publish section. | [
{
"change_type": "MODIFY",
"old_path": "docs/release-guide.md",
"new_path": "docs/release-guide.md",
"diff": "@@ -235,14 +235,9 @@ This guide describes the process of doing an official release of Mesos.\n2. Update the [Building](building.md) guide to use the latest release link.\n-3. Check out the w... | C++ | Apache License 2.0 | apache/mesos | Updated the release guide website publish section. |
46,062 | 08.01.2018 12:47:14 | 28,800 | 15faeea9f369922b7ea623d87d8eb5e134a6a6c4 | Replaced `convertResourceFormat` with `upgradeResources` accordingly.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -726,7 +726,7 @@ Try<Resources> Resources::parse(\nreturn error.get();\n}\n- convertResourceFormat(&resource, POST_RESERVATION_REFINEMENT);\n+ upgradeResource(&resource);\nresult.ad... | C++ | Apache License 2.0 | apache/mesos | Replaced `convertResourceFormat` with `upgradeResources` accordingly.
Review: https://reviews.apache.org/r/65030/ |
46,062 | 08.01.2018 12:47:41 | 28,800 | e5bc824fbbc377f614b6e1d8a0be9b69c2af2c60 | Replaced `convertResourceFormat` with `downgradeResources` accordingly.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/registry_operations.cpp",
"new_path": "src/master/registry_operations.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <stout/check.hpp>\n+\n#include \"master/registr... | C++ | Apache License 2.0 | apache/mesos | Replaced `convertResourceFormat` with `downgradeResources` accordingly.
Review: https://reviews.apache.org/r/65031/ |
46,188 | 11.01.2018 15:48:10 | 28,800 | 31835a1637fa44f97f57b72df9abd044d57d5009 | Added doc for filesystem isolators.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/container-volume.md",
"new_path": "docs/container-volume.md",
"diff": "@@ -53,8 +53,9 @@ host filesystem.\nIf you are using the [Mesos Containerizer](mesos-containerizer.md),\n`HOST_PATH` volumes are handled by the `volume/host_path` isolator. To\nenable ... | C++ | Apache License 2.0 | apache/mesos | Added doc for filesystem isolators.
Review: https://reviews.apache.org/r/62959/ |
46,148 | 11.01.2018 17:36:30 | 28,800 | 455c7d8da74009b82c65559014a51712e60aec11 | Updated quota documentation to reflect 1.5 improvements.
This adds a NOTE to the implementation details of the allocator
to help clarify some of the improvements made in 1.5.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/quota.md",
"new_path": "docs/quota.md",
"diff": "@@ -328,6 +328,19 @@ for the role is satisfied, no further resources will be offered to the role\nexcept those reserved for the role. This behavior aims to mitigate the absence\nof quota limit and will be c... | C++ | Apache License 2.0 | apache/mesos | Updated quota documentation to reflect 1.5 improvements.
This adds a NOTE to the implementation details of the allocator
to help clarify some of the improvements made in 1.5.
Review: https://reviews.apache.org/r/65103/ |
46,165 | 11.01.2018 18:13:08 | 28,800 | 55200d2cfea70c0078b98b492fd87c876939acfa | Fixed some grammar in the quota documentation. | [
{
"change_type": "MODIFY",
"old_path": "docs/quota.md",
"new_path": "docs/quota.md",
"diff": "@@ -330,16 +330,16 @@ of quota limit and will be changed in future releases.\n**NOTE:** Prior to Mesos 1.5, the allocator would allocate the entire available\nresources on an agent (including the resources ... | C++ | Apache License 2.0 | apache/mesos | Fixed some grammar in the quota documentation. |
46,153 | 11.01.2018 18:15:43 | 28,800 | 370b5b634d1132a34022ec184a3056de46b45c4a | Added links for stout / libprocess READMEs in the getting-started guide.
This closes | [
{
"change_type": "MODIFY",
"old_path": "site/source/community/user-groups.html.md",
"new_path": "site/source/community/user-groups.html.md",
"diff": "@@ -10,7 +10,6 @@ Mesos User Groups (MUGs) are responsible for organizing local meetups, hackathon\n## Local Groups\n### China\n-* [Beijing](http://ww... | C++ | Apache License 2.0 | apache/mesos | Added links for stout / libprocess READMEs in the getting-started guide.
This closes #254 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.