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,195
12.10.2017 18:09:30
25,200
81704bd017f1ba3c1d5154ba3eee22226d5c9115
Added documentation for the `cgroups/blkio` isolator. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/cgroups-blkio.md", "diff": "+---\n+title: Apache Mesos - Cgroups 'blkio' Subsystem Support in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Cgroups 'blkio' Subsystem Support in Mesos Containerizer\n+\n+The `cgroups/blki...
C++
Apache License 2.0
apache/mesos
Added documentation for the `cgroups/blkio` isolator. Review: https://reviews.apache.org/r/62961/
46,165
12.10.2017 18:14:51
25,200
bea3618804dca7f73dff6f5542a89fd1105eb3f3
Re-organized the documentation table of contents. Review:
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -3,123 +3,112 @@ title: Apache Mesos - Documentation Home\nlayout: documentation\n---\n-# Documentation\n-\n-\n-## Mesos Fundamentals\n-\n+## Fundamentals\n* [Mesos Architecture](architecture.md) providing...
C++
Apache License 2.0
apache/mesos
Re-organized the documentation table of contents. Review: https://reviews.apache.org/r/62964
46,103
13.10.2017 10:42:19
-7,200
7014fbfaaf9aa2bfb365e297032af691d814c9b9
Added documentation to CSI-related source proto fields. This commit adds clarifying documentation to CSI-related proto fields in `Resource.DiskInfo.Source` which were introduced earlier. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1343,7 +1343,12 @@ message Resource {\noptional Path path = 2;\noptional Mount mount = 3;\n+ // An identifier for this source. This field maps onto CSI\n+ // volume IDs and is no...
C++
Apache License 2.0
apache/mesos
Added documentation to CSI-related source proto fields. This commit adds clarifying documentation to CSI-related proto fields in `Resource.DiskInfo.Source` which were introduced earlier. Review: https://reviews.apache.org/r/62929/
46,165
13.10.2017 12:03:03
25,200
a3c39b3fe203c1d1c498a45f3f5acc534f0da935
Fixed a broken community link in the documentation index.
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -83,7 +83,7 @@ layout: documentation\n* [Allocation Module](allocation-module.md) for how to write custom resource allocators.\n## Community\n-* [Getting Involved](../community/)\n+* [Getting Involved](/co...
C++
Apache License 2.0
apache/mesos
Fixed a broken community link in the documentation index.
46,082
13.10.2017 12:06:31
25,200
f569b841cbd8d8b07eb906a711aeb2d395096af6
Simplified RepeatedPtrField to vector conversion. It's also possible that `vector` can take advantage of `RepeatedPtrField` iterators implementing `RandomAccessIterator` concept and avoid buffer resizes, when constructed from range. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "@@ -79,12 +79,7 @@ const T& convert(const T& t)\ntemplate <typename T>\nstd::vector<T> convert(const google::protobuf::RepeatedPtrField<...
C++
Apache License 2.0
apache/mesos
Simplified RepeatedPtrField to vector conversion. It's also possible that `vector` can take advantage of `RepeatedPtrField` iterators implementing `RandomAccessIterator` concept and avoid buffer resizes, when constructed from range. Review: https://reviews.apache.org/r/62973/
46,082
13.10.2017 20:54:46
25,200
1c51c98638bb9ea0e8ec6a3f284b33d6c1a4e8ef
Fixed race in configureSignal and installCtrlHandler. When multiple agents are spawned in a single process, they attempt to install signal handler concurrently, causing tests, such as `ExamplesTest.PersistentVolumeFramework` and `ExamplesTest.DynamicReservationFramework` randomly fail. This adds missing synchronization...
[ { "change_type": "MODIFY", "old_path": "src/slave/posix_signalhandler.hpp", "new_path": "src/slave/posix_signalhandler.hpp", "diff": "#ifndef __POSIX_SIGNALHANDLER_HPP__\n#define __POSIX_SIGNALHANDLER_HPP__\n+#include <signal.h>\n+\n#include <functional>\n+#include <mutex>\n+\n+#include <stout/synch...
C++
Apache License 2.0
apache/mesos
Fixed race in configureSignal and installCtrlHandler. When multiple agents are spawned in a single process, they attempt to install signal handler concurrently, causing tests, such as `ExamplesTest.PersistentVolumeFramework` and `ExamplesTest.DynamicReservationFramework` randomly fail. This adds missing synchronizatio...
46,082
16.10.2017 15:17:00
25,200
6b898b5f28a7fa28915bc9c54f7c771c4ceb429c
Added protobuf install handler benchmark. This measures performance of the protobuf install handler support from receiving `MessageEvent` until the handler is called. Used to evaluate performance gains from using protobuf arenas. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/Makefile.am", "new_path": "3rdparty/libprocess/Makefile.am", "diff": "@@ -348,7 +348,12 @@ libprocess_tests_SOURCES += \\\nendif\nbenchmarks_SOURCES = \\\n- src/tests/benchmarks.cpp\n+ src/tests/benchmarks.cpp \\\n+ src/tests/benchmarks.pro...
C++
Apache License 2.0
apache/mesos
Added protobuf install handler benchmark. This measures performance of the protobuf install handler support from receiving `MessageEvent` until the handler is called. Used to evaluate performance gains from using protobuf arenas. Review: https://reviews.apache.org/r/62899/
46,056
06.10.2017 15:32:20
25,200
570e5ccfc4b54f620b29fbe2d1a8cd7a91669199
Logged when allocator cannot apply offer operation. An offer apply operation might fail, and it is helpful to see the failure in verbose logs. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -919,6 +919,8 @@ Future<Nothing> HierarchicalAllocatorProcess::updateAvailable(\n// where A = allocate, R = reserve, U = updateAvailable\nTry<R...
C++
Apache License 2.0
apache/mesos
Logged when allocator cannot apply offer operation. An offer apply operation might fail, and it is helpful to see the failure in verbose logs. Review: https://reviews.apache.org/r/63002
46,056
11.10.2017 19:11:38
25,200
c73cd6d2213b85bdc949452ef85f33764fadd566
Augmented AwaitAssertResponseStatusEq with response body. In most cases when a response return code does not match the expected value, the response body contains the error message. Instead of adding response body to the macro's output at the call site, change the macro itself to always include it. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/gtest.hpp", "new_path": "3rdparty/libprocess/include/process/gtest.hpp", "diff": "@@ -381,7 +381,8 @@ inline ::testing::AssertionResult AwaitAssertResponseStatusEq(\n<< \"Value of: (\" << actualExpr << \").get().status\\n\"\...
C++
Apache License 2.0
apache/mesos
Augmented AwaitAssertResponseStatusEq with response body. In most cases when a response return code does not match the expected value, the response body contains the error message. Instead of adding response body to the macro's output at the call site, change the macro itself to always include it. Review: https://rev...
46,056
11.10.2017 19:51:25
25,200
4fd9981348a410e40519867caa7064cb657012fc
Libprocess: Fixed formatting of `AWAIT_EXPECT_RESPONSE_STATUS_EQ`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "diff": "@@ -1811,9 +1811,7 @@ TEST_F(HttpAuthenticationTest, Unauthorized)\nFuture<http::Response> response =\nhttp::get(http.process->self(), \"authent...
C++
Apache License 2.0
apache/mesos
Libprocess: Fixed formatting of `AWAIT_EXPECT_RESPONSE_STATUS_EQ`. Review: https://reviews.apache.org/r/63005
46,056
11.10.2017 20:19:06
25,200
e9edc915ea6d7c305ec8a3c7cb298327b7a961db
Fixed formatting of `AWAIT_EXPECT_RESPONSE_STATUS_EQ`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -4928,8 +4928,7 @@ TEST_F(MasterTest, RecoveredSlaves)\ncreateBasicAuthHeaders(DEFAULT_CREDENTIAL));\nAWAIT_EXPECT_RESPONSE_STATUS_EQ(OK().status, response);\n- AWAIT_EXPECT_RES...
C++
Apache License 2.0
apache/mesos
Fixed formatting of `AWAIT_EXPECT_RESPONSE_STATUS_EQ`. Review: https://reviews.apache.org/r/63006
46,056
11.10.2017 20:04:15
25,200
d79315594ef14dd854c1b7a18875d9c84eff890a
Replaced unnecessary future chaining in api_tests.cpp. Instead of chaining response code check on a response future, leverage `AWAIT_EXPECT_RESPONSE_STATUS_EQ` macro. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -1326,20 +1326,14 @@ TEST_P(MasterAPITest, GetMaintenanceStatus)\nv1UpdateScheduleCall.mutable_update_maintenance_schedule();\nmaintenanceSchedule->mutable_schedule()->CopyFrom(v1Sche...
C++
Apache License 2.0
apache/mesos
Replaced unnecessary future chaining in api_tests.cpp. Instead of chaining response code check on a response future, leverage `AWAIT_EXPECT_RESPONSE_STATUS_EQ` macro. Review: https://reviews.apache.org/r/63007
46,056
14.10.2017 00:24:30
25,200
7fa534b95c7533a9bd54ded54c90642c227ba966
Avoided periodic allocations in reservation endpoint tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/reservation_endpoints_tests.cpp", "new_path": "src/tests/reservation_endpoints_tests.cpp", "diff": "@@ -76,8 +76,10 @@ public:\n// created with 'createFrameworkInfo'.\nvirtual master::Flags CreateMasterFlags()\n{\n+ // Turn off periodic allocations t...
C++
Apache License 2.0
apache/mesos
Avoided periodic allocations in reservation endpoint tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review: https://reviews.apache.org/r/63008
46,056
14.10.2017 00:25:59
25,200
67a98ccc2398174a97f2437b158063290d5b8dd8
Cleaned up reservation endpoint tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/reservation_endpoints_tests.cpp", "new_path": "src/tests/reservation_endpoints_tests.cpp", "diff": "@@ -975,13 +975,9 @@ TEST_F(ReservationEndpointsTest, GoodReserveAndUnreserveACL)\nunreserve->mutable_reserver_principals()->add_values(\nDEFAULT_CRED...
C++
Apache License 2.0
apache/mesos
Cleaned up reservation endpoint tests. Review: https://reviews.apache.org/r/63009
46,056
14.10.2017 01:57:36
25,200
adecb9ac56d5ea4958a5308da9c3596bf240df78
Avoided periodic allocations in persistent volume endpoint tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_endpoints_tests.cpp", "new_path": "src/tests/persistent_volume_endpoints_tests.cpp", "diff": "@@ -73,12 +73,14 @@ namespace tests {\nclass PersistentVolumeEndpointsTest : public MesosTest\n{\npublic:\n- // Set up the master flags su...
C++
Apache License 2.0
apache/mesos
Avoided periodic allocations in persistent volume endpoint tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review: https://reviews.apache.org/r/63010
46,056
14.10.2017 15:57:39
25,200
a6bd245bc8dcb8f4b5e24d7a3c189cba4906ca5a
Fixed a race when the first agent retries to register. The first agent can retry registration, which can erroneously satisfy the `SlaveRegisteredMessage` expectation for the second agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_endpoints_tests.cpp", "new_path": "src/tests/persistent_volume_endpoints_tests.cpp", "diff": "@@ -63,6 +63,7 @@ using process::http::Response;\nusing process::http::Unauthorized;\nusing testing::_;\n+using testing::Not;\nusing testi...
C++
Apache License 2.0
apache/mesos
Fixed a race when the first agent retries to register. The first agent can retry registration, which can erroneously satisfy the `SlaveRegisteredMessage` expectation for the second agent. Review: https://reviews.apache.org/r/63011
46,056
11.10.2017 20:06:06
25,200
4a39d12d115a2f7463c3c41fc7ae4dee12238eeb
Avoided periodic allocations in api tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -113,6 +113,15 @@ class MasterAPITest\npublic WithParamInterface<ContentType>\n{\npublic:\n+ virtual master::Flags CreateMasterFlags()\n+ {\n+ // Turn off periodic allocations to avoi...
C++
Apache License 2.0
apache/mesos
Avoided periodic allocations in api tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review: https://reviews.apache.org/r/63012
46,056
14.10.2017 17:14:05
25,200
3cd907afcc637748f31f0ed783e4a9e6cf2a8d9e
Avoided periodic allocations in EventAuthorizationFiltering test. Prior to this patch, the second, still unexpected allocation, can fire before an appropriate expectation is set. We trigger the second allocation via `REVIVE` call. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -2212,12 +2212,9 @@ TEST_P(MasterAPITest, EventAuthorizationFiltering)\nacl->mutable_users()->set_type(mesos::ACL::Entity::NONE);\n}\n- master::Flags masterFlags = CreateMasterFlags()...
C++
Apache License 2.0
apache/mesos
Avoided periodic allocations in EventAuthorizationFiltering test. Prior to this patch, the second, still unexpected allocation, can fire before an appropriate expectation is set. We trigger the second allocation via `REVIVE` call. Review: https://reviews.apache.org/r/63013
46,056
14.10.2017 18:00:21
25,200
1d166439a7424ca41488efc7f7bff404543ee502
Avoided periodic allocations in reservation refinement tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8057,6 +8057,15 @@ class MasterTestPrePostReservationRefinement\n: public MasterTest,\npublic WithParamInterface<bool> {\npublic:\n+ virtual master::Flags CreateMasterFlags()\n...
C++
Apache License 2.0
apache/mesos
Avoided periodic allocations in reservation refinement tests. Turn off periodic allocations to avoid the race between `HierarchicalAllocator::updateAvailable()` and periodic allocations. Review: https://reviews.apache.org/r/63014
46,056
14.10.2017 18:01:43
25,200
281d4693d8cc8559afb09f03e0c44d31b3dbcaf5
Cleaned up test ordering in "master_tests.cpp". Move all tests from the `MasterTest` fixture before tests from the `MasterTestPrePostReservationRefinement` fixture. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8053,6 +8053,139 @@ TEST_F(MasterTest, IgnoreOldAgentReregistration)\n}\n+// This test checks that the master correctly garbage collects\n+// information about gone agents from...
C++
Apache License 2.0
apache/mesos
Cleaned up test ordering in "master_tests.cpp". Move all tests from the `MasterTest` fixture before tests from the `MasterTestPrePostReservationRefinement` fixture. Review: https://reviews.apache.org/r/63015
46,103
16.10.2017 17:44:47
25,200
982aba2e92cca3a96fd2838ea5a45b56e9d21277
Fixed flakiness in 'ResourceProviderRegistrarTest.AgentRegistrar'. This test created an agent registrar which attempted to store its state in the agent's meta directory before the agent had set up that directory hierarchy. This patch adds additional waiting to make sure required directories have been set up before star...
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_provider_manager_tests.cpp", "new_path": "src/tests/resource_provider_manager_tests.cpp", "diff": "@@ -369,11 +369,19 @@ TEST_F(ResourceProviderRegistrarTest, AgentRegistrar)\nFuture<SlaveRegisteredMessage> slaveRegisteredMessage =\nFUTURE_P...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in 'ResourceProviderRegistrarTest.AgentRegistrar'. This test created an agent registrar which attempted to store its state in the agent's meta directory before the agent had set up that directory hierarchy. This patch adds additional waiting to make sure required directories have been set up before st...
46,076
17.10.2017 11:32:49
25,200
e757918f849ed2fd0f4cbc05e029f7fade493440
Updated Doxygen style guide docs to latest expectations. In particular, removed the discussion of Markdown files as we no longer generate Doxygen representations of our Markdown files but instead link to them in GitHub.
[ { "change_type": "MODIFY", "old_path": "docs/doxygen-style-guide.md", "new_path": "docs/doxygen-style-guide.md", "diff": "@@ -23,12 +23,7 @@ We follow the [Javadoc syntax](http://en.wikipedia.org/wiki/Javadoc) to mark com\nThese have the general form:\n-<!-- NOTE: In order to show the comments as pa...
C++
Apache License 2.0
apache/mesos
Updated Doxygen style guide docs to latest expectations. In particular, removed the discussion of Markdown files as we no longer generate Doxygen representations of our Markdown files but instead link to them in GitHub.
46,076
17.10.2017 11:39:05
25,200
e56c01483039882b9d049d209ea139ac6eadfb41
Replaced Doxygen style fenced code blocks with GitHub Markdown.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/README.md", "new_path": "3rdparty/libprocess/README.md", "diff": "@@ -48,7 +48,7 @@ Processes provide execution contexts (only one thread executing within\na process at a time so no need for per process synchronization).\n<!---\n-~~~{.cpp}\...
C++
Apache License 2.0
apache/mesos
Replaced Doxygen style fenced code blocks with GitHub Markdown.
46,056
17.10.2017 12:13:55
25,200
b361801f2c78043459199dab3e0defe9a0b4c1aa
Removed a no longer valid comment.
[ { "change_type": "MODIFY", "old_path": "src/tests/command_executor_tests.cpp", "new_path": "src/tests/command_executor_tests.cpp", "diff": "@@ -151,9 +151,6 @@ TEST_P(CommandExecutorTest, NoTaskKillingCapability)\n// This test ensures that the command executor sends TASK_KILLING\n// to frameworks th...
C++
Apache License 2.0
apache/mesos
Removed a no longer valid comment.
46,172
18.10.2017 18:23:14
-7,200
a7de1bccd3ed6385b111aaa63243ed3dfaae01c2
Updated jQuery and Angular versions used in Makefile.am. `Makefile.am` needs to be updated for the distribution packages to be successfully built. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1752,14 +1752,14 @@ nobase_dist_pkgdata_DATA += \\\n# Need to distribute/install third-party javascript.\nnobase_dist_pkgdata_DATA += \\\n- webui/master/static/js/angular-1.2.3.js \\\n- webui/master...
C++
Apache License 2.0
apache/mesos
Updated jQuery and Angular versions used in Makefile.am. `Makefile.am` needs to be updated for the distribution packages to be successfully built. Review: https://reviews.apache.org/r/63114/
46,172
18.10.2017 10:38:29
25,200
3edce39840f6a825df5fb44aab59e317a55008f1
Increased level of some verbose logs from allocator. Increases vlog level of some recurring events to improve readability. Specifically, we now log the following events on vlog level two instead of level one: "Skipped allocation because the allocator is paused", "No allocations performed", "No inverse offers to send ou...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1444,7 +1444,7 @@ Future<Nothing> HierarchicalAllocatorProcess::allocate(\nconst hashset<SlaveID>& slaveIds)\n{\nif (paused) {\n- VLOG(1) << \...
C++
Apache License 2.0
apache/mesos
Increased level of some verbose logs from allocator. Increases vlog level of some recurring events to improve readability. Specifically, we now log the following events on vlog level two instead of level one: "Skipped allocation because the allocator is paused", "No allocations performed", "No inverse offers to ...
46,172
18.10.2017 10:38:42
25,200
41193181d6b75eeecae2729bf98007d9318e351a
Increased level of some verbose logs from master and agent. Increases vlog level of some recurring events to improve readability. Specifically, we now log the following events on vlog level two instead of level one: "Sending heartbeat", "Received ping from <slave-observer>", "Querying resource estimator for oversubscri...
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -346,7 +346,7 @@ private:\n{\n// Only send a heartbeat if the connection is not closed.\nif (http.closed().isPending()) {\n- VLOG(1) << \"Sending heartbeat to \" << logMessage;\n+ VLOG(2)...
C++
Apache License 2.0
apache/mesos
Increased level of some verbose logs from master and agent. Increases vlog level of some recurring events to improve readability. Specifically, we now log the following events on vlog level two instead of level one: "Sending heartbeat", "Received ping from <slave-observer>", "Querying resource estimator for over...
46,139
18.10.2017 11:47:27
25,200
7e6786e627f03d3b257e41d3e5c00be8af1adf99
Mesos UI: fixed use of undefined variable for the pailer title. This patch fixes the use of an undefined variable to generate the pailer's window title in `pailer()`. The title used for pailers that read agent files used to be: "path (host:port)", it is now "path (agentId)". Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/controllers.js", "new_path": "src/webui/master/static/js/controllers.js", "diff": "// Need to use window.onload instead of document.ready to make\n// sure the title doesn't get overwritten.\npailer.onload = function() {\n- pailer.doc...
C++
Apache License 2.0
apache/mesos
Mesos UI: fixed use of undefined variable for the pailer title. This patch fixes the use of an undefined variable to generate the pailer's window title in `pailer()`. The title used for pailers that read agent files used to be: "path (host:port)", it is now "path (agentId)". Review: https://reviews.apache.org/r/6311...
46,139
18.10.2017 12:14:06
25,200
4b6d848e8a4ba19c5e790f40655f5be000686941
Removed a stray trailing parenthesis from a validation error. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -894,7 +894,7 @@ Option<Error> validateCompatibleExecutorInfo(\nif (executorInfo.isSome() && executor != executorInfo.get()) {\nreturn Error(\n\"ExecutorInfo is not compatible wit...
C++
Apache License 2.0
apache/mesos
Removed a stray trailing parenthesis from a validation error. Review: https://reviews.apache.org/r/61855/
46,057
18.10.2017 12:15:13
25,200
de11f0ffed36fbabc8fb4167859fd23b75f43f10
Send TASK_STARTING from the built-in executors. This gives schedulers more information about a tasks status, in particular it gives a better estimate of a tasks start time and helps differentiating between tasks stuck in TASK_STAGING and tasks stuck in TASK_STARTING. Review:
[ { "change_type": "MODIFY", "old_path": "docs/high-availability-framework-guide.md", "new_path": "docs/high-availability-framework-guide.md", "diff": "@@ -189,10 +189,11 @@ initial state and several possible terminal states:\nhas not yet started to run. In this state, the task's dependencies are\nfet...
C++
Apache License 2.0
apache/mesos
Send TASK_STARTING from the built-in executors. This gives schedulers more information about a tasks status, in particular it gives a better estimate of a tasks start time and helps differentiating between tasks stuck in TASK_STAGING and tasks stuck in TASK_STARTING. Review: https://reviews.apache.org/r/62212/
46,056
18.10.2017 15:42:14
25,200
aa54701a4b297586c7ba3627c3cc66717db7dbea
Cleaned up style in several tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -2832,7 +2832,6 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(DefaultExecutorCheckTest, TCPCheckDelivered)\n// Acknowledge (to be able to get the next update).\nacknowledge(&mesos, framework...
C++
Apache License 2.0
apache/mesos
Cleaned up style in several tests.
46,057
19.10.2017 08:15:02
25,200
c694a450d1072982728982a010c0199973f9dd3a
Fixed 'PortMappingMesosTest.ROOT_NetworkNamespaceHandleSymlink'. The test was broken in 'de11f0ffed36fbabc8fb4167859fd23b75f43f10', due to the scheduler sending an additional, unexpected status update. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/port_mapping_tests.cpp", "new_path": "src/tests/containerizer/port_mapping_tests.cpp", "diff": "@@ -2210,15 +2210,21 @@ TEST_F(PortMappingMesosTest, ROOT_NetworkNamespaceHandleSymlink)\n// Start a long running task using network islator...
C++
Apache License 2.0
apache/mesos
Fixed 'PortMappingMesosTest.ROOT_NetworkNamespaceHandleSymlink'. The test was broken in 'de11f0ffed36fbabc8fb4167859fd23b75f43f10', due to the scheduler sending an additional, unexpected status update. Review: https://reviews.apache.org/r/63148/
46,172
19.10.2017 11:51:33
25,200
0a8421612b30f342670f97b72b4097a413f53470
Replaced std::cerr by LOG(ERROR) in process.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "#include <deque>\n#include <fstream>\n#include <iomanip>\n-#include <iostream>\n#include <list>\n#include <map>\n#include <memory> // TODO(benh): Replace shared_p...
C++
Apache License 2.0
apache/mesos
Replaced std::cerr by LOG(ERROR) in process.cpp. Review: https://reviews.apache.org/r/63146/
46,111
19.10.2017 14:24:21
25,200
4509bb49ef5e16a84336d72b5876b7d366e9864e
Introduced a ReadWriteLock in libprocess. The ReadWriteLock is a lock that allows for concurrent reads and exclusive writes. Starvation of write lock requests is preventing by queueing read lock requests when there is a write lock request waiting. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/Makefile.am", "new_path": "3rdparty/libprocess/include/Makefile.am", "diff": "@@ -59,6 +59,7 @@ nobase_include_HEADERS = \\\nprocess/queue.hpp \\\nprocess/reap.hpp \\\nprocess/run.hpp \\\n+ process/rwlock.hpp \\\nprocess/sequence.hp...
C++
Apache License 2.0
apache/mesos
Introduced a ReadWriteLock in libprocess. The ReadWriteLock is a lock that allows for concurrent reads and exclusive writes. Starvation of write lock requests is preventing by queueing read lock requests when there is a write lock request waiting. Review: https://reviews.apache.org/r/62911/
46,111
19.10.2017 14:41:25
25,200
5fd4b46f46feaef4ea426a1102b4efe64bc25b4e
Added tests for ReadWriteLock. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/Makefile.am", "new_path": "3rdparty/libprocess/Makefile.am", "diff": "@@ -303,6 +303,7 @@ libprocess_tests_SOURCES = \\\nsrc/tests/profiler_tests.cpp \\\nsrc/tests/queue_tests.cpp \\\nsrc/tests/reap_tests.cpp \\\n+ src/tests/rwlock_tests.cp...
C++
Apache License 2.0
apache/mesos
Added tests for ReadWriteLock. Review: https://reviews.apache.org/r/62912/
46,165
19.10.2017 14:18:32
25,200
c37ce4b51535b0544d430530ba8a6112c73dc024
Eliminated unnecssary copying within process::Mutex. The code prior to this commit was written before Promise had move support. We no longer need to allocate the waiter Promises on the heap. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/mutex.hpp", "new_path": "3rdparty/libprocess/include/process/mutex.hpp", "diff": "@@ -38,9 +38,9 @@ public:\nif (!data->locked) {\ndata->locked = true;\n} else {\n- Owned<Promise<Nothing>> promise(new Promise<Nothing>());\n-...
C++
Apache License 2.0
apache/mesos
Eliminated unnecssary copying within process::Mutex. The code prior to this commit was written before Promise had move support. We no longer need to allocate the waiter Promises on the heap. Review: https://reviews.apache.org/r/63170
46,165
19.10.2017 15:01:00
25,200
5bd78d713f07fb320d744dcb12dc9e68b2a775a9
Fixed an incorrect include in mutex_tests.cpp.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/mutex_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/mutex_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License\n-#include <gmock/gmock.h>\n+#include...
C++
Apache License 2.0
apache/mesos
Fixed an incorrect include in mutex_tests.cpp.
46,139
19.10.2017 22:55:01
25,200
377b684dceb94bce86f91947a1318ea5cd4d47d3
Added and used more v1 scheduler API test helpers. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -398,16 +398,7 @@ TEST_P(DefaultExecutorTest, KillTask)\n.WillOnce(FutureArg<1>(&executorFailure));\n// Now kill a task in the first task group.\n- {\n- Call...
C++
Apache License 2.0
apache/mesos
Added and used more v1 scheduler API test helpers. Review: https://reviews.apache.org/r/63172/
46,139
19.10.2017 22:55:08
25,200
5cc37c2cdf1a4e1ca1c23cbad2764679f24174e1
Refactored and fixed `DefaultExecutorTest.CommitSuicideOnKillTask`. Make this flaky test more readable, and cleaner by not trying to guess the order in which task status updates will arrive. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -944,34 +944,29 @@ TEST_P(DefaultExecutorTest, CommitSuicideOnKillTask)\n// The first task finishes successfully while the second\n// task is explicitly kill...
C++
Apache License 2.0
apache/mesos
Refactored and fixed `DefaultExecutorTest.CommitSuicideOnKillTask`. Make this flaky test more readable, and cleaner by not trying to guess the order in which task status updates will arrive. Review: https://reviews.apache.org/r/63173/
46,057
20.10.2017 09:57:09
25,200
b3d5857b800bc284918185bde336de60e62da5df
Fixed 'SlaveRecoveryTest.RegisterDisconnectedSlave'. The test was broken in 'de11f0ffed36fbabc8fb4167859fd23b75f43f10' due to the executor sending one more status update. Additionally, an explicit verification of the status update acknowledgement was added to eliminate a common source of test flakyness. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -3354,16 +3354,28 @@ TYPED_TEST(SlaveRecoveryTest, RegisterDisconnectedSlave)\nFuture<Message> registerExecutorMessage =\nFUTURE_MESSAGE(Eq(RegisterExecutorMessa...
C++
Apache License 2.0
apache/mesos
Fixed 'SlaveRecoveryTest.RegisterDisconnectedSlave'. The test was broken in 'de11f0ffed36fbabc8fb4167859fd23b75f43f10' due to the executor sending one more status update. Additionally, an explicit verification of the status update acknowledgement was added to eliminate a common source of test flakyness. Review: http...
46,114
20.10.2017 10:37:24
25,200
8386e22f20d9d20836df6111221cb3afdaf2a3ba
Moved building docs to `building.md`. The existing "Getting Started" documentation does not cover how to "get started" with Mesos, but instead how to build it from source on multiple platforms. Also added a link to `configuration.md` in the build documentation section, as it was not obvious. Review:
[ { "change_type": "RENAME", "old_path": "docs/getting-started.md", "new_path": "docs/building.md", "diff": "---\n-title: Apache Mesos - Getting Started\n+title: Apache Mesos - Building\nlayout: documentation\n---\n-# Getting Started\n+# Building\n## Downloading Mesos\n" }, { "change_type": "M...
C++
Apache License 2.0
apache/mesos
Moved building docs to `building.md`. The existing "Getting Started" documentation does not cover how to "get started" with Mesos, but instead how to build it from source on multiple platforms. Also added a link to `configuration.md` in the build documentation section, as it was not obvious. Review: https://reviews.a...
46,114
20.10.2017 10:37:25
25,200
b71478750dce4a26d84c1840a4e6d73349a6f0db
Added the Getting Started landing page. After moving the build documentation to its own page, we can now have a real "Getting Started" page suitable for anyone to get started with Mesos. It is purposefully short, and therefore not overwhelming. Review:
[ { "change_type": "MODIFY", "old_path": "site/config.rb", "new_path": "site/config.rb", "diff": "@@ -43,7 +43,6 @@ end\npage \"/index.html\", :layout => \"basic\"\npage \"/documentation/*\", :layout => \"documentation\"\nproxy \"/documentation/index.html\", \"/documentation/latest.html\", :layout => ...
C++
Apache License 2.0
apache/mesos
Added the Getting Started landing page. After moving the build documentation to its own page, we can now have a real "Getting Started" page suitable for anyone to get started with Mesos. It is purposefully short, and therefore not overwhelming. Review: https://reviews.apache.org/r/63095/
46,114
20.10.2017 10:22:57
25,200
549fa6145a750c16aee5ea612eb97c40417dc6b8
Windows: Fixed off-by-one error in long path support. The `CreateDirectoryW` API will fail with a path of 248 characters exactly, so this needed to be `>=`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/internal/windows/longpath.hpp", "new_path": "3rdparty/stout/include/stout/internal/windows/longpath.hpp", "diff": "@@ -27,18 +27,18 @@ namespace internal {\nnamespace windows {\n// This function idempotently prepends \"\\\\?\\\" to...
C++
Apache License 2.0
apache/mesos
Windows: Fixed off-by-one error in long path support. The `CreateDirectoryW` API will fail with a path of 248 characters exactly, so this needed to be `>=`. Review: https://reviews.apache.org/r/63076/
46,111
22.10.2017 12:54:15
25,200
b13c4c3683fd6bad702a7fb9e24cfc3414b921da
Fixed missing `convertResourceFormat` cases in `master::updateSlave`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6798,8 +6798,19 @@ void Master::updateSlave(const UpdateSlaveMessage& message)\nOption<Resources> newTotal;\nOption<Resources> newOversubscribed;\n+ // Make a copy of the message so we c...
C++
Apache License 2.0
apache/mesos
Fixed missing `convertResourceFormat` cases in `master::updateSlave`. Review: https://reviews.apache.org/r/63084/
46,057
23.10.2017 10:31:48
25,200
fc67bcbe3c43cfb624223b7c01973daa08966be4
Fixed GPU tests. This set of tests was broken because they didn't expect the TASK_STARTING update from the executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/nvidia_gpu_isolator_tests.cpp", "new_path": "src/tests/containerizer/nvidia_gpu_isolator_tests.cpp", "diff": "@@ -131,13 +131,17 @@ TEST_F(NvidiaGpuTest, ROOT_CGROUPS_NVIDIA_GPU_VerifyDeviceAccess)\nResources::parse(\"cpus:0.1;mem:128\"...
C++
Apache License 2.0
apache/mesos
Fixed GPU tests. This set of tests was broken because they didn't expect the TASK_STARTING update from the executor. Review: https://reviews.apache.org/r/63214/
46,191
24.10.2017 08:01:12
25,200
3f2022825a53f42480ee5443b18e1d4ba8bc5e27
Updated link to the getting started documentation. This closes
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -19,7 +19,7 @@ version can be found on the Mesos website's [Documentation](http://mesos.apache.\n# Installation\n-Instructions are included on the [Getting Started](http://mesos.apache.org/gettingstarted/) page....
C++
Apache License 2.0
apache/mesos
Updated link to the getting started documentation. This closes #242
46,114
24.10.2017 08:48:28
25,200
d5630f3412dab3b3464f59c57b7526068ebbcb96
Fixed whitespace problems and broken links in contribution guidelines. Indentation needed to be consistently four spaces for sublists to render correctly, and blank linds needed to be removed for spacing to render correctly. Also fixed outdated links to 'Getting Started' for build instructions. Review:
[ { "change_type": "MODIFY", "old_path": "docs/advanced-contribution.md", "new_path": "docs/advanced-contribution.md", "diff": "@@ -7,7 +7,7 @@ layout: documentation\n## Prerequisites\n-If you'd like to make significant contributions to Mesos, then you'll want to become familiar with the standard Meso...
C++
Apache License 2.0
apache/mesos
Fixed whitespace problems and broken links in contribution guidelines. Indentation needed to be consistently four spaces for sublists to render correctly, and blank linds needed to be removed for spacing to render correctly. Also fixed outdated links to 'Getting Started' for build instructions. Review: https://revie...
46,148
24.10.2017 15:40:26
25,200
bd944b79ce326ac18a811b9e5d90c4bb536d05a5
Added Meng Zhu to contributors list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: megha.sharma\nreviewboard_user: megha.sharma\n+- name: Meng Zhu\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - mzhu@mesosphere.com\n+ jira_user: mzhu\n+ review...
C++
Apache License 2.0
apache/mesos
Added Meng Zhu to contributors list. Review: https://reviews.apache.org/r/63264/
46,165
24.10.2017 17:26:34
25,200
2dd622a70280ceaacfd7d611dfb4eddfdbf23ac7
Further increased the store timeout for the registrar tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/registrar_tests.cpp", "new_path": "src/tests/registrar_tests.cpp", "diff": "@@ -175,7 +175,7 @@ protected:\nstate = new State(storage);\n// Compensate for slow CI machines / VMs.\n- flags.registry_store_timeout = Seconds(10);\n+ flags.registry_store_...
C++
Apache License 2.0
apache/mesos
Further increased the store timeout for the registrar tests.
46,111
26.10.2017 12:03:47
25,200
f26ffcee0a359a644968feca1ec91243401f589a
Logged the resources in DRF sorter CHECKs. If calls to these checks fail, log related resources objects which caused the failure. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.hpp", "new_path": "src/master/allocator/sorter/drf/sorter.hpp", "diff": "@@ -346,7 +346,9 @@ struct DRFSorter::Node\nvoid subtract(const SlaveID& slaveId, const Resources& toRemove)\n{\nCHECK(resources.contains(slaveId));...
C++
Apache License 2.0
apache/mesos
Logged the resources in DRF sorter CHECKs. If calls to these checks fail, log related resources objects which caused the failure. Review: https://reviews.apache.org/r/63332/
46,070
27.10.2017 16:32:08
25,200
1dba0119fd59e42f5641f6ea78077208131ef34e
Added a new book listing fo `Apache Mesos Cookbook`. This closes
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -139,4 +139,10 @@ layout: documentation\n</a>\n<p class=\"text-center\">Mesos in Action by Roger Ignazio (Manning, 2016)</p>\n</div>\n+ <div class=\"col-xs-6 col-md-4\">\n+ <a href=\"https://www.packtpub.c...
C++
Apache License 2.0
apache/mesos
Added a new book listing fo `Apache Mesos Cookbook`. This closes #243
46,188
14.10.2017 21:28:36
25,200
d6ac32dc9c9013f24a9e41d3d32b7421c333f1e1
Updated protobuf definitions related to offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -106,6 +106,15 @@ message ResourceProviderID {\n}\n+/**\n+ * A framework-generated ID to distinguish an offer operation. The ID\n+ * must be unique within the framework.\n+ */\n+m...
C++
Apache License 2.0
apache/mesos
Updated protobuf definitions related to offer operations. Review: https://reviews.apache.org/r/63001
46,188
10.10.2017 16:09:30
25,200
5b83b31c91fa35ff55a2d29a05eb526330343b44
Added RESOURCE_PROVIDER agent capability. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -965,6 +965,15 @@ message SlaveInfo {\n// NOTE: Resources are said to have refined reservations if it uses the\n// `Resource.reservations` field, and `Resource.reservations_size()...
C++
Apache License 2.0
apache/mesos
Added RESOURCE_PROVIDER agent capability. Review: https://reviews.apache.org/r/62877
46,188
10.10.2017 17:43:28
25,200
e9ac9f8252a1aa01d72fb7b918bf723df8e7dd7b
Sent CheckpointResourcesMessage only when reregister with an old master. No need for sending checkpoint resources message to the agent if the master does not have state about the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6313,11 +6313,47 @@ void Master::_reregisterSlave(\nCHECK(slave->active)\n<< \"Unexpected connected but deactivated agent \" << *slave;\n- // Inform the agent of the master's version of ...
C++
Apache License 2.0
apache/mesos
Sent CheckpointResourcesMessage only when reregister with an old master. No need for sending checkpoint resources message to the agent if the master does not have state about the agent. Review: https://reviews.apache.org/r/62878
46,188
24.10.2017 00:29:14
25,200
58d59e9d90ce7eb56989cac135b29b6bf47e376d
Added a helper to test if a resource is a disk of a given type. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -276,6 +276,11 @@ public:\n// Tests if the given Resource object is a persistent volume.\nstatic bool isPersistentVolume(const Resource& resource);\n+ // Tests if the given Re...
C++
Apache License 2.0
apache/mesos
Added a helper to test if a resource is a disk of a given type. Review: https://reviews.apache.org/r/63254
46,188
24.10.2017 00:30:45
25,200
4a67ee54462040611ad2197073a87ba18acd7148
Added a helper to test if a resource has resource provider. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -311,6 +311,9 @@ public:\n// Tests if the given Resource object has refined reservations.\nstatic bool hasRefinedReservations(const Resource& resource);\n+ // Tests if the giv...
C++
Apache License 2.0
apache/mesos
Added a helper to test if a resource has resource provider. Review: https://reviews.apache.org/r/63255
46,188
30.10.2017 15:24:29
-3,600
62b41253413a9952d78a969647d181b0963da567
Added a general hash function for Option<T>. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/option.hpp", "new_path": "3rdparty/stout/include/stout/option.hpp", "diff": "#include <assert.h>\n#include <algorithm>\n+#include <functional>\n+\n+#include <boost/functional/hash.hpp>\n#include <stout/none.hpp>\n#include <stout/so...
C++
Apache License 2.0
apache/mesos
Added a general hash function for Option<T>. Review: https://reviews.apache.org/r/63410
46,188
24.10.2017 00:33:22
25,200
a9e4a723c4b58aee8201e7114a597f09b5c8b4ef
Added a master validation 'resource::validateSingleResourceProvider'. This validates that all resources are from the same resource provider. We don't allow an offer operation to be operating on resources from different resource providers. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "#include \"master/validation.hpp\"\n+#include <algorithm>\n+#include <iterator>\n#include <set>\n#include <string>\n#include <vector>\n@@ -793,6 +795,46 @@ Option<Error> validateAllo...
C++
Apache License 2.0
apache/mesos
Added a master validation 'resource::validateSingleResourceProvider'. This validates that all resources are from the same resource provider. We don't allow an offer operation to be operating on resources from different resource providers. Review: https://reviews.apache.org/r/63256
46,188
24.10.2017 00:35:56
25,200
ae8619d64a29920718ead587da0dba30b76340fd
Added a few test helpers for creating disk resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -941,7 +941,7 @@ inline typename TResource::DiskInfo createDiskInfo(\n// Helper for creating a disk source with type `PATH`.\ntemplate <typename TResource>\ninline typename TResource::DiskInf...
C++
Apache License 2.0
apache/mesos
Added a few test helpers for creating disk resources. Review: https://reviews.apache.org/r/63257
46,066
24.10.2017 00:37:36
25,200
6c8ae68180f92bba0dbdf0516cc833c04f958f5b
Added validation for disk related new operations. (This is based on https://reviews.apache.org/r/61946) Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -2268,6 +2268,96 @@ Option<Error> validate(\nreturn None();\n}\n+\n+Option<Error> validate(const Offer::Operation::CreateVolume& createVolume)\n+{\n+ const Resource& source = crea...
C++
Apache License 2.0
apache/mesos
Added validation for disk related new operations. (This is based on https://reviews.apache.org/r/61946) Review: https://reviews.apache.org/r/63355
46,066
17.10.2017 15:19:29
-7,200
2a620fd1296620004ed24e260e5a8993c9652427
Removed TODOs from storage operation 'apply' handlers. These operations don't alter the offered resources immediately. Only after operation feedback has been received, resources might be altered. But this will be handled in a different code path. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -1784,21 +1784,25 @@ Try<Resources> Resources::apply(const Offer::Operation& operation) const\nbreak;\n}\n- case Offer::Operation::CREATE_VOLUME:\n- // TODO(nfnt): Implement this.\n...
C++
Apache License 2.0
apache/mesos
Removed TODOs from storage operation 'apply' handlers. These operations don't alter the offered resources immediately. Only after operation feedback has been received, resources might be altered. But this will be handled in a different code path. Review: https://reviews.apache.org/r/63105
46,188
26.10.2017 12:19:56
-7,200
6c2c7d0ad9018e0b9050831aa7d9621b6c37fc03
Added stub handler in agent for ApplyOfferOperationMessage. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -668,6 +668,9 @@ void Slave::initialize()\n&Slave::checkpointResources,\n&CheckpointResourcesMessage::resources);\n+ install<ApplyOfferOperationMessage>(\n+ &Slave::applyOfferOperation);\n+\n...
C++
Apache License 2.0
apache/mesos
Added stub handler in agent for ApplyOfferOperationMessage. Review: https://reviews.apache.org/r/63399
46,188
29.10.2017 15:15:29
-3,600
e95b42d0fff33754065459b10e54c89ef06448e0
Added equality and hash function for OfferOperationID. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -107,6 +107,14 @@ inline bool operator==(const OfferID& left, const OfferID& right)\n}\n+inline bool operator==(\n+ const OfferOperationID& left,\n+ const OfferOperationID& ...
C++
Apache License 2.0
apache/mesos
Added equality and hash function for OfferOperationID. Review: https://reviews.apache.org/r/63396
46,188
29.10.2017 15:16:49
-3,600
ee67a6680e3f44d3e1da35205a82511cefd1d03d
Added a map from OfferOperationID to internal operation UUID. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -2725,6 +2725,10 @@ struct Framework\nCHECK_SOME(uuid);\nofferOperations.put(uuid.get(), operation);\n+\n+ if (operation->info().has_id()) {\n+ offerOperationUUIDs.put(operation->info().i...
C++
Apache License 2.0
apache/mesos
Added a map from OfferOperationID to internal operation UUID. Review: https://reviews.apache.org/r/63397
46,188
29.10.2017 15:23:35
-3,600
a98a060c6e7fb6b3131f0e6f710647322d6d885d
Added a missing hash function for v1 resource provider ID. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.hpp", "new_path": "include/mesos/v1/mesos.hpp", "diff": "@@ -686,6 +686,22 @@ struct hash<mesos::v1::OfferOperationID>\n}\n};\n+\n+template <>\n+struct hash<mesos::v1::ResourceProviderID>\n+{\n+ typedef size_t result_type;\n+\n+ typedef ...
C++
Apache License 2.0
apache/mesos
Added a missing hash function for v1 resource provider ID. Review: https://reviews.apache.org/r/63398
46,188
27.10.2017 12:12:39
-7,200
285670879253ec0fff09ae80aebccc472506bd21
Added the stub for OfferOperationStatusUpdate handler in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -877,6 +877,9 @@ void Master::initialize()\n&ReconcileTasksMessage::framework_id,\n&ReconcileTasksMessage::statuses);\n+ install<OfferOperationStatusUpdate>(\n+ &Master::offerOperationSta...
C++
Apache License 2.0
apache/mesos
Added the stub for OfferOperationStatusUpdate handler in the master. Review: https://reviews.apache.org/r/63358
46,178
21.09.2017 16:07:13
14,400
ff01d0c44251e2ffaa2f4f47b33c790594d194d9
Binary packaging for Centos. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/packaging/Jenkinsfile", "diff": "+def dockerArgs() {\n+ def workspace_dir = pwd()\n+ sh \"mkdir -p ${workspace_dir}/.m2\"\n+\n+ def args = \"-e MESOS_TAG=${params.MESOS_TAG}\"\n+ args = \"${args} -e MESOS_RELEASE=${params.MESOS_RELEASE}\...
C++
Apache License 2.0
apache/mesos
Binary packaging for Centos. Review: https://reviews.apache.org/r/62616
46,171
30.10.2017 12:44:32
25,200
c4920073da0df606d9a2e9df20f5a59c5bcdb03e
Add SliceLife in powered-by-mesos.md. Proudly using Mesos! This closes
[ { "change_type": "MODIFY", "old_path": "docs/powered-by-mesos.md", "new_path": "docs/powered-by-mesos.md", "diff": "@@ -100,6 +100,7 @@ layout: documentation\n* [Shopee](http://www.shopee.sg)\n* [Sigmoid Analytics](http://www.sigmoidanalytics.com/)\n* [SiQueries](https://siqueries.com)\n+* [SliceLif...
C++
Apache License 2.0
apache/mesos
Add SliceLife in powered-by-mesos.md. Proudly using Mesos! This closes #244
46,128
30.10.2017 13:00:58
25,200
e6bec836af3a672a0838cd6a1b7687f087d5594f
Added protobuf messages for V1 scheduler operation feedback. This patch adds new and updated protobuf messages to facilitate offer operation status updates, as well as acknowledgement of those updates and operation status reconciliation. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/scheduler/scheduler.proto", "new_path": "include/mesos/scheduler/scheduler.proto", "diff": "@@ -48,6 +48,7 @@ message Event {\nINVERSE_OFFERS = 9; // See 'InverseOffers' below.\nRESCIND = 3; // See 'Rescind' below.\nRESCIND_INVERSE_OFFER = 10; //...
C++
Apache License 2.0
apache/mesos
Added protobuf messages for V1 scheduler operation feedback. This patch adds new and updated protobuf messages to facilitate offer operation status updates, as well as acknowledgement of those updates and operation status reconciliation. Review: https://reviews.apache.org/r/63321/
46,128
30.10.2017 13:02:18
25,200
6ecbf02c21d3cfdb74c56cbdde5d2c5879149ae9
Added placeholder handlers and other changes for operation updates. This patch adds empty placeholder handler functions which will be used for offer operation status updates as well as their acknowledgement and reconciliation. A number of switch statements are also updated to handle new enum values and validation code ...
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -676,6 +676,7 @@ protected:\ncase Event::FAILURE:\ncase Event::RESCIND:\ncase Event::RESCIND_INVERSE_OFFER:\n+ case Event::OFFER_OPERATION_UPDATE:\ncase Event::MESSAGE: {\nbreak;\n}\n" }, ...
C++
Apache License 2.0
apache/mesos
Added placeholder handlers and other changes for operation updates. This patch adds empty placeholder handler functions which will be used for offer operation status updates as well as their acknowledgement and reconciliation. A number of switch statements are also updated to handle new enum values and validation cod...
46,055
09.10.2017 14:25:31
-28,800
28831de34d098c894042246dd6fef402eb3b960d
Added a test `DefaultExecutorTest.KillMultipleTasks`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -441,6 +441,147 @@ TEST_P(DefaultExecutorTest, KillTask)\n}\n+// This is a regression test for MESOS-8051. It verifies that if the\n+// default executor is a...
C++
Apache License 2.0
apache/mesos
Added a test `DefaultExecutorTest.KillMultipleTasks`. Review: https://reviews.apache.org/r/62837
46,114
31.10.2017 23:50:04
-3,600
f9b7a76c9c9d9723381ba18f68537cfba9f3b504
Fixed Protobuf header dependency. While the header files were being created correctly, the explicit dependency in the `CUSTOM_COMMAND` did not exist. Though we depended on `${H}`, the variable was empty as we forgot to set it. Review:
[ { "change_type": "MODIFY", "old_path": "src/cmake/MesosProtobuf.cmake", "new_path": "src/cmake/MesosProtobuf.cmake", "diff": "@@ -73,6 +73,7 @@ function(PROTOC_GENERATE)\nendif ()\nset(CC ${CPP_OUT}/${PROTOC_TARGET}.pb.cc)\n+ set(H ${CPP_OUT}/${PROTOC_TARGET}.pb.h)\n# Fully qualified path for the Ja...
C++
Apache License 2.0
apache/mesos
Fixed Protobuf header dependency. While the header files were being created correctly, the explicit dependency in the `CUSTOM_COMMAND` did not exist. Though we depended on `${H}`, the variable was empty as we forgot to set it. Review: https://reviews.apache.org/r/63455/
46,055
29.09.2017 15:28:58
-28,800
ce83476449a0c2cfa6d192b4d017d302d92fea7b
Updated the comments of TASK_FINISHED to make it more clear. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2110,7 +2110,9 @@ enum TaskState {\n// the TASK_KILLING_STATE capability.\nTASK_KILLING = 8; // The task is being killed by the executor.\n- TASK_FINISHED = 2; // TERMINAL: The t...
C++
Apache License 2.0
apache/mesos
Updated the comments of TASK_FINISHED to make it more clear. Review: https://reviews.apache.org/r/62685
46,055
14.09.2017 17:29:39
-28,800
0449a0840d154fc169fb0b1d866d8c6b87ca5eae
Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "@@ -524,9 +524,7 @@ private:\nCHECK(WIFEXITED(status) || WIFSIGNALED(status))\n<< \"Unexpected wait status \" << status;\n- if (WSUCCEEDED(status)) {\n- state = TASK_FINISHED;\n- } else ...
C++
Apache License 2.0
apache/mesos
Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review: https://reviews.apache.org/r/62326
46,055
14.09.2017 17:33:05
-28,800
8e3cb6ae6ca7d25fe768467ecc0a65f7509fce43
Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -1802,13 +1802,7 @@ TEST_F(CniIsolatorPortMapperTest, ROOT_INTERNET_CURL_PortMapper)\nAWAIT_READY(statusKilled);\n- // The executor would...
C++
Apache License 2.0
apache/mesos
Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`. Review: https://reviews.apache.org/r/62327
46,055
04.10.2017 15:44:41
-28,800
f569aeee31ec7a9b9352fad729c6bdd7ef592f48
Added a test `ROOT_DOCKER_NoTransitionFromKillingToFinished`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -4137,6 +4137,129 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_NoTransitionFromKillingToRunning)\n}\n+// This test ensu...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_DOCKER_NoTransitionFromKillingToFinished`. Review: https://reviews.apache.org/r/62774
46,055
04.10.2017 23:38:11
-28,800
815263ead42f64fd0ff320614cfada30b2e8f899
Added a test `ROOT_NoTransitionFromKillingToFinished`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "#include \"tests/cluster.hpp\"\n#include \"tests/containerizer.hpp\"\n+#include \"tests/kill_policy_test_helper.hpp\"\n#include \"tests/mesos.hpp\"\n#include \"...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_NoTransitionFromKillingToFinished`. Review: https://reviews.apache.org/r/62775
46,079
01.11.2017 14:22:14
-3,600
5995bd1bd7934a084d56dc72e38e680da6a88f3f
Added Recombee to the powered by list. We've been using Mesos for while, it's time to add Recombee here. This closes
[ { "change_type": "MODIFY", "old_path": "docs/powered-by-mesos.md", "new_path": "docs/powered-by-mesos.md", "diff": "@@ -90,6 +90,7 @@ layout: documentation\n* [ProfitStars](http://www.profitstars.com)\n* [Qubit](http://www.qubitproducts.com)\n* [Qunar](http://www.qunar.com)\n+* [Recombee](https://ww...
C++
Apache License 2.0
apache/mesos
Added Recombee to the powered by list. We've been using Mesos for while, it's time to add Recombee here. This closes #245
46,076
30.10.2017 18:03:45
25,200
c5c1debb1944898b3ced644964e2f921b27f8ad7
Updated pailer to work with jquery 3.2.1. jQuery 3 changed the itnerface of `$.getJSON()` such that the equivalent function of `success()` is now `then` while `error()` should now be used as `fail()`.
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/jquery.pailer.js", "new_path": "src/webui/master/static/js/jquery.pailer.js", "diff": "// bytes). This function should expect an \"options\" object with the\n// fields 'offset' and 'length' set for reading the data. The result\n// fr...
C++
Apache License 2.0
apache/mesos
Updated pailer to work with jquery 3.2.1. jQuery 3 changed the itnerface of `$.getJSON()` such that the equivalent function of `success()` is now `then` while `error()` should now be used as `fail()`.
46,062
01.11.2017 14:53:46
25,200
712a951b44361985379a830f231e28194ebe0172
Removed `apply-review.sh` script. Please use `apply-reviews.py`.
[ { "change_type": "DELETE", "old_path": "support/apply-review.sh", "new_path": null, "diff": "-#!/usr/bin/env bash\n-\n-if [ ! -f support/apply-reviews.py ]; then\n- echo 'Please run this script from the root of Mesos source directory.'\n- exit 1\n-fi\n-\n-exec python support/apply-reviews.py \"$@\"\...
C++
Apache License 2.0
apache/mesos
Removed `apply-review.sh` script. Please use `apply-reviews.py`.
46,159
01.11.2017 17:29:58
25,200
fa747ac3620a6695cfe29ac443f833fad6c991a2
Added SchedulerHttpApiTest.UpdateHttpToPidSchedulerAndBack test. This test verifies that we are able to upgrade from a PID based framework to an HTTP framework and then downgrade back without restarting the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/scheduler_http_api_tests.cpp", "new_path": "src/tests/scheduler_http_api_tests.cpp", "diff": "@@ -639,6 +639,115 @@ TEST_P(SchedulerHttpApiTest, UpdateHttpToPidScheduler)\n}\n+// This test verifies that we are able to upgrade from a PID based\n+// fr...
C++
Apache License 2.0
apache/mesos
Added SchedulerHttpApiTest.UpdateHttpToPidSchedulerAndBack test. This test verifies that we are able to upgrade from a PID based framework to an HTTP framework and then downgrade back without restarting the master. Review: https://reviews.apache.org/r/62241/
46,062
02.11.2017 00:12:41
25,200
9e8bb0c3957472bffeb93d4703a56dd7c3a1cf51
Replaced `concurrentqueue-1.0.0-beta` with `concurrentqueue-7b69a8f`. Our upstreamed PR to the `concurrentqueue` project was merged, (https://github.com/cameron314/concurrentqueue/commit/420509b) which fixes the Clang / libstdc++ configuration. Since there are a bunch of bug fixes committed to `master` since `v1.0.0-be...
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/Versions.cmake", "new_path": "3rdparty/cmake/Versions.cmake", "diff": "set(BOOST_VERSION \"1.53.0\")\nset(BOOST_HASH \"SHA256=CED7CE2ED8D7D34815AC9DB1D18D28FCD386FFBB3DE6DA45303E1CF193717038\")\n-set(CONCURRENTQUEUE_VERSION \"1.0.0-beta\")\n-set...
C++
Apache License 2.0
apache/mesos
Replaced `concurrentqueue-1.0.0-beta` with `concurrentqueue-7b69a8f`. Our upstreamed PR to the `concurrentqueue` project was merged, (https://github.com/cameron314/concurrentqueue/commit/420509b) which fixes the Clang / libstdc++ configuration. Since there are a bunch of bug fixes committed to `master` since `v1.0.0-b...
46,062
01.11.2017 14:47:56
25,200
3c58d1caa822db28e5bd2fd9f118fd335a73d2b1
Migrated `3rdparty/mesos-3rdparty` to `mesos/3rdparty`. We currently keep some of our 3rdparty bundled dependencies in an external repository in order to reduce the tarball churn in the Mesos repository which would bloat the git repository. The intent is for `github.com/3rdparty/mesos-3rdparty` to be migrated to `githu...
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -119,7 +119,7 @@ endif ()\n# builds, because building on MSVC 1900 requires newer versions of some\n# dependencies than the ones bundled in the Mesos repository.\nse...
C++
Apache License 2.0
apache/mesos
Migrated `3rdparty/mesos-3rdparty` to `mesos/3rdparty`. We currently keep some of our 3rdparty bundled dependencies in an external repository in order to reduce the tarball churn in the Mesos repository which would bloat the git repository. The intent is for `github.com/3rdparty/mesos-3rdparty` to be migrated to `git...
46,055
02.11.2017 12:35:46
-3,600
5060bdac8b7990c1fbdf948d88ea8d7463670b79
Fixed the unit test that missed the TASK_STARTING update. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -4224,11 +4224,13 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_NoTransitionFromKillingToFinished)\nInvoke(&containerize...
C++
Apache License 2.0
apache/mesos
Fixed the unit test that missed the TASK_STARTING update. Review: https://reviews.apache.org/r/63497/
46,056
02.11.2017 20:26:01
-3,600
7adf32fc15d3d15da2d55a610f1c402063c2147d
Fixed flaky `SlaveTest.ContainersEndpoint` test.
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -2759,9 +2759,11 @@ TEST_F(SlaveTest, ContainersEndpoint)\nEXPECT_CALL(containerizer, usage(_))\n.WillOnce(Return(statistics1));\n- // Will be called once during the second reques...
C++
Apache License 2.0
apache/mesos
Fixed flaky `SlaveTest.ContainersEndpoint` test.
46,139
02.11.2017 15:03:46
25,200
51fd021238b7ff87315493155076fe597a1fbac3
Added a regression test for The agent was erroneously clearing task executor IDs, this ensures from an API perspective that the executor IDs are absent for command executors, and present otherwise. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_slave_reconciliation_tests.cpp", "new_path": "src/tests/master_slave_reconciliation_tests.cpp", "diff": "@@ -714,6 +714,202 @@ TEST_F(MasterSlaveReconciliationTest, SlaveReregisterFrameworks)\ndriver.join();\n}\n+\n+// This test verifies that ...
C++
Apache License 2.0
apache/mesos
Added a regression test for MESOS-8135. The agent was erroneously clearing task executor IDs, this ensures from an API perspective that the executor IDs are absent for command executors, and present otherwise. Review: https://reviews.apache.org/r/63474/
46,103
02.11.2017 08:19:47
25,200
a559112370a4498a8f53d0fdd054d8c4216931f1
Bumped 'mesos-tidy' image to 'mesos_50'. This patch bumps the 'mesos-tidy' image to a clang-5.0-based branch. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/Dockerfile", "new_path": "support/mesos-tidy/Dockerfile", "diff": "@@ -38,9 +38,9 @@ RUN curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh \\\nsh /tmp/install-cmake.sh --skip-license --prefix=/usr/local\nRUN \\\n- git clone ...
C++
Apache License 2.0
apache/mesos
Bumped 'mesos-tidy' image to 'mesos_50'. This patch bumps the 'mesos-tidy' image to a clang-5.0-based branch. Review: https://reviews.apache.org/r/62844/
46,062
02.11.2017 05:04:42
25,200
057290d5513cfb5d39a2cc407617b9d477c35a06
Added building the `stout-tests` target to `mesos-tidy`. This patch adds `stout-tests` as a build target for `mesos-tidy` in order to force the generation of `protobuf-tests.pb.h`. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/entrypoint.sh", "new_path": "support/mesos-tidy/entrypoint.sh", "diff": "@@ -30,6 +30,11 @@ cmake -DCMAKE_BUILD_TYPE=Release \\\n${CMAKE_ARGS} \\\n\"${SRCDIR}\"\n+# We build `stout-tests` here as a build target in order to force\n+# the gene...
C++
Apache License 2.0
apache/mesos
Added building the `stout-tests` target to `mesos-tidy`. This patch adds `stout-tests` as a build target for `mesos-tidy` in order to force the generation of `protobuf-tests.pb.h`. Review: https://reviews.apache.org/r/63520
46,114
02.11.2017 16:11:55
25,200
1d5722073eeafee3228e07a9056a6904baef31ac
Added missing lock free event queue and LIFO CMake options. These are used correctly in libprocess, but the options weren't added, and so didn't show up in the CMake cache. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -87,6 +87,16 @@ option(\n\"Build libprocess with lock free run queue.\"\nFALSE)\n+option(\n+ ENABLE_LOCK_FREE_EVENT_QUEUE\n+ \"Build libprocess with lock free event ...
C++
Apache License 2.0
apache/mesos
Added missing lock free event queue and LIFO CMake options. These are used correctly in libprocess, but the options weren't added, and so didn't show up in the CMake cache. Review: https://reviews.apache.org/r/63529/
46,165
02.11.2017 16:54:53
25,200
027bd9905382ffb309ad480cd7d80b9fed340c97
Added the performance working group to the documentation.
[ { "change_type": "MODIFY", "old_path": "docs/working-groups.md", "new_path": "docs/working-groups.md", "diff": "@@ -31,3 +31,4 @@ 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
Added the performance working group to the documentation.
46,055
03.11.2017 08:06:34
-28,800
de19f7381108d491fb41fe3d8ae13e9893213bbc
Fixed the unit test that broke Windows build. Also updated an out-of-date comment in command_executor_tests.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/command_executor_tests.cpp", "new_path": "src/tests/command_executor_tests.cpp", "diff": "@@ -230,8 +230,8 @@ TEST_P(CommandExecutorTest, TaskKillingCapability)\n}\n-// TODO(hausdorff): Kill policy helpers are not yet enabled on Windows. See\n-// MES...
C++
Apache License 2.0
apache/mesos
Fixed the unit test that broke Windows build. Also updated an out-of-date comment in command_executor_tests.cpp. Review: https://reviews.apache.org/r/63499/
46,078
18.10.2017 01:53:11
25,200
ac0fa281472c2ba891f7bd0837fbd728ace73039
Added a benchmark for agent reregistration during master failover. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2424,6 +2424,7 @@ mesos_tests_SOURCES = \\\ntests/main.cpp \\\ntests/master_allocator_tests.cpp \\\ntests/master_authorization_tests.cpp \\\n+ tests/master_benchmarks.cpp \\\ntests/master_contender_...
C++
Apache License 2.0
apache/mesos
Added a benchmark for agent reregistration during master failover. Review: https://reviews.apache.org/r/63174
46,062
02.11.2017 00:13:27
25,200
85ed287152447aa5c99ebbf01065e419e932ffcd
Initial `3rdparty/README.md`. A start of a `README.md` for the 3rdparty dependencies. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "3rdparty/README.md", "diff": "+# 3rdparty\n+\n+This directory contains bundled packages within the Mesos repository.\n+\n+## Bundled Packages\n+\n+ - boost\n+ - [concurrentqueue](concurrentqueue.md)\n+ - csi\n+ - elfio\n+ - glog\n+ - gtest\n+ - ...
C++
Apache License 2.0
apache/mesos
Initial `3rdparty/README.md`. A start of a `README.md` for the 3rdparty dependencies. Review: https://reviews.apache.org/r/63501
46,062
05.11.2017 17:09:05
28,800
3b0e325bc6e6e617392f56ad37d86ca471dd2784
CMake: Compile the 3rdparty dependencies with the same compiler. I was building Mesos with `-fsanitize=address` with Clang, and the build failed because the external dependencies were being compiled with GCC. `CMAKE_(C|CXX)_FLAGS` are already passed to the external dependencies, but `CMAKE_(C|CXX)_COMPILER` was not. Th...
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -112,6 +112,8 @@ endif ()\nforeach (lang C CXX)\nlist(APPEND CMAKE_FORWARD_ARGS\n+ -DCMAKE_${lang}_COMPILER=${CMAKE_${lang}_COMPILER}\n+ -DCMAKE_${lang}_COMPILER_LAUNCHER=${CMAKE_${la...
C++
Apache License 2.0
apache/mesos
CMake: Compile the 3rdparty dependencies with the same compiler. I was building Mesos with `-fsanitize=address` with Clang, and the build failed because the external dependencies were being compiled with GCC. `CMAKE_(C|CXX)_FLAGS` are already passed to the external dependencies, but `CMAKE_(C|CXX)_COMPILER` was not. T...
46,057
06.11.2017 12:07:17
-3,600
6fec95d283f1ccbaa3fa40f2fa836ff78747094e
Removed unbalanced parenthesis in flag description.
[ { "change_type": "MODIFY", "old_path": "src/slave/flags.cpp", "new_path": "src/slave/flags.cpp", "diff": "@@ -441,7 +441,7 @@ mesos::internal::slave::Flags::Flags()\n\"reconnect: Reconnect with any old live executors.\\n\"\n\"cleanup : Kill any old live executors and exit.\\n\"\n\" Use this option w...
C++
Apache License 2.0
apache/mesos
Removed unbalanced parenthesis in flag description.
46,143
03.11.2017 15:58:16
25,200
e0ef27c467cad7174f2eddbb9c4250123b17d090
Included commit message in `push-commits.py`. This script previously closed the reviews without any description. Now it includes the commit log for easy reference. Review:
[ { "change_type": "MODIFY", "old_path": "support/push-commits.py", "new_path": "support/push-commits.py", "diff": "@@ -44,37 +44,45 @@ REVIEWBOARD_URL = 'https://reviews.apache.org'\ndef get_reviews(revision_range):\n\"\"\"Return the list of reviews found in the commits in the revision range.\"\"\"\n...
C++
Apache License 2.0
apache/mesos
Included commit message in `push-commits.py`. This script previously closed the reviews without any description. Now it includes the commit log for easy reference. Review: https://reviews.apache.org/r/63550
46,159
06.11.2017 10:22:44
21,600
3df8bddd9ee2a5f66f3e144a0f63188566bd29ee
Added to the 1.5.0 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -9,6 +9,9 @@ Additional API Changes:\nseconds (365 days).\n* [MESOS-7941] Built-in executors will now send a TASK_STARTING\nstatus update when a task is starting.\n+ * [MESOS-8165] Master will now send TASK_GONE...
C++
Apache License 2.0
apache/mesos
Added MESOS-8165 to the 1.5.0 CHANGELOG. Review: https://reviews.apache.org/r/63527/
46,147
06.11.2017 11:16:13
28,800
0735c2d184c98b2e5bc08703b0c000e9d431baba
Enabled `CredentialsTests` on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/credentials_tests.cpp", "new_path": "src/tests/credentials_tests.cpp", "diff": "@@ -52,7 +52,7 @@ class CredentialsTest : public MesosTest {};\n// This test verifies that an authenticated slave is\n// granted registration by the master.\n-TEST_F_TEMP...
C++
Apache License 2.0
apache/mesos
Enabled `CredentialsTests` on Windows. Review: https://reviews.apache.org/r/63590/
46,062
04.11.2017 15:21:07
25,200
6fd1399c2ed9999936681cf7b16951498c3b96eb
MesosTidy: Added some `google-*` checks to the default set of checks. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy.sh", "new_path": "support/mesos-tidy.sh", "diff": "@@ -21,10 +21,38 @@ set -o pipefail\nMESOS_DIR=$(git rev-parse --show-toplevel)\n+DEFAULT_CHECKS=\n+\n+DEFAULT_CHECKS=${DEFAULT_CHECKS},'clang-diagnostic-*'\n+\n+DEFAULT_CHECKS=${DEFAULT_CHE...
C++
Apache License 2.0
apache/mesos
MesosTidy: Added some `google-*` checks to the default set of checks. Review: https://reviews.apache.org/r/63565
46,062
05.11.2017 00:07:45
25,200
02bfc1bef13136f3a8958f191215b2792f8ed02c
MesosTidy: Added braces around statements. ``` src/slave/containerizer/containerizer.cpp:94:35: warning: statement should be inside braces [google-readability-braces-around-statements] ``` Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/docker_no_executor_framework.cpp", "new_path": "src/examples/docker_no_executor_framework.cpp", "diff": "@@ -143,12 +143,14 @@ public:\ncout << \"Task \" << taskId << \" is in state \" << status.state() << endl;\n- if (status.state() == TASK_FINIS...
C++
Apache License 2.0
apache/mesos
MesosTidy: Added braces around statements. ``` src/slave/containerizer/containerizer.cpp:94:35: warning: statement should be inside braces [google-readability-braces-around-statements] ``` Review: https://reviews.apache.org/r/63566