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,062
06.11.2017 10:45:59
28,800
f9776ccb47aecdee89bedcf7ef7ec4944e1855eb
Flattened unnecessary `Optional<Shared<T>>` to simply `Shared<T>`. Since `Shared` is already nullable, avoiding the null state of a `Shared` and wrapping it in an `Optional` doesn't add anything. We should just use `Shared` as it is, and make use of the null state. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.hpp", "new_path": "include/mesos/slave/containerizer.hpp", "diff": "@@ -72,7 +72,7 @@ struct ContainerIO\n{\nswitch (type_) {\ncase Type::FD:\n- return process::Subprocess::FD(*fd_->get());\n+ return process::Subprocess::FD(*f...
C++
Apache License 2.0
apache/mesos
Flattened unnecessary `Optional<Shared<T>>` to simply `Shared<T>`. Since `Shared` is already nullable, avoiding the null state of a `Shared` and wrapping it in an `Optional` doesn't add anything. We should just use `Shared` as it is, and make use of the null state. Review: https://reviews.apache.org/r/63591
46,062
05.11.2017 00:42:25
25,200
f964e909ecd9e9c2c1b38129028b05a8f29470fe
MesosTidy: Removed redundant `get()` on smart pointers in libprocess. ``` 3rdparty/libprocess/src/../include/process/owned.hpp:117:7: warning: redundant get() call on smart pointer [google-readability-redundant-smartptr-get] ``` Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/owned.hpp", "new_path": "3rdparty/libprocess/include/process/owned.hpp", "diff": "@@ -114,7 +114,7 @@ T* Owned<T>::operator->() const\ntemplate <typename T>\nT* Owned<T>::get() const\n{\n- if (data.get() == nullptr) {\n+ if ...
C++
Apache License 2.0
apache/mesos
MesosTidy: Removed redundant `get()` on smart pointers in libprocess. ``` 3rdparty/libprocess/src/../include/process/owned.hpp:117:7: warning: redundant get() call on smart pointer [google-readability-redundant-smartptr-get] ``` Review: https://reviews.apache.org/r/63567
46,188
30.10.2017 13:52:53
-3,600
88dbbce8de8cb35e2d35fe44f2df802d69c9b561
Added streaming functions for offer operation ID. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -371,6 +371,11 @@ std::ostream& operator<<(std::ostream& stream, const MasterInfo& master);\nstd::ostream& operator<<(std::ostream& stream, const OfferID& offerId);\n+std::o...
C++
Apache License 2.0
apache/mesos
Added streaming functions for offer operation ID. Review: https://reviews.apache.org/r/63413
46,188
30.10.2017 13:56:09
-3,600
9cdac390632831777632a0d437a51654ff2f4759
Added a helper to get the resoruce provider ID from an offer operation. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "@@ -91,6 +91,54 @@ Try<Resources> applyCheckpointedResources(\n}\n+Result<ResourceProviderID> getResourceProviderId(\n+ const Offer::Operation& operation)\n+{\n+ Option<Res...
C++
Apache License 2.0
apache/mesos
Added a helper to get the resoruce provider ID from an offer operation. Review: https://reviews.apache.org/r/63414
46,188
30.10.2017 23:46:56
-3,600
eb5e65cf693d9b5bee9425b435b7b189d0bfc6f1
Updated the comment about slaves.removed in master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -1855,8 +1855,9 @@ private:\nhashset<SlaveID> markingGone;\n// This collection includes agents that have gracefully shutdown,\n- // as well as those that have been marked unreachable. We ...
C++
Apache License 2.0
apache/mesos
Updated the comment about slaves.removed in master. Review: https://reviews.apache.org/r/63432
46,188
01.11.2017 12:38:19
-3,600
c9c2a38bff084027b990c5a0c7fac68bcea09658
Added latest_status field to OfferOperation protobuf. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2183,16 +2183,17 @@ message TaskResourceLimitation {\nmessage OfferOperation {\nrequired FrameworkID framework_id = 1;\nrequired Offer.Operation info = 2;\n+ required OfferOperat...
C++
Apache License 2.0
apache/mesos
Added latest_status field to OfferOperation protobuf. Review: https://reviews.apache.org/r/63481
46,188
01.11.2017 12:39:11
-3,600
11e36c12e4b5e720a4f5d4ba95260357d7ede950
Added streaming function for OfferOperationState. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -376,6 +376,11 @@ std::ostream& operator<<(\nconst OfferOperationID& offerOperationId);\n+std::ostream& operator<<(\n+ std::ostream& stream,\n+ const OfferOperationState& st...
C++
Apache License 2.0
apache/mesos
Added streaming function for OfferOperationState. Review: https://reviews.apache.org/r/63482
46,188
01.11.2017 12:39:51
-3,600
59646a6c92ba9030993a3f163a8ba5c3d0c071e1
Added some protobuf helper for offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "#include <stout/foreach.hpp>\n#include <stout/net.hpp>\n#include <stout/stringify.hpp>\n+#include <stout/unreachable.hpp>\n#include <stout/uuid.hpp>\n#include <stout/os/permi...
C++
Apache License 2.0
apache/mesos
Added some protobuf helper for offer operations. Review: https://reviews.apache.org/r/63483
46,188
01.11.2017 12:40:20
-3,600
8f727c91aeb3f303b3bcfd496d3a7bfe2e7b050c
Changed slave_id field to be optional in OfferOperationStatusUpdate. We plan to reuse this message for communication between resource provider manager in the master to master as well. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/messages.proto", "new_path": "src/messages/messages.proto", "diff": "@@ -686,14 +686,16 @@ message UpdateSlaveMessage {\n/**\n- * This message is sent from the agent to the master to update the\n- * status of an offer operation.\n+ * This message ...
C++
Apache License 2.0
apache/mesos
Changed slave_id field to be optional in OfferOperationStatusUpdate. We plan to reuse this message for communication between resource provider manager in the master to master as well. Review: https://reviews.apache.org/r/63484
46,188
01.11.2017 23:50:21
-3,600
2f1efb99acccf3b76eb1bc30704aa794545076ff
Added initial code for offer operation status update in master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5145,16 +5145,19 @@ void Master::_accept(\n<< operation.create_volume().source() << \" from framework \"\n<< *framework << \" to agent \" << *slave;\n- Owned<OfferOperation> offerOperati...
C++
Apache License 2.0
apache/mesos
Added initial code for offer operation status update in master. Review: https://reviews.apache.org/r/63485
46,188
02.11.2017 20:33:27
-3,600
d73a6162c467abadc5f9bb5c05034ba374aa0b68
Updated `Allocator::updateAllocation` to take `ResourceConversion`s. Instead of taking offer operations, it's more clear to make allocator not aware of offer operations. This patch changes the interface of the `updateAllocation` call to take `ResourceConversion`s. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -268,7 +268,7 @@ public:\nconst FrameworkID& frameworkId,\nconst SlaveID& slaveId,\nconst Resources& offeredResources,\n- const std::vector<Offer::Operatio...
C++
Apache License 2.0
apache/mesos
Updated `Allocator::updateAllocation` to take `ResourceConversion`s. Instead of taking offer operations, it's more clear to make allocator not aware of offer operations. This patch changes the interface of the `updateAllocation` call to take `ResourceConversion`s. Review: https://reviews.apache.org/r/63523
46,066
03.11.2017 11:58:45
-3,600
3245ed5943f4dea870bac8a997757c1f98828aa1
Implemented updateOfferOperation in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9626,8 +9626,137 @@ void Master::addOfferOperation(\nvoid Master::updateOfferOperation(\nOfferOperation* operation,\n- OfferOperationStatusUpdate update)\n+ const OfferOperationStatusUpd...
C++
Apache License 2.0
apache/mesos
Implemented updateOfferOperation in the master. Review: https://reviews.apache.org/r/63592
46,066
03.11.2017 15:27:25
-3,600
0a30e9e49b8f71b90602b8d3f6fb8494ce467c43
Updated the offer operation bookeeping in the master. (This is based on https://reviews.apache.org/r/63539) Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2181,19 +2181,20 @@ message TaskResourceLimitation {\n* some additional information.\n*/\nmessage OfferOperation {\n- required FrameworkID framework_id = 1;\n- required Offer.Ope...
C++
Apache License 2.0
apache/mesos
Updated the offer operation bookeeping in the master. (This is based on https://reviews.apache.org/r/63539) Review: https://reviews.apache.org/r/63588
46,066
06.11.2017 14:38:02
28,800
2619824c9c4157b254157eff76c98fce63d36e71
Added agent ID to offer operation protobuf helper. The current code expects an agent ID to be set for every instance of 'OfferOperation'. The absence of an agent ID would indicate an operation meant for an external resource provider which isn't supported yet. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -443,10 +443,12 @@ OfferOperationStatus createOfferOperationStatus(\nOfferOperation createOfferOperation(\nconst Offer::Operation& info,\nconst OfferOperationStatus& lates...
C++
Apache License 2.0
apache/mesos
Added agent ID to offer operation protobuf helper. The current code expects an agent ID to be set for every instance of 'OfferOperation'. The absence of an agent ID would indicate an operation meant for an external resource provider which isn't supported yet. Review: https://reviews.apache.org/r/63584/
46,188
06.11.2017 15:48:01
28,800
0f7ad67da29f596681033873b7720f60e92d7434
Fixed a typo related to parsing offer operation uuid.
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -7353,7 +7353,7 @@ void Master::offerOperationStatusUpdate(\n? update.framework_id()\n: Option<FrameworkID>::none();\n- Try<UUID> uuid = UUID::fromString(update.operation_uuid());\n+ Try<...
C++
Apache License 2.0
apache/mesos
Fixed a typo related to parsing offer operation uuid.
46,172
07.11.2017 14:09:17
-3,600
e95aa3f4f622a41367c0f4275e7e4a82a538dd5a
Removed expectation for scheduler connected events in some tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -497,17 +497,8 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_LimitSwap)\nauto scheduler = std::make_shared<v1::MockHTTPScheduler>()...
C++
Apache License 2.0
apache/mesos
Removed expectation for scheduler connected events in some tests. Review: https://reviews.apache.org/r/63538/
46,056
07.11.2017 16:17:06
-3,600
b475c4245541ff116c842d78bb6985f15778dcb9
Waited for scheduler disconnect in MasterAPITest.Teardown.
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -3442,7 +3442,9 @@ TEST_P(MasterAPITest, Teardown)\nFuture<ShutdownFrameworkMessage> shutdownFrameworkMessage =\nFUTURE_PROTOBUF(ShutdownFrameworkMessage(), _, _);\n- EXPECT_CALL(*sch...
C++
Apache License 2.0
apache/mesos
Waited for scheduler disconnect in MasterAPITest.Teardown.
46,056
07.11.2017 16:38:58
-3,600
ab3728f3adcd199cc0dd9c481a2946efffacdb0d
Fixed flaky GetContainers test.
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -4177,7 +4177,8 @@ TEST_P(AgentAPITest, GetContainers)\nFuture<TaskStatus> statusRunning;\nEXPECT_CALL(sched, statusUpdate(&driver, _))\n- .WillOnce(FutureArg<1>(&statusRunning));\n+ ...
C++
Apache License 2.0
apache/mesos
Fixed flaky GetContainers test.
46,165
06.11.2017 18:04:44
28,800
ad3245c5c472b8bea2cafa082e48a925668eb2d6
Removed an unnecessary serialization in protobuf process. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "@@ -119,8 +119,6 @@ protected:\nvoid reply(const google::protobuf::Message& message)\n{\nCHECK(from) << \"Attempting to reply without a ...
C++
Apache License 2.0
apache/mesos
Removed an unnecessary serialization in protobuf process. Review: https://reviews.apache.org/r/63604
46,165
06.11.2017 18:50:56
28,800
3ca7a2fe5f0706b619bb0343827d81f4e336e70d
Support moving in data during ProcessBase::send. This allows callers that can move in data to avoid an extra copy. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/event.hpp", "new_path": "3rdparty/libprocess/include/process/event.hpp", "diff": "@@ -105,9 +105,8 @@ struct MessageEvent : Event\nconst UPID& from,\nconst UPID& to,\nstd::string&& name,\n- const char* data,\n- size_t length...
C++
Apache License 2.0
apache/mesos
Support moving in data during ProcessBase::send. This allows callers that can move in data to avoid an extra copy. Review: https://reviews.apache.org/r/63605
46,165
06.11.2017 18:51:29
28,800
f5e1c928b0e3d256b7b5a212c111b603fea1aa81
Avoid an extra copy during ProtobufProcess::send. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "@@ -110,8 +110,7 @@ protected:\n{\nstd::string data;\nmessage.SerializeToString(&data);\n- process::Process<T>::send(to, message.GetType...
C++
Apache License 2.0
apache/mesos
Avoid an extra copy during ProtobufProcess::send. Review: https://reviews.apache.org/r/63606
46,062
07.11.2017 02:30:51
28,800
82b040a60561cf94dec3197ea88ae15e57bcaa97
Introduced `.clang-tidy` configuration file. Review:
[ { "change_type": "MODIFY", "old_path": "bootstrap", "new_path": "bootstrap", "diff": "@@ -76,6 +76,10 @@ if test ! -e .clang-format; then\nln -s support/clang-format .clang-format\nfi\n+if test ! -e .clang-tidy; then\n+ ln -s support/clang-tidy .clang-tidy\n+fi\n+\nif [ -n \"$AUTOMAKE\" ] || [ -n \"...
C++
Apache License 2.0
apache/mesos
Introduced `.clang-tidy` configuration file. Review: https://reviews.apache.org/r/63649
46,145
08.11.2017 10:56:13
-3,600
e5f1115739758163d95110960dd829e65cbbebff
Added IPv6 capabilities for TCP and HTTP health checks. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -515,6 +515,8 @@ message HealthCheck {\n// treat return codes between 200 and 399 as success; custom executors\n// may employ a different strategy, e.g. leveraging the `statuses` ...
C++
Apache License 2.0
apache/mesos
Added IPv6 capabilities for TCP and HTTP health checks. Review: https://reviews.apache.org/r/63434/
46,103
08.11.2017 00:51:40
-3,600
ca4956206a06026e2fd0ca30bdacaf7e4a8cb5b5
Added flag protobuf message for agent capabilities. See summary. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/flags.hpp", "new_path": "src/messages/flags.hpp", "diff": "@@ -58,6 +58,19 @@ inline Try<mesos::internal::ContainerDNSInfo> parse(const std::string& value)\nreturn protobuf::parse<mesos::internal::ContainerDNSInfo>(json.get());\n}\n+\n+template <>...
C++
Apache License 2.0
apache/mesos
Added flag protobuf message for agent capabilities. See summary. Review: https://reviews.apache.org/r/63540/
46,103
08.11.2017 00:52:04
-3,600
b1c9b46b97e64c333709b73274a5ae3436b7fda7
Added resource version to resource provider UpdateTotalResources call. This patch surfaces this information to resource provider manager users like the agent. In a later patch we will modify the agent to forward this information to the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/manager.cpp", "new_path": "src/resource_provider/manager.cpp", "diff": "@@ -434,9 +434,17 @@ void ResourceProviderManagerProcess::updateState(\n// TODO(chhsiao): Report pending operations.\n- ResourceProviderMessage::UpdateTotalResources ...
C++
Apache License 2.0
apache/mesos
Added resource version to resource provider UpdateTotalResources call. This patch surfaces this information to resource provider manager users like the agent. In a later patch we will modify the agent to forward this information to the master. Review: https://reviews.apache.org/r/63491/
46,103
08.11.2017 00:52:08
-3,600
51a1549611fbfcf1ad1a1eb5e3efe0f1221acb36
Synchronized agent resource versions via 'UpdateSlaveMessage'. This commit introduces agent resource versions to the master and agents. Agents are responsible for maintaining their resource versions. The resource versions are synchronized with the master via 'UpdateSlaveMessage'. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -755,6 +755,52 @@ void stripAllocationInfo(Offer::Operation* operation)\n}\n+RepeatedPtrField<ResourceVersionUUID> createResourceVersions(\n+ const hashmap<Option<Resource...
C++
Apache License 2.0
apache/mesos
Synchronized agent resource versions via 'UpdateSlaveMessage'. This commit introduces agent resource versions to the master and agents. Agents are responsible for maintaining their resource versions. The resource versions are synchronized with the master via 'UpdateSlaveMessage'. Review: https://reviews.apache.org/r/...
46,103
08.11.2017 00:52:19
-3,600
76e63580cc3f3d0b88d9295f9b02231068d3bc65
Transmitted agent resource versions in (re)registration. This commit introduces resource version fields into agent registration and reregistration message. The agent is changed to set these fields when needed; the master in turn stores the versions for use in to be added speculated offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/messages.proto", "new_path": "src/messages/messages.proto", "diff": "@@ -470,6 +470,19 @@ message RegisterSlaveMessage {\n// capabilities (e.g., ability to launch tasks of 'multi-role'\n// frameworks).\nrepeated SlaveInfo.Capability agent_capabili...
C++
Apache License 2.0
apache/mesos
Transmitted agent resource versions in (re)registration. This commit introduces resource version fields into agent registration and reregistration message. The agent is changed to set these fields when needed; the master in turn stores the versions for use in to be added speculated offer operations. Review: https://r...
46,103
08.11.2017 00:52:30
-3,600
06856ecadf30852563ad427474aed02aae2792d9
Added comparison operators for 'ResourceVersionUUID'. See summary. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/messages.cpp", "new_path": "src/messages/messages.cpp", "diff": "@@ -26,6 +26,35 @@ using std::ostream;\nnamespace mesos {\nnamespace internal {\n+bool operator==(\n+ const ResourceVersionUUID& left,\n+ const ResourceVersionUUID& right)\n+{\n+ if ...
C++
Apache License 2.0
apache/mesos
Added comparison operators for 'ResourceVersionUUID'. See summary. Review: https://reviews.apache.org/r/63495/
46,103
08.11.2017 00:52:34
-3,600
72e6cde810ce4543bc91abebb7cd84d01889ddea
Added tests for agent resource version transmission. This patch introduces separate tests for clock values communicated from resource providers and from agents to masters. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -8657,6 +8657,83 @@ TEST_F(SlaveTest, ResourceProviderSubscribe)\nexpectedResources += devolve(resourceProviderResources);\nEXPECT_EQ(expectedResources, updateSlaveMessage->total_...
C++
Apache License 2.0
apache/mesos
Added tests for agent resource version transmission. This patch introduces separate tests for clock values communicated from resource providers and from agents to masters. Review: https://reviews.apache.org/r/63496/
46,066
08.11.2017 14:05:02
28,800
50068a1fc80ef66376aa89485755a445af8e6d2d
Added a devolve function for 'OfferOperationStatus'. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -104,6 +104,12 @@ Offer devolve(const v1::Offer& offer)\n}\n+OfferOperationStatus devolve(const v1::OfferOperationStatus& status)\n+{\n+ return devolve<OfferOperationStatus>(status)...
C++
Apache License 2.0
apache/mesos
Added a devolve function for 'OfferOperationStatus'. Review: https://reviews.apache.org/r/63621/
46,056
09.11.2017 11:04:12
-3,600
bd3302bdfaf1123654b90e89340fbbb760524715
Dropped scheduler call if a connection has been interrupted. Prior to this patch, if a connection to the master is interrupted between `send()` and `_send()`, scheduler library will crash on `CHECK`. Since the connection can turn into pumpkin at any time, we should not fail in this case. Review:
[ { "change_type": "MODIFY", "old_path": "src/scheduler/scheduler.cpp", "new_path": "src/scheduler/scheduler.cpp", "diff": "@@ -550,7 +550,10 @@ protected:\n::Request request = future.get();\n- CHECK_SOME(connections);\n+ if (connections.isNone()) {\n+ drop(call, \"Connection to master interrupted\");...
C++
Apache License 2.0
apache/mesos
Dropped scheduler call if a connection has been interrupted. Prior to this patch, if a connection to the master is interrupted between `send()` and `_send()`, scheduler library will crash on `CHECK`. Since the connection can turn into pumpkin at any time, we should not fail in this case. Review: https://reviews.apach...
46,172
09.11.2017 16:10:22
-3,600
102a36304ca1a78384b8841c94b122a4a93e5a4e
Created virtual environment for linters in /support. This change affects the Python linter but not the C++ linter as we use a customized version of cpplint that we cannot get using pip. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/.gitignore", "diff": "+.virtualenv\n" }, { "change_type": "ADD", "old_path": null, "new_path": "support/build-virtualenv", "diff": "+#!/usr/bin/env bash\n+\n+# This script sets up a Python virtualenv for the Web UI. T...
C++
Apache License 2.0
apache/mesos
Created virtual environment for linters in /support. This change affects the Python linter but not the C++ linter as we use a customized version of cpplint that we cannot get using pip. Review: https://reviews.apache.org/r/63581/
46,172
09.11.2017 16:53:40
-3,600
844590611067d04de86a2de923b21ef377554728
Added JavaScript linter. The linter runs when changes on a JavaScript file are being committed. We use ESLint with a configuration based on our current JS code base. The linter and its dependencies (i.e. Node.js) are installed in a virtual environment using Virtualenv and then Nodeenv. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/.eslintrc.js", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for additional information\n+// regarding copyright o...
C++
Apache License 2.0
apache/mesos
Added JavaScript linter. The linter runs when changes on a JavaScript file are being committed. We use ESLint with a configuration based on our current JS code base. The linter and its dependencies (i.e. Node.js) are installed in a virtual environment using Virtualenv and then Nodeenv. Review: https://reviews.apache....
46,178
03.11.2017 10:37:32
14,400
1132e1ddafa6a1a9bc8aa966bd01d7b35c7682d9
Added bintray publishing scripts. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/Jenkinsfile", "new_path": "support/packaging/Jenkinsfile", "diff": "@@ -2,14 +2,42 @@ def dockerArgs() {\ndef workspace_dir = pwd()\nsh \"mkdir -p ${workspace_dir}/.m2\"\n- def args = \"-e MESOS_TAG=${params.MESOS_TAG}\"\n+ def args = \"\"\n+...
C++
Apache License 2.0
apache/mesos
Added bintray publishing scripts. Review: https://reviews.apache.org/r/63543
46,056
09.11.2017 23:33:25
-3,600
fcc9d94d2c06f7453f1b0852b0d2e17ffed0e888
Temporarily disabled SchedulerTest.NoOffersWithAllRolesSuppressed.
[ { "change_type": "MODIFY", "old_path": "src/tests/scheduler_tests.cpp", "new_path": "src/tests/scheduler_tests.cpp", "diff": "@@ -1476,7 +1476,9 @@ TEST_P(SchedulerTest, Suppress)\n}\n-TEST_P(SchedulerTest, NoOffersWithAllRolesSuppressed)\n+// TODO(alexr): Re-enable this test after MESOS-8200 is res...
C++
Apache License 2.0
apache/mesos
Temporarily disabled SchedulerTest.NoOffersWithAllRolesSuppressed.
46,178
09.11.2017 19:30:31
18,000
b08161f1f6cf5596441a535ee77702e6d8f5aa75
Updated CHANGELOG for 1.4.1.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -33,8 +33,11 @@ Release Notes - Mesos - Version 1.4.1 (WIP)\n* [MESOS-7968] - Handle `/proc/self/ns/pid_for_children` when parsing available namespace.\n* [MESOS-7969] - Handle cgroups v2 hierarchy when parsing ...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for 1.4.1.
46,172
10.11.2017 14:50:15
-3,600
f03e75c98b67d2e610bbd5eae366f7b206306399
Updated JavaScript linter rules. The rules we added do the following: 1. They force us to use 'this_' for any alias of 'this' that we create. 2. They allow us to have arguments to functions that go unused so long as the variable names begin with an '_'. Review:
[ { "change_type": "MODIFY", "old_path": "support/.eslintrc.js", "new_path": "support/.eslintrc.js", "diff": "@@ -79,7 +79,7 @@ module.exports = {\n\"never\"\n],\n\"consistent-return\": \"off\",\n- \"consistent-this\": \"error\",\n+ \"consistent-this\": [\"error\", \"this_\"],\n\"curly\": \"off\",\n\"...
C++
Apache License 2.0
apache/mesos
Updated JavaScript linter rules. The rules we added do the following: 1. They force us to use 'this_' for any alias of 'this' that we create. 2. They allow us to have arguments to functions that go unused so long as the variable names begin with an '_'. Review: https://reviews.apache.org/r/63724/
46,172
10.11.2017 14:52:43
-3,600
af8404e7bf49201d7f3a0a563f43d767539558f0
Linted JavaScript files. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/app.js", "new_path": "src/webui/master/static/js/app.js", "diff": "scope: true,\ntemplate: '<i class=\"glyphicon glyphicon-file\"></i>',\n- link: function(scope, element, attrs) {\n+ link: function(scope, element, _attrs) {\nvar clip...
C++
Apache License 2.0
apache/mesos
Linted JavaScript files. Review: https://reviews.apache.org/r/63703/
46,172
10.11.2017 15:03:10
-3,600
5516adba30324bcb1a8e9aa9ab95e489663c70a4
Improved support/mesos-style.py structure. We have updated the following three things: 1. The Python linter now also use the function `run_command_in_virtualenv` to run. 2. The methods of LinterBase have been reordered alphabetically. 3. Some unecessary excluded files have been removed for the JS linter. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -68,46 +68,34 @@ class LinterBase(object):\n# A prefix at the beginning of the line to demark comments (e.g. '//')\ncomment_prefix = ''\n- def find_candidates(self, root_dir):\n- \"\"\"...
C++
Apache License 2.0
apache/mesos
Improved support/mesos-style.py structure. We have updated the following three things: 1. The Python linter now also use the function `run_command_in_virtualenv` to run. 2. The methods of LinterBase have been reordered alphabetically. 3. Some unecessary excluded files have been removed for the JS linter. Review: ...
46,188
08.11.2017 16:01:07
28,800
ab9039335723fc36cb8e8b4fbb17a15327520cc9
Used `Master::_apply` consistently for all offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5184,6 +5184,14 @@ void Master::_accept(\n}\ncase Offer::Operation::CREATE_VOLUME: {\n+ if (!slave->capabilities.resourceProvider) {\n+ drop(framework,\n+ operation,\n+ \"Not supported o...
C++
Apache License 2.0
apache/mesos
Used `Master::_apply` consistently for all offer operations. Review: https://reviews.apache.org/r/63689
46,172
10.11.2017 18:02:24
-3,600
d9f95056e0dbdf8bd4aad1139b91945def1f9f8a
Added context to agent processing calls. This changes adds context information to log entries for agent HTTP API handlers where possible. For example, container ID when processing requests related to nested containers, or target path when processing requests related to files. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -529,8 +529,8 @@ Future<Response> Http::_api(\n\" for \" + stringify(call.type()) + \" call\");\n}\n- LOG(INFO) << \"Processing call \" << call.type();\n-\n+ // Each handler must log separately...
C++
Apache License 2.0
apache/mesos
Added context to agent processing calls. This changes adds context information to log entries for agent HTTP API handlers where possible. For example, container ID when processing requests related to nested containers, or target path when processing requests related to files. Review: https://reviews.apache.org/r/6369...
46,188
10.11.2017 10:00:07
28,800
2854f3b6ab65e16a4fc4a365efdc99ff6ed6b7a0
Made the maintainer doc up-to-date. James Peach has been voted as a commiter officially. Therefore, remove the `(cc)` annotation in the maintainers section.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -465,7 +465,7 @@ committers to learn about areas of the code that they are unfamiliar with.\n<tr>\n<td></td>\n<td>XFS Isolator</td>\n- <td>Yan Xu, James Peach (cc)</td>\n+ <td>Yan Xu, James Pea...
C++
Apache License 2.0
apache/mesos
Made the maintainer doc up-to-date. James Peach has been voted as a commiter officially. Therefore, remove the `(cc)` annotation in the maintainers section.
46,057
13.11.2017 11:12:11
-3,600
cf543bafc15ba19d0e3e6a656b45d8b9685f2d40
Expanded description of the --recovery_timeout flag. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/flags.cpp", "new_path": "src/slave/flags.cpp", "diff": "@@ -449,7 +449,14 @@ mesos::internal::slave::Flags::Flags()\n\"recovery_timeout\",\n\"Amount of time allotted for the agent to recover. If the agent takes\\n\"\n\"longer than recovery_timeout to...
C++
Apache License 2.0
apache/mesos
Expanded description of the --recovery_timeout flag. Review: https://reviews.apache.org/r/62893/
46,066
13.11.2017 09:29:15
28,800
c946615ec6d0deb26aae984d99097ae6bc02058d
Provided handling for offer operation updates. When a resource provider has finished an offer operation, it will send a status update to the resource provider manager and subsequently to an agent. The agent then updates its internal bookkeeping and forwards the status update to the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -444,14 +444,19 @@ OfferOperation createOfferOperation(\nconst Offer::Operation& info,\nconst OfferOperationStatus& latestStatus,\nconst FrameworkID& frameworkId,\n- const...
C++
Apache License 2.0
apache/mesos
Provided handling for offer operation updates. When a resource provider has finished an offer operation, it will send a status update to the resource provider manager and subsequently to an agent. The agent then updates its internal bookkeeping and forwards the status update to the master. Review: https://reviews.apa...
46,066
13.11.2017 09:29:23
28,800
560942ddab37dc341c4889c158149de3ab987d01
Added test helpers for storage operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -1279,6 +1279,49 @@ inline typename TOffer::Operation LAUNCH_GROUP(\n}\n+template <typename TResource, typename TTargetType, typename TOffer>\n+inline typename TOffer::Operation CREATE_VOLUME...
C++
Apache License 2.0
apache/mesos
Added test helpers for storage operations. Review: https://reviews.apache.org/r/63679/
46,066
13.11.2017 09:29:28
28,800
663b893a0badb518d6572566a11fd015d76bf429
Added a test for resource conversion using a resource provider. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resource_provider_manager_tests.cpp", "new_path": "src/tests/resource_provider_manager_tests.cpp", "diff": "// limitations under the License.\n#include <string>\n+#include <vector>\n#include <gtest/gtest.h>\n#include <process/gtest.hpp>\n#include <pr...
C++
Apache License 2.0
apache/mesos
Added a test for resource conversion using a resource provider. Review: https://reviews.apache.org/r/63625/
46,057
13.11.2017 19:21:36
-3,600
5925b424454e56e02667725713c07f073a7262b9
Fixed IoSwitchboard tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/io_switchboard_tests.cpp", "new_path": "src/tests/containerizer/io_switchboard_tests.cpp", "diff": "@@ -993,13 +993,16 @@ TEST_F(IOSwitchboardTest, DISABLED_RecoverThenKillSwitchboardContainerDestroyed)\ncontainerizer.reset(create.get()...
C++
Apache License 2.0
apache/mesos
Fixed IoSwitchboard tests. Review: https://reviews.apache.org/r/63728/
46,056
13.11.2017 21:37:23
-3,600
1c94458e33933b983b7b369bfcbeb4e847caeef1
Fixed flaky RescindRevocableOfferWithIncreasedRevocable test. This is addendum to review The loop that merges outstanding offers can miss some because it removes the items from the collection it iterates over. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/oversubscription_tests.cpp", "new_path": "src/tests/oversubscription_tests.cpp", "diff": "@@ -547,7 +547,7 @@ TEST_F(OversubscriptionTest, RescindRevocableOfferWithIncreasedRevocable)\n// The total offered resources after the latest estimate.\nResour...
C++
Apache License 2.0
apache/mesos
Fixed flaky RescindRevocableOfferWithIncreasedRevocable test. This is addendum to review https://reviews.apache.org/r/55893/. The loop that merges outstanding offers can miss some because it removes the items from the collection it iterates over. Review: https://reviews.apache.org/r/63710/
46,056
08.11.2017 17:18:49
-3,600
a6bb16aa431c32962f114fa30527aa2730a7da0d
Added a two-parameter SendSubscribe action in test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2431,6 +2431,20 @@ ACTION_P(SendSubscribe, frameworkInfo)\nCall call;\ncall.set_type(Call::SUBSCRIBE);\ncall.mutable_subscribe()->mutable_framework_info()->CopyFrom(frameworkInfo);\n+\n+ arg...
C++
Apache License 2.0
apache/mesos
Added a two-parameter SendSubscribe action in test. Review: https://reviews.apache.org/r/63672
46,056
07.11.2017 21:24:16
-3,600
ebd27f8a39177ef26d05bbde5ad0e2e66c8811ff
Allowed multiple master detections in MasterFailover test. After master failover, the scheduler library can fire new master detection more than once. We are not interested in sporadic connected events, but in the end result: the scheduler can resubscribe with the same framework id. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/scheduler_tests.cpp", "new_path": "src/tests/scheduler_tests.cpp", "diff": "@@ -264,37 +264,22 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(SchedulerTest, MasterFailover)\nauto scheduler = std::make_shared<v1::MockHTTPScheduler>();\nauto detector = std::make_s...
C++
Apache License 2.0
apache/mesos
Allowed multiple master detections in MasterFailover test. After master failover, the scheduler library can fire new master detection more than once. We are not interested in sporadic connected events, but in the end result: the scheduler can resubscribe with the same framework id. Review: https://reviews.apache.org/...
46,056
08.11.2017 11:41:19
-3,600
7955dc9dc2971055fde684c2e156b6eb18467306
Updated a comment about resubscribing completed frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2667,9 +2667,8 @@ void Master::subscribe(\nif (validationError.isNone() && frameworkInfo.has_id() &&\nisCompletedFramework(frameworkInfo.id())) {\n- // This could happen if a framework t...
C++
Apache License 2.0
apache/mesos
Updated a comment about resubscribing completed frameworks. Review: https://reviews.apache.org/r/63674
46,056
13.11.2017 21:52:05
-3,600
75f1274221de5169024008a4187ddb4edd3f9be3
Refactored scheduler test driver to avoid using uninitialized object. The shared pointer to MockHTTPScheduler is initialized after the library, while the library may start using it right after its initialization via the `events` callback. This change removes the shared pointer altogether and hence prevents possible seg...
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2300,8 +2300,12 @@ public:\nMOCK_METHOD2_T(failure, void(Mesos*, const typename Event::Failure&));\nMOCK_METHOD2_T(error, void(Mesos*, const typename Event::Error&));\n- void event(Mesos* me...
C++
Apache License 2.0
apache/mesos
Refactored scheduler test driver to avoid using uninitialized object. The shared pointer to MockHTTPScheduler is initialized after the library, while the library may start using it right after its initialization via the `events` callback. This change removes the shared pointer altogether and hence prevents possible se...
46,056
13.11.2017 21:52:22
-3,600
f221d8ebb1846e43d8c319bdcaf2694b1601f55b
Refactored executor test driver to avoid using uninitialized object. The shared pointer to MockHTTPExecutor is initialized after the library, while the library may start using it right after its initialization via the `events` callback. This change removes the shared pointer altogether and hence prevents possible segfa...
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2483,8 +2483,12 @@ public:\nMOCK_METHOD2_T(acknowledged,\nvoid(Mesos*, const typename Event::Acknowledged&));\n- void event(Mesos* mesos, const Event& event)\n+ void events(Mesos* mesos, std...
C++
Apache License 2.0
apache/mesos
Refactored executor test driver to avoid using uninitialized object. The shared pointer to MockHTTPExecutor is initialized after the library, while the library may start using it right after its initialization via the `events` callback. This change removes the shared pointer altogether and hence prevents possible segf...
46,056
13.11.2017 21:52:35
-3,600
57eeef05668bf73cbc3c0c38ca28dbf0b90ab8b1
Passed scheduler as a shared pointer into the callback. To ensure the lifetime of the scheduler is longer than the lifetime of the scheduler library driver, pass scheduler as a shared_ptr. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2358,22 +2358,20 @@ public:\nTestMesos(\nconst std::string& master,\nContentType contentType,\n- const std::shared_ptr<MockHTTPScheduler<Mesos, Event>>& _scheduler,\n+ const std::shared_ptr<...
C++
Apache License 2.0
apache/mesos
Passed scheduler as a shared pointer into the callback. To ensure the lifetime of the scheduler is longer than the lifetime of the scheduler library driver, pass scheduler as a shared_ptr. Review: https://reviews.apache.org/r/63615/
46,188
13.11.2017 16:14:39
28,800
776bfab969c4df6d1ecea67f8a5aedf1ec3bed83
Handled the resource conversion for new operations in master. When a terminal status update for an offer operaiton is received, we need to apply the conversion for the offer operation to the master's view about the total resources of the corresponding agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9748,6 +9748,12 @@ void Master::updateOfferOperation(\nCHECK(operation->has_slave_id())\n<< \"External resource provider is not supported yet\";\n+ // The slave owns the OfferOperation o...
C++
Apache License 2.0
apache/mesos
Handled the resource conversion for new operations in master. When a terminal status update for an offer operaiton is received, we need to apply the conversion for the offer operation to the master's view about the total resources of the corresponding agent. Review: https://reviews.apache.org/r/63737/
46,055
13.11.2017 16:28:30
28,800
c4c821ca508bfefd6dd29469306660c6359c9feb
Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_BlkioUsage`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -1620,6 +1620,169 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_MemoryBackward)\ndriver.join();\n}\n+\n+// This test verifies the c...
C++
Apache License 2.0
apache/mesos
Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_BlkioUsage`. Review: https://reviews.apache.org/r/62579/
46,066
14.11.2017 08:49:10
28,800
bb2deb3baafffb9a35d1dfbc35b0d43677b0b842
Handled the resource conversion for new operations in master. When a terminal status update for an offer operaiton is received, we need to apply the conversion for the offer operation to the master's view about the total resources of the corresponding agent. Fix for Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9748,6 +9748,12 @@ void Master::updateOfferOperation(\nCHECK(operation->has_slave_id())\n<< \"External resource provider is not supported yet\";\n+ // The slave owns the OfferOperation o...
C++
Apache License 2.0
apache/mesos
Handled the resource conversion for new operations in master. When a terminal status update for an offer operaiton is received, we need to apply the conversion for the offer operation to the master's view about the total resources of the corresponding agent. Fix for 776bfab969c4df6d1ecea67f8a5aedf1ec3bed83 Review: h...
46,178
07.09.2017 13:37:51
14,400
69a75519aa1b4005d387e4d8b1383ada050b1748
Updated RC tagging+voting mechanism. Updated RC tagging+voting mechanism by eliminating duplicated work in tag/vote scripts. The vote script has been updated to incorporate the steps from tag.sh. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -141,7 +141,7 @@ This guide describes the process of doing an official release of Mesos.\nidentified.\n-## Tagging the Release Candidate\n+## Tagging and Voting the Release Candidate\n1. ...
C++
Apache License 2.0
apache/mesos
Updated RC tagging+voting mechanism. Updated RC tagging+voting mechanism by eliminating duplicated work in tag/vote scripts. The vote script has been updated to incorporate the steps from tag.sh. Review: https://reviews.apache.org/r/62166
46,177
12.07.2017 12:24:59
25,200
f370a32d2c05a7d8d9606aaeb1f6b01dd884abdc
Added basic tests for launching standalone containers. Within the containerizer, standalone containers are treated like any other container (such as those with executors/tasks), so the MesosContainerizerTests focus on the difference in arguments passed for standalone containers. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/mesos_containerizer_tests.cpp", "new_path": "src/tests/containerizer/mesos_containerizer_tests.cpp", "diff": "@@ -149,6 +149,51 @@ TEST_F(MesosContainerizerTest, Launch)\n}\n+TEST_F(MesosContainerizerTest, StandaloneLaunch)\n+{\n+ slave...
C++
Apache License 2.0
apache/mesos
Added basic tests for launching standalone containers. Within the containerizer, standalone containers are treated like any other container (such as those with executors/tasks), so the MesosContainerizerTests focus on the difference in arguments passed for standalone containers. Review: https://reviews.apache.org/r/6...
46,177
14.07.2017 17:09:41
25,200
e05dc9e719bb1e71fda6a42771135425765a6b2d
Added ACLs and AuthZ for standalone containers. This defines some coarse-grained AuthZ for launching and managing standalone containers. Each HTTP principal can be given the right to Launch, Wait upon, Kill, or Remove standalone containers under a given (posix) user. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -414,6 +414,59 @@ message ACL {\n// access.\nrequired Entity agents = 2;\n}\n+\n+ // Which principals are authorized to launch standalone containers.\n+ messag...
C++
Apache License 2.0
apache/mesos
Added ACLs and AuthZ for standalone containers. This defines some coarse-grained AuthZ for launching and managing standalone containers. Each HTTP principal can be given the right to Launch, Wait upon, Kill, or Remove standalone containers under a given (posix) user. Review: https://reviews.apache.org/r/60891
46,177
06.09.2017 13:48:17
25,200
96d52a0931590fa859c77bcd9bedaf7af60194c9
Moved GPU resource validation into common file. Both master and agent expect GPUs to be specified in whole numbers only. This is some of the common resource validation which will be used by the master and by the Standalone Container API. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/validation.cpp", "new_path": "src/common/validation.cpp", "diff": "#include <algorithm>\n#include <cctype>\n+#include <mesos/resources.hpp>\n+\n#include <stout/foreach.hpp>\n#include <stout/stringify.hpp>\n#include <stout/unreachable.hpp>\nusing std...
C++
Apache License 2.0
apache/mesos
Moved GPU resource validation into common file. Both master and agent expect GPUs to be specified in whole numbers only. This is some of the common resource validation which will be used by the master and by the Standalone Container API. Review: https://reviews.apache.org/r/62142
46,177
06.09.2017 13:50:47
25,200
2d7ec26835ca3551ce952ea57b3e369cdcb2cb99
Added validation for Standalone Container APIs. The Standalone Container APIs act much like the nested container APIs, except that ContainerIDs do not necessarily need to have a parent. Additionally, the 'resources' field in the `LAUNCH_CONTAINER` API has some restrictions due to how these resources are not reported to...
[ { "change_type": "MODIFY", "old_path": "src/slave/validation.cpp", "new_path": "src/slave/validation.cpp", "diff": "#include <string>\n+#include <mesos/resources.hpp>\n+\n#include <mesos/agent/agent.hpp>\n#include <stout/stringify.hpp>\n#include \"checks/checker.hpp\"\n+#include \"common/resources_u...
C++
Apache License 2.0
apache/mesos
Added validation for Standalone Container APIs. The Standalone Container APIs act much like the nested container APIs, except that ContainerIDs do not necessarily need to have a parent. Additionally, the 'resources' field in the `LAUNCH_CONTAINER` API has some restrictions due to how these resources are not reported ...
46,177
04.10.2017 12:12:24
25,200
3c929e057bb20c72c23be22863b3239b6bb7c203
Updated test filters to include value-parameterized tests. Test filters currently check the name of tests and type parameters if they exist. This adds value-parameterized tests to the set of strings checked against when applying the default test filters. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/tests/environment.hpp", "new_path": "3rdparty/stout/include/stout/tests/environment.hpp", "diff": "@@ -53,6 +53,11 @@ public:\nreturn true;\n}\n+ if (test->value_param() != nullptr &&\n+ strings::contains(test->value_param(), patte...
C++
Apache License 2.0
apache/mesos
Updated test filters to include value-parameterized tests. Test filters currently check the name of tests and type parameters if they exist. This adds value-parameterized tests to the set of strings checked against when applying the default test filters. Review: https://reviews.apache.org/r/63054
46,056
15.11.2017 10:39:27
-3,600
69e0fd9088d0f42607046cc925e9fa0aa9728970
Fixed "opeartor" typo in "master.cpp".
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2668,7 +2668,7 @@ void Master::subscribe(\nif (validationError.isNone() && frameworkInfo.has_id() &&\nisCompletedFramework(frameworkInfo.id())) {\n// This could happen if a framework tri...
C++
Apache License 2.0
apache/mesos
Fixed "opeartor" typo in "master.cpp".
46,172
15.11.2017 16:34:08
-3,600
71c2d6ebfbf0f1b3d6faa765a37b81f1a8c0c293
Added context to new agent processing calls. This change adds context information to log entries for agent HTTP API handlers. It impacts the calls `LAUNCH_CONTAINER`, `WAIT_CONTAINER`, `KILL_CONTAINER`, and `REMOVE_CONTAINER`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -2392,6 +2392,9 @@ Future<Response> Http::launchContainer(\nCHECK_EQ(mesos::agent::Call::LAUNCH_CONTAINER, call.type());\nCHECK(call.has_launch_container());\n+ LOG(INFO) << \"Processing LAUNCH...
C++
Apache License 2.0
apache/mesos
Added context to new agent processing calls. This change adds context information to log entries for agent HTTP API handlers. It impacts the calls `LAUNCH_CONTAINER`, `WAIT_CONTAINER`, `KILL_CONTAINER`, and `REMOVE_CONTAINER`. Review: https://reviews.apache.org/r/63833/
46,114
14.11.2017 10:47:53
28,800
3ce12d262596aa08e2521841b23edc32f2eb25a0
Windows: Fixed build of Google Test with Visual Studio Preview. The preview version of Visual Studio (15.5) adds a new deprecation warning that Google Test emits. Google Test is also built with `-Werror`, and thus fails to build unless this warning is silenced. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -688,6 +688,8 @@ set_target_properties(\ngtest PROPERTIES\nINTERFACE_INCLUDE_DIRECTORIES ${GOOGLETEST_ROOT}/googletest/include)\n+set(GOOGLETEST_CMAKE_FORWARD_ARGS ${CMAKE_FORWARD_ARG...
C++
Apache License 2.0
apache/mesos
Windows: Fixed build of Google Test with Visual Studio Preview. The preview version of Visual Studio (15.5) adds a new deprecation warning that Google Test emits. Google Test is also built with `-Werror`, and thus fails to build unless this warning is silenced. Review: https://reviews.apache.org/r/63801/
46,114
15.11.2017 11:35:36
28,800
f67b63dbd68bb875bb25011014774264b7f0db3e
Added quick start instructions for CMake. Review:
[ { "change_type": "MODIFY", "old_path": "docs/cmake.md", "new_path": "docs/cmake.md", "diff": "@@ -31,6 +31,31 @@ Download and install the MSI from [CMake.org][cmake-download].\n**NOTE:** Windows needs CMake 3.8+, rather than 3.7+.\n+# Quick Start\n+\n+The most basic way to build with CMake, with no ...
C++
Apache License 2.0
apache/mesos
Added quick start instructions for CMake. Review: https://reviews.apache.org/r/63818/
46,139
15.11.2017 11:35:56
28,800
e3e6413281f81e53c845a5c6e2cc57c1e6ece110
Removed an unused variable in a default executor test. This patch removes an unused variable from `DefaultExecutorTest.CommitSuicideOnKillTask`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1090,8 +1090,6 @@ TEST_P(DefaultExecutorTest, CommitSuicideOnKillTask)\nv1::TaskInfo task2 = v1::createTask(agentId, resources, SLEEP_COMMAND(1000));\n- con...
C++
Apache License 2.0
apache/mesos
Removed an unused variable in a default executor test. This patch removes an unused variable from `DefaultExecutorTest.CommitSuicideOnKillTask`. Review: https://reviews.apache.org/r/63522/
46,057
15.11.2017 21:13:14
-3,600
0eec1f39a60d75547b1ca714f193df0bda7beb7a
Updated test PortMappingMesosTest.CGROUPS_ROOT_CleanUpOrphan. This test needed to be adapted to the new behaviour of the built-in executors that are now sending TASK_STARTING updates. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/port_mapping_tests.cpp", "new_path": "src/tests/containerizer/port_mapping_tests.cpp", "diff": "@@ -2089,15 +2089,20 @@ TEST_F(PortMappingMesosTest, CGROUPS_ROOT_CleanUpOrphan)\n// Start a long running task using network islator.\nTaskI...
C++
Apache License 2.0
apache/mesos
Updated test PortMappingMesosTest.CGROUPS_ROOT_CleanUpOrphan. This test needed to be adapted to the new behaviour of the built-in executors that are now sending TASK_STARTING updates. Review: https://reviews.apache.org/r/63846/
46,082
14.11.2017 13:00:42
28,800
73325e595912787aab0a9ed2dd6d84acdffaee1c
Updated documentation on protobuf version requirements. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/README.md", "new_path": "3rdparty/stout/README.md", "diff": "@@ -6,7 +6,7 @@ Stout is a header-only C++ library. Simply add the `include` folder to your incl\n>\n> - Boost\n> - Google's glog (this dependency will be removed in the future)\n-> - ...
C++
Apache License 2.0
apache/mesos
Updated documentation on protobuf version requirements. Review: https://reviews.apache.org/r/63752/
46,082
14.11.2017 13:02:00
28,800
d69f18154331e2fa9972e96c277233f3bf14ac3a
Upgraded vendored protobuf to 3.5.0. Version 3.4 adds and version 3.5 improves move support in generated C++ code. `protobuf-3.5.0.tar.gz` was built using the script: ``` curl -L -O tar -xzf v3.5.0.tar.gz cd protobuf-3.5.0 ./autogen.sh cd .. tar -czf protobuf-3.5.0.tar.gz protobuf-3.5.0 ``` Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/Versions.cmake", "new_path": "3rdparty/cmake/Versions.cmake", "diff": "@@ -23,8 +23,8 @@ set(NVML_VERSION \"352.79\")\nset(NVML_HASH \"SHA256=D0B2CC1742CBD7CC73DA13BFA6BF2DA3D92B545E8388E642D41977F4EAD8D3D0\")\nset(PICOJSON_VERSION \"1.3.0\")\ns...
C++
Apache License 2.0
apache/mesos
Upgraded vendored protobuf to 3.5.0. Version 3.4 adds and version 3.5 improves move support in generated C++ code. `protobuf-3.5.0.tar.gz` was built using the script: ``` curl -L -O https://github.com/google/protobuf/archive/v3.5.0.tar.gz tar -xzf v3.5.0.tar.gz cd protobuf-3.5.0 ./autogen.sh cd .. tar -czf protobuf-3...
46,165
14.11.2017 13:16:59
28,800
8fc5658b5cdc9b717b3cf5c635262523d7c51f92
Added a readme for the protobuf dependency.
[ { "change_type": "MODIFY", "old_path": "3rdparty/README.md", "new_path": "3rdparty/README.md", "diff": "@@ -18,7 +18,7 @@ This directory contains bundled packages within the Mesos repository.\n- nvml\n- picojson\n- pip\n- - protobuf\n+ - [protobuf](protobuf.md)\n- setuptools\n- wheel\n- zookeeper\n"...
C++
Apache License 2.0
apache/mesos
Added a readme for the protobuf dependency.
46,082
15.11.2017 14:19:39
28,800
8cd1bd2fcb8a4d2330a781a86b62e55ada6d4984
Enabled rvalue reference parameters in protobuf handlers. Using rvalue reference parameter in protobuf handler opts-out of arena usage, and allows the handler to move the message. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "@@ -134,6 +134,18 @@ protected:\ndelete m;\n}\n+ template <typename M>\n+ void install(void (T::*method)(const process::UPID&, M&&))\n+ ...
C++
Apache License 2.0
apache/mesos
Enabled rvalue reference parameters in protobuf handlers. Using rvalue reference parameter in protobuf handler opts-out of arena usage, and allows the handler to move the message. Review: https://reviews.apache.org/r/63639/
46,110
15.11.2017 19:25:05
28,800
c0a47b696291e152c0a4d772b2b38ab2aad8c0bb
Updated 1.2.3 CHANGELOG prior to rc1 tagging.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -636,7 +636,7 @@ All Resolved Issues:\n* [MESOS-7439] - Bump the default timeout value for docker volume driver unmount operation.\n-Release Notes - Mesos - Version 1.2.3 (WIP)\n+Release Notes - Mesos - Version ...
C++
Apache License 2.0
apache/mesos
Updated 1.2.3 CHANGELOG prior to rc1 tagging.
46,178
16.11.2017 15:11:47
18,000
b0bfa5c244995a0d56b6e244c61038bf15a899d4
Removed WIP from 1.4.1 changelog.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -22,7 +22,7 @@ Feature Graduations:\nAll Experimental Features:\n-Release Notes - Mesos - Version 1.4.1 (WIP)\n+Release Notes - Mesos - Version 1.4.1\n-------------------------------------------\n* This is a bug...
C++
Apache License 2.0
apache/mesos
Removed WIP from 1.4.1 changelog.
46,178
16.11.2017 15:23:31
18,000
2a253093ecdc7d743c9c0874d6e01b68f6a813e4
Update website for 1.4.1 relsease.
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache...
C++
Apache License 2.0
apache/mesos
Update website for 1.4.1 relsease.
46,078
16.11.2017 22:04:09
28,800
08d22ffbb311bc4a7515d422367b3c58a17a540a
Downgraded the logging level of socket shutdown failures. It often merely shows that a connection is closed before libprocess shuts it down so it should be logged at INFO level. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -2472,8 +2472,12 @@ Encoder* SocketManager::next(int_fd s)\nsockets.erase(iterator);\nTry<Nothing> shutdown = socket.shutdown();\n+\n+ // Failure here could be...
C++
Apache License 2.0
apache/mesos
Downgraded the logging level of socket shutdown failures. It often merely shows that a connection is closed before libprocess shuts it down so it should be logged at INFO level. Review: https://reviews.apache.org/r/63900
46,178
16.11.2017 15:45:43
18,000
94ef10c2d4572cbe8c70b40fe3c59524186d6236
Use annotated tags in vote.sh and release.sh. Review:
[ { "change_type": "MODIFY", "old_path": "docs/release-guide.md", "new_path": "docs/release-guide.md", "diff": "@@ -154,7 +154,7 @@ This guide describes the process of doing an official release of Mesos.\n3. First tag the required SHA locally.\n- $ git tag <X.Y.Z-rcR>\n+ $ git tag -a <X.Y.Z-rcR> -m \"...
C++
Apache License 2.0
apache/mesos
Use annotated tags in vote.sh and release.sh. Review: https://reviews.apache.org/r/63889
46,078
15.10.2017 23:47:54
25,200
2939c86a5c99aadcd422f9f5c4b566a0465ec52c
Do not generate UnavailableResources for inactive frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -133,10 +133,12 @@ private:\nHierarchicalAllocatorProcess::Framework::Framework(\nconst FrameworkInfo& frameworkInfo,\n- const set<string>& _su...
C++
Apache License 2.0
apache/mesos
Do not generate UnavailableResources for inactive frameworks. Review: https://reviews.apache.org/r/63175
46,165
19.11.2017 16:18:25
28,800
178f59f773dfaab25d51fe5a5f71be16027a09da
Added a Future constructor for Try<Future<T>>. Longer term we may want to figure out an alternative "flattening" strategy, but for now the approach has been to add constructors that allow flattening. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -108,6 +108,8 @@ public:\n/*implicit*/ Future(const Try<T>& t);\n+ /*implicit*/ Future(const Try<Future<T>>& t);\n+\n~Future() = default;...
C++
Apache License 2.0
apache/mesos
Added a Future constructor for Try<Future<T>>. Longer term we may want to figure out an alternative "flattening" strategy, but for now the approach has been to add constructors that allow flattening. Review: https://reviews.apache.org/r/63940
46,076
07.01.2017 17:59:06
28,800
66bd732752d229c1a3e52331c1b30ab83ef46352
Fixed bug where we fail to hold onto PollSocketImpl reference. Also inlined the lambdas to simplify the code. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/poll_socket.cpp", "new_path": "3rdparty/libprocess/src/poll_socket.cpp", "diff": "@@ -49,11 +49,16 @@ Try<Nothing> PollSocketImpl::listen(int backlog)\n}\n-namespace internal {\n-\n-Future<int_fd> accept(int_fd fd)\n+Future<std::shared_...
C++
Apache License 2.0
apache/mesos
Fixed bug where we fail to hold onto PollSocketImpl reference. Also inlined the lambdas to simplify the code. Review: https://reviews.apache.org/r/55315
46,076
18.12.2016 18:19:01
28,800
7ececb45ed1bba315f1afb65dce463b542e203d1
Used loop in SocketImpl. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/socket.cpp", "new_path": "3rdparty/libprocess/src/socket.cpp", "diff": "#include <boost/shared_array.hpp>\n+#include <process/loop.hpp>\n#include <process/network.hpp>\n#include <process/owned.hpp>\n#include <process/socket.hpp>\n@@ -14...
C++
Apache License 2.0
apache/mesos
Used loop in SocketImpl. Review: https://reviews.apache.org/r/55317
46,076
07.01.2017 22:31:37
28,800
bf9d1aeb1212fe10dfa13a91bd64981494b4ab1d
Used loop in PollSocketImpl. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/poll_socket.cpp", "new_path": "3rdparty/libprocess/src/poll_socket.cpp", "diff": "#endif // __WINDOWS__\n#include <process/io.hpp>\n+#include <process/loop.hpp>\n#include <process/network.hpp>\n#include <process/socket.hpp>\n@@ -172,113...
C++
Apache License 2.0
apache/mesos
Used loop in PollSocketImpl. Review: https://reviews.apache.org/r/55318
46,076
06.01.2017 21:53:44
28,800
a057048f150ec46bd4158a6348ec3fccce5bf5a0
Added a TODO for loop.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/loop.hpp", "new_path": "3rdparty/libprocess/include/process/loop.hpp", "diff": "@@ -319,6 +319,10 @@ public:\ndispatch(pid.get(), [self]() {\nself->run(self->iterate());\n});\n+\n+ // TODO(benh): Link with `pid` so that we c...
C++
Apache License 2.0
apache/mesos
Added a TODO for loop.
46,076
25.12.2016 16:32:38
28,800
a306d1830fe5cd64ab23b3a88b2cf31ad565ebbe
Used inet::Address and inet::Socket explicitly.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/http_tests.cpp", "diff": "#include \"encoder.hpp\"\nnamespace authentication = process::http::authentication;\n+namespace ID = process::ID;\nnamespace http = process::htt...
C++
Apache License 2.0
apache/mesos
Used inet::Address and inet::Socket explicitly.
46,076
02.08.2017 20:24:31
25,200
f663d326d10d45ad3dfb76bc11c19cb6ac96d45e
Cleanups inside of synchronized blocks.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/queue.hpp", "new_path": "3rdparty/libprocess/include/process/queue.hpp", "diff": "@@ -54,19 +54,16 @@ public:\nFuture<T> get()\n{\n- Future<T> future;\n-\nsynchronized (data->lock) {\nif (data->elements.empty()) {\ndata->pro...
C++
Apache License 2.0
apache/mesos
Cleanups inside of synchronized blocks.
46,076
02.08.2017 20:25:26
25,200
e636aa714c91f0dc0b7427da9b4862fbf64faf20
Removed test dependency on internal process::internal::discarded.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/collect_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/collect_tests.cpp", "diff": "@@ -111,20 +111,24 @@ TEST(CollectTest, Failure)\nTEST(CollectTest, DiscardPropagation)\n{\n- Future<int> future1;\n- Future<bool> future2...
C++
Apache License 2.0
apache/mesos
Removed test dependency on internal process::internal::discarded.
46,076
02.08.2017 20:26:48
25,200
560ae4fcb3de5ca6605bb58d2f87babcd6b75593
Added Future::onAbandoned and Future::isAbandoned. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/check.hpp", "new_path": "3rdparty/libprocess/include/process/check.hpp", "diff": "#define CHECK_FAILED(expression) \\\nCHECK_STATE(CHECK_FAILED, _check_failed, expression)\n+#define CHECK_ABANDONED(expression) \\\n+ CHECK_ST...
C++
Apache License 2.0
apache/mesos
Added Future::onAbandoned and Future::isAbandoned. Review: https://reviews.apache.org/r/61147
46,076
27.12.2016 12:33:53
28,800
db9625dba68a692f2d718fe9fabc2586b5006599
Added Future::recover. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -438,6 +438,19 @@ public:\nreturn then(std::forward<F>(f), Prefer());\n}\n+ // Installs callbacks that get executed if this future is aba...
C++
Apache License 2.0
apache/mesos
Added Future::recover. Review: https://reviews.apache.org/r/61148
46,076
05.01.2017 21:41:37
28,800
e2eb6ae8c07223203a73bd679d12fa0293873303
Added stringification support for Future. This is especially useful when creating error messages and the future has failed or been discarded. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "#include <atomic>\n#include <list>\n#include <memory> // TODO(benh): Replace shared_ptr with unique_ptr.\n+#include <ostream>\n#include <set...
C++
Apache License 2.0
apache/mesos
Added stringification support for Future. This is especially useful when creating error messages and the future has failed or been discarded. Review: https://reviews.apache.org/r/61149
46,076
02.08.2017 20:13:57
25,200
613a846f197f74d116641c66b9caade65de4edae
Added Future::onAbandoned semantics to process::collect/await. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/collect.hpp", "new_path": "3rdparty/libprocess/include/process/collect.hpp", "diff": "@@ -76,6 +76,7 @@ public:\ndelete promise;\n}\n+protected:\nvirtual void initialize()\n{\n// Stop this nonsense if nobody cares.\n@@ -83,1...
C++
Apache License 2.0
apache/mesos
Added Future::onAbandoned semantics to process::collect/await. Review: https://reviews.apache.org/r/61150
46,076
07.01.2017 23:05:15
28,800
b8958e0a3b6b9894d427dd4f9d67a8e80808b96e
Used Future::recover in Mesos. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1634,16 +1634,11 @@ Future<http::Response> IOSwitchboardServerProcess::attachContainerInput(\n-> ControlFlow<http::Response> {\nretu...
C++
Apache License 2.0
apache/mesos
Used Future::recover in Mesos. Review: https://reviews.apache.org/r/61151
46,076
28.12.2016 06:42:06
28,800
7a232736c0994c90b8209a3beec3df3d9d197295
Added overload of process::await that takes and returns single future. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/collect.hpp", "new_path": "3rdparty/libprocess/include/process/collect.hpp", "diff": "@@ -57,6 +57,62 @@ template <typename... Ts>\nFuture<std::tuple<Future<Ts>...>> await(const Future<Ts>&... futures);\n+// Waits on the fut...
C++
Apache License 2.0
apache/mesos
Added overload of process::await that takes and returns single future. Review: https://reviews.apache.org/r/61152
46,076
05.01.2017 21:08:32
28,800
02ad5c8cdd644ee8eec83bf887daa98bb163637d
Added discard happens-before relationship in process::await/collect. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/collect.hpp", "new_path": "3rdparty/libprocess/include/process/collect.hpp", "diff": "@@ -155,12 +155,15 @@ private:\nvoid discarded()\n{\n- promise->discard();\n-\nforeach (Future<T> future, futures) {\nfuture.discard();\n}...
C++
Apache License 2.0
apache/mesos
Added discard happens-before relationship in process::await/collect. Review: https://reviews.apache.org/r/61153
46,076
06.01.2017 09:58:43
28,800
e8d47e6034d556c2bc9e7aea509b5b497850263d
Added safe downcasts for Socket. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/socket.hpp", "new_path": "3rdparty/libprocess/include/process/socket.hpp", "diff": "@@ -410,13 +410,17 @@ public:\nreturn impl->shutdown(how);\n}\n- // Support implicit conversion of any `Socket<AddressType>` to a\n- // `Soc...
C++
Apache License 2.0
apache/mesos
Added safe downcasts for Socket. Review: https://reviews.apache.org/r/61154
46,076
27.08.2017 17:06:48
25,200
1a204ef14f742b762aaceb02045ac6ea37b0e3d0
Added support for enum's to hashset and hashmap. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/hashmap.hpp", "new_path": "3rdparty/stout/include/stout/hashmap.hpp", "diff": "#include \"none.hpp\"\n#include \"option.hpp\"\n-\n// Provides a hash map via 'std::unordered_map'. We inherit from it to add\n// new functions as well ...
C++
Apache License 2.0
apache/mesos
Added support for enum's to hashset and hashmap. Review: https://reviews.apache.org/r/63941
46,076
27.08.2017 17:12:32
25,200
37d3ee5737fbba0f835a390ecaa35347351fa2d4
Added a state machine abstraction. An actor is often implemented like a state machine but the actual management of the state and transitions is very manual. This abstraction helps reduce a lot of the boilerplate assocaited with state machines. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/Makefile.am", "new_path": "3rdparty/libprocess/Makefile.am", "diff": "@@ -307,6 +307,7 @@ libprocess_tests_SOURCES = \\\nsrc/tests/socket_tests.cpp \\\nsrc/tests/sequence_tests.cpp \\\nsrc/tests/shared_tests.cpp \\\n+ src/tests/state_machin...
C++
Apache License 2.0
apache/mesos
Added a state machine abstraction. An actor is often implemented like a state machine but the actual management of the state and transitions is very manual. This abstraction helps reduce a lot of the boilerplate assocaited with state machines. Review: https://reviews.apache.org/r/63942
46,076
07.01.2017 18:05:39
28,800
c17152f6da44821fe9f1452e991d22307b8d2834
Added http::Server. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/http.hpp", "new_path": "3rdparty/libprocess/include/process/http.hpp", "diff": "@@ -1018,30 +1018,130 @@ template <typename F>\nFuture<Nothing> serve(const network::Socket& s, F&& f)\n{\nreturn internal::serve(\n- s, std::fu...
C++
Apache License 2.0
apache/mesos
Added http::Server. Review: https://reviews.apache.org/r/61155
46,066
20.11.2017 10:16:14
28,800
c7102881c964729823b7d9a7874df351105b5094
Bumped up the number of args allowed in some libprocess templates. This is a workaround until is fixed. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/async.hpp", "new_path": "3rdparty/libprocess/include/process/async.hpp", "diff": "@@ -60,7 +60,7 @@ Future<Nothing> async(\nENUM_BINARY_PARAMS(N, A, a), \\\ntypename std::enable_if<std::is_void<typename result_of<F(ENUM_PARA...
C++
Apache License 2.0
apache/mesos
Bumped up the number of args allowed in some libprocess templates. This is a workaround until MESOS-7195 is fixed. Review: https://reviews.apache.org/r/63911/
46,111
17.11.2017 16:36:24
28,800
03a2a4dfa47b1d47c5eb23e81f5ef8213e46d545
Checkpoint and recover `ContainerConfig` in Mesos containerizer. This patch includes the following change: Checkpointed `ContainerConfig` used to launch a container; Added helper function to read checkpointed `ContainerConfig`; Recovered `ContainerConfig`. Make `ContainerConfig` Option in `Container` struct to indicate...
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -759,6 +759,24 @@ Future<Nothing> MesosContainerizerProcess::recover(\ncontainer->state = RUNNING;\ncontainer->pid = state.pid();\ncont...
C++
Apache License 2.0
apache/mesos
Checkpoint and recover `ContainerConfig` in Mesos containerizer. This patch includes the following change: - Checkpointed `ContainerConfig` used to launch a container; - Added helper function to read checkpointed `ContainerConfig`; - Recovered `ContainerConfig`. - Make `ContainerConfig` Option in `Container` struct to...