author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
46,188 | 08.06.2017 13:33:06 | 25,200 | cb2e4fa6aaed476641c61d39fd70f2f10c6e23ce | Added streaming function for ResourceProviderInfo.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/type_utils.hpp",
"new_path": "include/mesos/type_utils.hpp",
"diff": "@@ -322,6 +322,11 @@ std::ostream& operator<<(\nconst ResourceProviderID& resourceProviderId);\n+std::ostream& operator<<(\n+ std::ostream& stream,\n+ const ResourceProviderInf... | C++ | Apache License 2.0 | apache/mesos | Added streaming function for ResourceProviderInfo.
Review: https://reviews.apache.org/r/59936 |
46,188 | 08.06.2017 13:58:30 | 25,200 | da3f16a71f1d00819eeffc8b9d89a85543693bf1 | Added agent `--resource_provider_config_dir` flag.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -1891,6 +1891,27 @@ Example JSON:\n]</code></pre>\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --resource_provider_config_dir=VALUE\n+ </td>\n+ <td>\n+Path to a directory that contains local resource ... | C++ | Apache License 2.0 | apache/mesos | Added agent `--resource_provider_config_dir` flag.
Review: https://reviews.apache.org/r/59937 |
46,188 | 08.06.2017 16:01:02 | 25,200 | f5e083ca3e8ea680f1b9fa88d79f53f54dbe4e2b | Added agent endpoint for local resource providers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2340,6 +2340,7 @@ mesos_tests_SOURCES = \\\ntests/reservation_endpoints_tests.cpp \\\ntests/reservation_tests.cpp \\\ntests/resource_offers_tests.cpp \\\n+ tests/resource_provider_http_api_tests.cpp... | C++ | Apache License 2.0 | apache/mesos | Added agent endpoint for local resource providers.
Review: https://reviews.apache.org/r/59938 |
46,188 | 25.06.2017 21:16:49 | 25,200 | 027dc1ba9d3685a04e89d93112a5980ebc8df0cf | Added stubs for local resource provider daemon.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -399,6 +399,7 @@ set(POSIX_SRC\n)\nset(RESOURCE_PROVIDER_SRC\n+ resource_provider/daemon.cpp\nresource_provider/driver.cpp\nresource_provider/manager.cpp\nresource_provider/storage/provider.cpp... | C++ | Apache License 2.0 | apache/mesos | Added stubs for local resource provider daemon.
Review: https://reviews.apache.org/r/60360 |
46,188 | 13.06.2017 21:32:02 | 25,200 | 46f3f1705d882bf5c7b2a3fa2bd35d2b5e15c576 | Added ResourceProviderMessage for the manager.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -1084,6 +1084,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\nresource_provider/daemon.hpp \\\nresource_provider/local.hpp \\\nresource_provider/manager.hpp \\\n+ resource_provider/message.hpp \\\nresour... | C++ | Apache License 2.0 | apache/mesos | Added ResourceProviderMessage for the manager.
Review: https://reviews.apache.org/r/60418 |
46,188 | 25.06.2017 21:17:10 | 25,200 | 15078adddec1a2fca80978eb29b6889eb15db4b1 | Added local resource provider daemon initialization logic.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -401,6 +401,7 @@ set(POSIX_SRC\nset(RESOURCE_PROVIDER_SRC\nresource_provider/daemon.cpp\nresource_provider/driver.cpp\n+ resource_provider/local.cpp\nresource_provider/manager.cpp\nresource_pro... | C++ | Apache License 2.0 | apache/mesos | Added local resource provider daemon initialization logic.
Review: https://reviews.apache.org/r/60419 |
46,109 | 30.06.2017 16:58:34 | 25,200 | 0d277bb64fa5a4d0b4f741daedf64095beab4773 | Added filtering to the '/tasks' endpoint.
Added filtering to the '/tasks' endpoint.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -57,6 +57,8 @@ using std::set;\nusing std::string;\nusing std::vector;\n+using process::Future;\n+using process::Owned;\nusing process::Failure;\nusing process::Owned;\n@@ -1123,4 +1125,128 @... | C++ | Apache License 2.0 | apache/mesos | Added filtering to the '/tasks' endpoint.
Added filtering to the '/tasks' endpoint.
Review: https://reviews.apache.org/r/60107/ |
46,103 | 03.07.2017 23:05:09 | -7,200 | f51ea7b89c6de0d05752773898e2529951328c96 | Added to the 1.3.1 CHANGELOG.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -8,6 +8,7 @@ All Issues:\n* [MESOS-7546] - WAIT_NESTED_CONTAINER sometimes returns 404.\n* [MESOS-7540] - Add an agent flag for executor re-registration timeout.\n* [MESOS-7569] - Allow \"old\" executors with ha... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-7581 to the 1.3.1 CHANGELOG.
Review: https://reviews.apache.org/r/60425/ |
46,103 | 03.07.2017 23:09:57 | -7,200 | 2212414f85b5d80e9e91f1ea4274676356d363ab | Added to the 1.2.2 CHANGELOG.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -301,6 +301,7 @@ All Issues:\n* [MESOS-7540] - Add an agent flag for executor re-registration timeout.\n* [MESOS-7546] - WAIT_NESTED_CONTAINER sometimes returns 404.\n* [MESOS-7569] - Allow \"old\" executors wit... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-7581 to the 1.2.2 CHANGELOG.
Review: https://reviews.apache.org/r/60427/ |
46,103 | 03.07.2017 23:12:41 | -7,200 | ced7d69767142c912db0c2e01b95c0f5de791bd9 | Added to the 1.1.3 CHANGELOG.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -798,6 +798,7 @@ All Issues:\n* [MESOS-7569] - Allow \"old\" executors with half-open connections to be preserved during agent upgrade / restart.\n* [MESOS-7689] - Libprocess can crash on malformed request paths... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-7581 to the 1.1.3 CHANGELOG.
Review: https://reviews.apache.org/r/60428/ |
46,056 | 04.07.2017 15:07:03 | -7,200 | 21de4b671709e6379a9f47d5ed4007e7f2b1b6bf | Cleaned up logging around subscribers in master. | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -9380,7 +9380,7 @@ static bool isValidFailoverTimeout(const FrameworkInfo& frameworkInfo)\nvoid Master::Subscribers::send(const mesos::master::Event& event)\n{\n- VLOG(1) << \"Notifying a... | C++ | Apache License 2.0 | apache/mesos | Cleaned up logging around subscribers in master. |
46,062 | 29.06.2017 23:30:16 | 25,200 | 63c8b1d63be363e96d7c2672d9d65b9d67ca48ed | Updated `validateAndNormalizeResources` to operate on `Operation`s.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -196,17 +196,216 @@ void convertResourceFormat(\n}\n-Option<Error> validateAndUpgradeResources(RepeatedPtrField<Resource>* resources)\n+Option<Error> validateAndNormaliz... | C++ | Apache License 2.0 | apache/mesos | Updated `validateAndNormalizeResources` to operate on `Operation`s.
Review: https://reviews.apache.org/r/60563 |
46,062 | 29.06.2017 23:49:10 | 25,200 | e097f21124d16c80544af7aabc83bab5fb712453 | Performed validation/normalization of `Resource`s before authorization.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -3925,6 +3925,85 @@ void Master::accept(\nreturn;\n}\n+ // Validate and upgrade all of the resources in `accept.operations`.\n+ //\n+ // If a RESERVE, UNRESERVE, CREATE, or DESTROY operat... | C++ | Apache License 2.0 | apache/mesos | Performed validation/normalization of `Resource`s before authorization.
Review: https://reviews.apache.org/r/60564 |
46,066 | 05.07.2017 16:40:16 | -7,200 | 013f7e21ac2c8872668e6e0fad35a1b7b92ec796 | Tightened namespace to fix a lookup error on Windows.
The Visual C++ compiler tried to lookup 'protobuf::parse' in the
'mesos::internal::protobuf' namespace. This is fixed by explicitly
setting the namespace.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/daemon.cpp",
"new_path": "src/resource_provider/daemon.cpp",
"diff": "@@ -127,7 +127,7 @@ Try<Nothing> LocalResourceProviderDaemonProcess::load(const string& path)\n}\nTry<ResourceProviderInfo> info =\n- protobuf::parse<ResourceProviderIn... | C++ | Apache License 2.0 | apache/mesos | Tightened namespace to fix a lookup error on Windows.
The Visual C++ compiler tried to lookup 'protobuf::parse' in the
'mesos::internal::protobuf' namespace. This is fixed by explicitly
setting the namespace.
Review: https://reviews.apache.org/r/60653/ |
46,145 | 05.07.2017 11:34:12 | 25,200 | 36b97ed73dce0b43ef8639d90132c2752669dc25 | Moved `net::IPNetwork` to `net::IP:Network`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/ip.hpp",
"new_path": "3rdparty/stout/include/stout/ip.hpp",
"diff": "#include <stout/windows.hpp>\n#endif // __WINDOWS__\n-\nnamespace net {\n// Represents an IP.\n@@ -200,6 +199,109 @@ public:\n}\n}\n+ // Represents an IP network.... | C++ | Apache License 2.0 | apache/mesos | Moved `net::IPNetwork` to `net::IP:Network`.
Review: https://reviews.apache.org/r/59688/ |
46,145 | 05.07.2017 11:39:31 | 25,200 | ec1f15e3acc07dbcfeadfe39fa0d252cbb46ba4e | Replaced use of `net::IPNetwork` by `net::IP::Network` in stout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/posix/ip.hpp",
"new_path": "3rdparty/stout/include/stout/posix/ip.hpp",
"diff": "namespace net {\n-inline Result<IPNetwork> IPNetwork::fromLinkDevice(\n+inline Result<IP::Network> IP::Network::fromLinkDevice(\nconst std::string& na... | C++ | Apache License 2.0 | apache/mesos | Replaced use of `net::IPNetwork` by `net::IP::Network` in stout.
Review: https://reviews.apache.org/r/59739/ |
46,145 | 05.07.2017 11:38:14 | 25,200 | 9b69c09310cdb6d7cfca1284f60c3f1b422c77cc | Replaced use of `net::IPNetwork` by `net::IP::Network` in Mesos.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"diff": "@@ -964,7 +964,7 @@ Future<Nothing> NetworkCniIsolatorProcess::_isolate(\nif (network.cniNetworkInfo.isSome() && n... | C++ | Apache License 2.0 | apache/mesos | Replaced use of `net::IPNetwork` by `net::IP::Network` in Mesos.
Review: https://reviews.apache.org/r/59739/ |
46,145 | 05.07.2017 12:29:14 | 25,200 | 5ea1549273e02975cac7241cac3707b01ecd5bd0 | Refactored net::IP and added net::IPv4 and net::IPv6.
Classes can now initialize the specialized classes whenever they need to
create explicit v4 and v6 addresses, rather than relying on the
`create/Try` semantics of net::IP.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/ip.hpp",
"new_path": "3rdparty/stout/include/stout/ip.hpp",
"diff": "#include <stout/abort.hpp>\n#include <stout/bits.hpp>\n+#include <stout/check.hpp>\n#include <stout/error.hpp>\n#include <stout/none.hpp>\n#include <stout/numify.... | C++ | Apache License 2.0 | apache/mesos | Refactored net::IP and added net::IPv4 and net::IPv6.
Classes can now initialize the specialized classes whenever they need to
create explicit v4 and v6 addresses, rather than relying on the
`create/Try` semantics of net::IP.
Review: https://reviews.apache.org/r/59721/ |
46,145 | 05.07.2017 12:31:23 | 25,200 | 58d70f773d83799619db9981292327e7aa70cacd | Refactored inet::Address to base of inet4::Address and inet6::Address.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/address.hpp",
"new_path": "3rdparty/libprocess/include/process/address.hpp",
"diff": "#include <ostream>\n+#include <boost/variant.hpp>\n+\n#include <boost/functional/hash.hpp>\n#include <stout/abort.hpp>\n#include <stout/ch... | C++ | Apache License 2.0 | apache/mesos | Refactored inet::Address to base of inet4::Address and inet6::Address.
Review: https://reviews.apache.org/r/60136/ |
46,145 | 05.07.2017 12:36:33 | 25,200 | 355861cd9209a4dc915fe47a8d29a0aff289611b | Mesos updates for new inet4::Address.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/utils.cpp",
"new_path": "src/tests/utils.cpp",
"diff": "namespace http = process::http;\nnamespace inet = process::network::inet;\n+namespace inet4 = process::network::inet4;\nusing std::set;\nusing std::string;\n@@ -79,7 +80,7 @@ Try<uint16_t> getFr... | C++ | Apache License 2.0 | apache/mesos | Mesos updates for new inet4::Address.
Review: https://reviews.apache.org/r/60148/ |
46,145 | 05.07.2017 12:38:07 | 25,200 | 2c1be9ced126fce008c626df63c110169e5b60fd | Added support for `net::IPv4` and `net::IPv6` in `FlagsBase`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/flags/parse.hpp",
"new_path": "3rdparty/stout/include/stout/flags/parse.hpp",
"diff": "@@ -80,7 +80,21 @@ inline Try<Bytes> parse(const std::string& value)\ntemplate <>\ninline Try<net::IP> parse(const std::string& value)\n{\n- ret... | C++ | Apache License 2.0 | apache/mesos | Added support for `net::IPv4` and `net::IPv6` in `FlagsBase`.
Review: https://reviews.apache.org/r/60149/ |
46,103 | 05.07.2017 15:25:42 | 25,200 | 80b0571a726599a250cd5e4f252194563cb6976b | Updated bundled ruby dependencies.
This commit updates to locked ruby dependencies in the 'Gemfile.lock'
to the lastest versions.
This e.g., updates eventmachine from 1.0.3 to 1.2.3. We need to
require a more recent version of eventmachine to be able to install
this bundle (which has native extension) on recent macOS.
... | [
{
"change_type": "MODIFY",
"old_path": "site/Gemfile.lock",
"new_path": "site/Gemfile.lock",
"diff": "GEM\nremote: https://rubygems.org/\nspecs:\n- activesupport (3.2.15)\n+ activesupport (3.2.22.5)\ni18n (~> 0.6, >= 0.6.4)\nmulti_json (~> 1.0)\n- addressable (2.3.5)\n- atomic (1.1.14)\n- chunky_png... | C++ | Apache License 2.0 | apache/mesos | Updated bundled ruby dependencies.
This commit updates to locked ruby dependencies in the 'Gemfile.lock'
to the lastest versions.
This e.g., updates eventmachine from 1.0.3 to 1.2.3. We need to
require a more recent version of eventmachine to be able to install
this bundle (which has native extension) on recent macOS... |
46,181 | 05.07.2017 15:33:02 | 25,200 | 08f6b428fa9d74c8dfdb1b28607704ac78f826f0 | Fixed flaky PersistentVolumeEndpointsTest.ReserveAndSlaveRemoval.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"new_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"diff": "@@ -1781,17 +1781,21 @@ TEST_F(PersistentVolumeEndpointsTest, ReserveAndSlaveRemoval)\nTry<Owned<cluster::Master>> master = StartMaster();... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky PersistentVolumeEndpointsTest.ReserveAndSlaveRemoval.
Review: https://reviews.apache.org/r/60485/ |
46,139 | 05.07.2017 15:54:00 | 25,200 | df27b49227d17f7d9c11f5c213ef3e89eda9cbaf | Improved the documentation of 'TASK_LOST'.
Updated the protobuf comments to clarify that 'TASK_LOST' is not
always a terminal state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -65,8 +65,8 @@ message SlaveID {\n* A framework-generated ID to distinguish a task. The ID must remain\n* unique while the task is active. A framework can reuse an ID _only_\n* if... | C++ | Apache License 2.0 | apache/mesos | Improved the documentation of 'TASK_LOST'.
Updated the protobuf comments to clarify that 'TASK_LOST' is not
always a terminal state.
Review: https://reviews.apache.org/r/60346/ |
46,068 | 06.07.2017 15:01:00 | -7,200 | 46f97991cc250f5b4ed1690abdc208e50d47f1da | Adding Alexander Rojas in the committer list. | [
{
"change_type": "MODIFY",
"old_path": "docs/committers.md",
"new_path": "docs/committers.md",
"diff": "@@ -215,6 +215,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>alexr</td>\n<td>alexr@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+1</td>\n+ <td>Alexander Roja... | C++ | Apache License 2.0 | apache/mesos | Adding Alexander Rojas in the committer list. |
46,145 | 06.07.2017 12:41:58 | 14,400 | 7c81d390328e1dbc53948ed47abc86beeb1939c5 | Fixed windows failure due to new `net::IP::Network` class.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/ip.hpp",
"new_path": "3rdparty/stout/include/stout/windows/ip.hpp",
"diff": "namespace net {\n-inline Result<IPNetwork> IPNetwork::fromLinkDevice(\n+inline Result<IP::Network> IP::Network::fromLinkDevice(\nconst std::string... | C++ | Apache License 2.0 | apache/mesos | Fixed windows failure due to new `net::IP::Network` class.
Review: https://reviews.apache.org/r/60674/ |
46,145 | 06.07.2017 12:42:10 | 14,400 | ee7e7c7934db22ae040956b7546f94c95e846672 | Fixed compilation failure in port-mapping network isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/routing/filter/icmp.hpp",
"new_path": "src/linux/routing/filter/icmp.hpp",
"diff": "@@ -45,7 +45,7 @@ struct Classifier\nreturn destinationIP == that.destinationIP;\n}\n- // TODO(evelinad): Replace net::IP with net::IPNetwork when we will\n+ // TODO(... | C++ | Apache License 2.0 | apache/mesos | Fixed compilation failure in port-mapping network isolator.
Review: https://reviews.apache.org/r/60675/ |
46,208 | 06.07.2017 10:54:37 | 25,200 | 1b75c37cff41f1d6955e1b202f73193b57ea636f | Setup new directory for importable python libs in src/python.
Part of this patch adds a new directory
(src/python/lib/mesos), which will be importable via 'import mesos'
from the cli.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/cli_new/bootstrap",
"new_path": "src/cli_new/bootstrap",
"diff": "@@ -65,6 +65,7 @@ source ${VIRTUALENV_DIRECTORY}/bin/activate\nSITE_PACKAGES=$(python -c \"from distutils.sysconfig import get_python_lib; print(get_python_lib())\")\necho ${SITE_PACKAGES}\n... | C++ | Apache License 2.0 | apache/mesos | Setup new directory for importable python libs in src/python.
Part of MESOS-7310, this patch adds a new directory
(src/python/lib/mesos), which will be importable via 'import mesos'
from the cli.
Review: https://reviews.apache.org/r/58394/ |
46,145 | 06.07.2017 17:01:12 | 25,200 | 60c472ecac393710c354c729995167b3c13afaaf | Added an IPv6 address storage to UPID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/pid.hpp",
"new_path": "3rdparty/libprocess/include/process/pid.hpp",
"diff": "@@ -41,7 +41,7 @@ struct UPID\nUPID() = default;\nUPID(const UPID& that)\n- : id(that.id), address(that.address) {}\n+ : id(that.id), address(that... | C++ | Apache License 2.0 | apache/mesos | Added an IPv6 address storage to UPID.
Review: https://reviews.apache.org/r/59131/ |
46,145 | 06.07.2017 17:01:23 | 25,200 | 8d9929a5fe51c866aabac04c764d4e9ceca98d06 | Added storage for IPv6 in a `libprocess` process.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "#include \"gate.hpp\"\n#include \"process_reference.hpp\"\n+namespace inet = process::network::inet;\n+namespace inet4 = process::network::inet4;\n+namespace inet... | C++ | Apache License 2.0 | apache/mesos | Added storage for IPv6 in a `libprocess` process.
Review: https://reviews.apache.org/r/59130/ |
46,145 | 06.07.2017 17:01:53 | 25,200 | 44494452ca87d4f42b2a554ac820560c6384882f | Added a test for docker container running on a v4/6 host network.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -77,6 +77,19 @@ using testing::Eq;\nusing testing::Invoke;\nusing testing::Return;\n+namespace process {\n+\n+// We need ... | C++ | Apache License 2.0 | apache/mesos | Added a test for docker container running on a v4/6 host network.
Review: https://reviews.apache.org/r/60551/ |
46,145 | 06.07.2017 18:05:54 | 25,200 | 9b9114741a192fdbc7b2ab2729b1a00aa200e9fc | Added IPv6 flags for Mesos agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/flags.cpp",
"new_path": "src/slave/flags.cpp",
"diff": "@@ -1077,6 +1077,25 @@ mesos::internal::slave::Flags::Flags()\n\"IP address to listen on. This cannot be used in conjunction\\n\"\n\"with `--ip_discovery_command`.\");\n+ add(&Flags::ip6,\n+ \"i... | C++ | Apache License 2.0 | apache/mesos | Added IPv6 flags for Mesos agent.
Review: https://reviews.apache.org/r/59127/ |
46,145 | 06.07.2017 18:11:47 | 25,200 | c90bea80486c089e933bef64aca341e4cfaaef25 | Added initialization logic in Mesos agent for IPv6 flags.
Operators can now set the IPv6 address for the agent using the `--ip6`
and `--ip6_discovery_command` flags. Currently, the only place the agent
will use the IPv6 address would be to advertise v6 addresses for
containers running on the host network.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/main.cpp",
"new_path": "src/slave/main.cpp",
"diff": "@@ -296,6 +296,11 @@ int main(int argc, char** argv)\n\"Only one of `--ip` or `--ip_discovery_command` should be specified\");\n}\n+ if (flags.ip6_discovery_command.isSome() && flags.ip6.isSome())... | C++ | Apache License 2.0 | apache/mesos | Added initialization logic in Mesos agent for IPv6 flags.
Operators can now set the IPv6 address for the agent using the `--ip6`
and `--ip6_discovery_command` flags. Currently, the only place the agent
will use the IPv6 address would be to advertise v6 addresses for
containers running on the host network.
Review: htt... |
46,145 | 07.07.2017 14:55:19 | 25,200 | c8bb72c663b59244e660918e38b208a4ae05fa4c | Modified the access specifier for `net::IP` and `net::IP::Network`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/ip.hpp",
"new_path": "3rdparty/stout/include/stout/ip.hpp",
"diff": "@@ -291,7 +291,7 @@ public:\nreturn !(*this == that);\n}\n- private:\n+ protected:\nNetwork(const IP& _address, const IP& _netmask)\n: address_(new IP(_address)),... | C++ | Apache License 2.0 | apache/mesos | Modified the access specifier for `net::IP` and `net::IP::Network`.
Review: https://reviews.apache.org/r/60713/ |
46,103 | 08.07.2017 20:50:26 | 25,200 | d345ebccf19387d75d67c99f8f6e72a301f55bc3 | Added to the upgrades guide and the CHANGELOG.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -19,6 +19,15 @@ Deprecations/Removals:\n* [MESOS-7477] - The agent `--allowed_capabilities` flag is\ndeprecated in favor of `--effective_capabilities`\n+Additional API Changes:\n+\n+ * [MESOS-7755] The interpret... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-7755 to the upgrades guide and the CHANGELOG.
Review: https://reviews.apache.org/r/60639/ |
46,189 | 10.07.2017 13:56:15 | -7,200 | 49ad21d3dd37ccf7e5d1bb33f538b2e6c5741f98 | Fixes broken link in docs.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/container-image.md",
"new_path": "docs/container-image.md",
"diff": "@@ -8,7 +8,7 @@ layout: documentation\n## Motivation\n-Mesos currently supports several [containerizers](containerizer.md),\n+Mesos currently supports several [containerizers](containeri... | C++ | Apache License 2.0 | apache/mesos | Fixes broken link in docs.
This closes #223 |
46,145 | 10.07.2017 09:19:34 | 25,200 | c08bb57b02895add07ce256768a33cf34676d361 | Made intialization for `__address__` consistent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -1159,7 +1159,7 @@ bool initialize(\n}\nif (libprocess_flags->ip.isSome()) {\n- __address__ = inet::Address(libprocess_flags->ip.get(), port);\n+ __address__.i... | C++ | Apache License 2.0 | apache/mesos | Made intialization for `__address__` consistent.
Review: https://reviews.apache.org/r/60723/ |
46,145 | 10.07.2017 10:56:07 | 25,200 | edd8453c74441099348535a42397a694bd3f78a2 | Fixed initialization of `LIBPROCESS_IP6` on agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/main.cpp",
"new_path": "src/slave/main.cpp",
"diff": "@@ -321,7 +321,7 @@ int main(int argc, char** argv)\nos::setenv(\"LIBPROCESS_IP6\", strings::trim(ip6Address.get()));\n} else if (flags.ip6.isSome()) {\n- os::setenv(\"LIBPROCESS_IP6\", flags.ip.g... | C++ | Apache License 2.0 | apache/mesos | Fixed initialization of `LIBPROCESS_IP6` on agent.
Review: https://reviews.apache.org/r/60724/ |
46,114 | 27.06.2017 13:34:39 | 25,200 | 0f6c21201bf4180fa049bc53f49cc67bdd66533d | Windows: Added a `wstring wide_stringify(string)` helper.
When dealing with Windows APIs, often `string` -> `wstring` conversions
are required. This addition makes the process cleaner.
Also added explicit errors messages, which are written to the buffer
instead of throwing an exception if an error occurs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/stringify.hpp",
"new_path": "3rdparty/stout/include/stout/stringify.hpp",
"diff": "@@ -57,9 +57,25 @@ inline std::string stringify(const std::string& str)\ninline std::string stringify(const std::wstring& str)\n{\n// Convert UTF-16... | C++ | Apache License 2.0 | apache/mesos | Windows: Added a `wstring wide_stringify(string)` helper.
When dealing with Windows APIs, often `string` -> `wstring` conversions
are required. This addition makes the process cleaner.
Also added explicit errors messages, which are written to the buffer
instead of throwing an exception if an error occurs.
Review: ht... |
46,114 | 27.06.2017 13:45:37 | 25,200 | a4bfabfdc89a6d597127d3f4e17805911912c535 | Windows: Switched from `gethostname` to `GetComputerName`.
The former can inordinately slow on Windows (about 5 seconds),
whereas the latter is guaranteed to return instantly.
Because `os::internal::nodename()` and `net::hostname()` now
implement the exact same feature, we just reuse the first in
the second.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/net.hpp",
"new_path": "3rdparty/stout/include/stout/net.hpp",
"diff": "@@ -206,30 +206,6 @@ inline struct addrinfo createAddrInfo(int socktype, int family, int flags)\n}\n-inline Try<std::string> hostname()\n-{\n- char host[512];\n... | C++ | Apache License 2.0 | apache/mesos | Windows: Switched from `gethostname` to `GetComputerName`.
The former can inordinately slow on Windows (about 5 seconds),
whereas the latter is guaranteed to return instantly.
Because `os::internal::nodename()` and `net::hostname()` now
implement the exact same feature, we just reuse the first in
the second.
Review:... |
46,114 | 27.06.2017 13:55:21 | 25,200 | 4892a8f1e68e86498f87139e1d86f9d349030b88 | Windows: Added `os::LONGPATH_PREFIX` constant.
The string `\\?\` is the prefix used by Windows to indicate the path may
be longer than `MAX_PATH`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/constants.hpp",
"new_path": "3rdparty/stout/include/stout/os/constants.hpp",
"diff": "@@ -32,6 +32,15 @@ constexpr char DEV_NULL[] = \"/dev/null\";\nconstexpr char DEV_NULL[] = \"NUL\";\n#endif // __WINDOWS__\n+#ifdef __WINDOWS_... | C++ | Apache License 2.0 | apache/mesos | Windows: Added `os::LONGPATH_PREFIX` constant.
The string `\\?\` is the prefix used by Windows to indicate the path may
be longer than `MAX_PATH`.
Review: https://reviews.apache.org/r/60294/ |
46,114 | 27.06.2017 13:59:18 | 25,200 | 4bfc99ca747e62d669326613b47051bbb397c350 | Windows: Added `internal::windows::longpath()` helper.
This function provides a concise mapping from any `std::string
path` to a `std::wstring path` with the long path prefix, used
for eliminating the `PATH_MAX` restriction of Windows filesystem APIs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -41,6 +41,7 @@ nobase_include_HEADERS = \\\nstout/hashset.hpp \\\nstout/internal/windows/dirent.hpp \\\nstout/internal/windows/grp.hpp \\\n+ stout/internal/windo... | C++ | Apache License 2.0 | apache/mesos | Windows: Added `internal::windows::longpath()` helper.
This function provides a concise mapping from any UTF-8 `std::string
path` to a UTF-16 `std::wstring path` with the long path prefix, used
for eliminating the `PATH_MAX` restriction of Windows filesystem APIs.
Review: https://reviews.apache.org/r/60295/ |
46,114 | 27.06.2017 16:29:49 | 25,200 | cabb64764e87d839bbfc86f053f196678cba669c | Windows: Added long path test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp",
"new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp",
"diff": "#include <stout/try.hpp>\n#include <stout/uuid.hpp>\n+#include <stout/os/access.hpp>\n#include <stout/os/find.hpp>\n#include <stout/os/getcwd.hp... | C++ | Apache License 2.0 | apache/mesos | Windows: Added long path test.
Review: https://reviews.apache.org/r/60296/ |
46,114 | 27.06.2017 17:21:58 | 25,200 | 4c939b6dd5c53e3df3454781761d34983e424370 | Windows: Added `get_file_attributes()` helper.
This wraps `::GetFileAttributesW()` into a `Try<DWORD>`, with error
handling, for easy reuse.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -39,6 +39,7 @@ nobase_include_HEADERS = \\\nstout/gzip.hpp \\\nstout/hashmap.hpp \\\nstout/hashset.hpp \\\n+ stout/internal/windows/attributes.hpp \\\nstout/inte... | C++ | Apache License 2.0 | apache/mesos | Windows: Added `get_file_attributes()` helper.
This wraps `::GetFileAttributesW()` into a `Try<DWORD>`, with error
handling, for easy reuse.
Review: https://reviews.apache.org/r/60297/ |
46,114 | 27.06.2017 17:28:33 | 25,200 | dd87bd416e9529380dc3546d780c6bd8477dc846 | Windows: Updated `os::realpath()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -132,6 +132,7 @@ nobase_include_HEADERS = \\\nstout/os/posix/pagesize.hpp \\\nstout/os/posix/pipe.hpp \\\nstout/os/posix/read.hpp \\\n+ stout/os/posix/realpath.h... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::realpath()` to support long paths.
Review: https://reviews.apache.org/r/60298/ |
46,114 | 05.07.2017 10:52:48 | 25,200 | 4f6719f6c422d002aa8edb61fa5489f64290a799 | Windows: Updated `os::exists()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/exists.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/exists.hpp",
"diff": "#include <string>\n+#include <stout/error.hpp>\n#include <stout/windows.hpp>\n-#include <stout/os/realpath.hpp>\n+#include <stout/in... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::exists()` to support long paths.
Review: https://reviews.apache.org/r/60299/ |
46,114 | 05.07.2017 12:12:35 | 25,200 | 6f027334f8e0539c90385bfe3ccd4884fd4a811b | Windows: Updated `isdir()` and `isfile()` to support long paths.
Now uses Windows file attributes instead of `::_stat()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/stat.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/stat.hpp",
"diff": "#include <stout/unreachable.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/attributes.hpp>\n+#include <stout/inte... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `isdir()` and `isfile()` to support long paths.
Now uses Windows file attributes instead of `::_stat()`.
Review: https://reviews.apache.org/r/60300/ |
46,114 | 05.07.2017 15:22:02 | 25,200 | 0cbc03342b48f3807ef5e9f70dfc88c0fc14a541 | Windows: Updated `os::getcwd()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -125,6 +125,7 @@ nobase_include_HEADERS = \\\nstout/os/posix/fork.hpp \\\nstout/os/posix/fsync.hpp \\\nstout/os/posix/ftruncate.hpp \\\n+ stout/os/posix/getcwd.h... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::getcwd()` to support long paths.
Review: https://reviews.apache.org/r/60304/ |
46,114 | 05.07.2017 16:53:24 | 25,200 | 28fd210467b64df8797343ae9d2b397c5c1dc0a2 | Windows: Refactored `reparse_point_attribute_set()`.
It now takes a `std::wstring` and uses `get_file_attributes()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"new_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"diff": "#include <stout/os/mkdir.hpp>\n#include <stout/os/realpath.hpp>\n+#include <stout/internal/windows/attribute... | C++ | Apache License 2.0 | apache/mesos | Windows: Refactored `reparse_point_attribute_set()`.
It now takes a `std::wstring` and uses `get_file_attributes()`.
Review: https://reviews.apache.org/r/60305/ |
46,114 | 05.07.2017 17:35:48 | 25,200 | d107bb7a0c00f7f747a04c490a8fe114bb371505 | Windows: Updated `CreateSymbolicLink()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"new_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"diff": "@@ -330,9 +330,11 @@ inline Try<Nothing> create_symbolic_link(\n// [1] https://msdn.microsoft.com/en-us/libr... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `CreateSymbolicLink()` to support long paths.
Review: https://reviews.apache.org/r/60307/ |
46,114 | 07.07.2017 12:00:53 | 25,200 | 841f879375b32989193ed7ac86ae3341e5a57468 | Refactored `enum FollowSymlink` to an `enum class FollowSymlink`.
Using `enum class` is preferred as it provides stronger type-safety.
The `enum class FollowSymlink` definition is moved into
the POSIX `stat.hpp` and Windows `reparsepoint.hpp` headers
to avoid a circular dependency.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"new_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"diff": "#include <stout/internal/windows/attributes.hpp>\n#include <stout/internal/windows/longpath.hpp>\n+\n+namesp... | C++ | Apache License 2.0 | apache/mesos | Refactored `enum FollowSymlink` to an `enum class FollowSymlink`.
Using `enum class` is preferred as it provides stronger type-safety.
The `enum class FollowSymlink` definition is moved into
the POSIX `stat.hpp` and Windows `reparsepoint.hpp` headers
to avoid a circular dependency.
Review: https://reviews.apache.org... |
46,114 | 07.07.2017 12:41:50 | 25,200 | 7fdd28ddddc3d3bb2675318066d74b28f4c4306b | Updated fetcher to use `enum class FollowSymlink`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/fetcher.cpp",
"new_path": "src/slave/containerizer/fetcher.cpp",
"diff": "@@ -294,7 +294,8 @@ static Try<Bytes> fetchSize(\nreturn Error(path.error());\n}\nif (path.isSome()) {\n- Try<Bytes> size = os::stat::size(path.get(), os::stat::F... | C++ | Apache License 2.0 | apache/mesos | Updated fetcher to use `enum class FollowSymlink`.
Review: https://reviews.apache.org/r/60310/ |
46,114 | 07.07.2017 14:06:41 | 25,200 | 06162f6a29f7d056cc6343151c5eb3b8f7128e38 | Windows: Replaced use of `_stat()` in `reparsepoint.hpp`.
This reworks some code which did not support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"new_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"diff": "@@ -179,14 +179,15 @@ inline Try<SymbolicLink> build_symbolic_link(const REPARSE_DATA_BUFFER& data)\n// refe... | C++ | Apache License 2.0 | apache/mesos | Windows: Replaced use of `_stat()` in `reparsepoint.hpp`.
This reworks some code which did not support long paths.
Review: https://reviews.apache.org/r/60311/ |
46,114 | 07.07.2017 14:45:48 | 25,200 | f2db53f28d36a368e200f19436ac346465553f2c | Windows: Updated `os::rm()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/rm.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/rm.hpp",
"diff": "#include <stout/os/stat.hpp>\n+#include <stout/internal/windows/longpath.hpp>\n+\nnamespace os {\n@@ -43,8 +45,10 @@ inline Try<Nothing> rm(... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::rm()` to support long paths.
Review: https://reviews.apache.org/r/60313/ |
46,114 | 07.07.2017 16:01:41 | 25,200 | e1abdf9054a9d5ff3f59eb2d0f4c8378ffe5eb85 | Windows: Updated `os::rmdir()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/rmdir.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/rmdir.hpp",
"diff": "#include <stout/windows/error.hpp>\n+#include <stout/internal/windows/longpath.hpp>\n+#include <stout/internal/windows/reparsepoint.hp... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::rmdir()` to support long paths.
Review: https://reviews.apache.org/r/60314/ |
46,114 | 08.07.2017 19:22:07 | 25,200 | 7367901d53db0fe6430db93b0a8d3c90598e3228 | Windows: Updated `os::open()` to support long paths.
The CRT library can support long paths on Windows, if the Unicode
versions of the APIs are used, and the long path prefix is prepended to
the path.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/open.hpp",
"new_path": "3rdparty/stout/include/stout/os/open.hpp",
"diff": "#include <stout/os/close.hpp>\n#include <stout/os/int_fd.hpp>\n+#ifdef __WINDOWS__\n+#include <stout/windows.hpp>\n+#include <stout/internal/windows/lon... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::open()` to support long paths.
The CRT library can support long paths on Windows, if the Unicode
versions of the APIs are used, and the long path prefix is prepended to
the path.
Review: https://reviews.apache.org/r/60315/ |
46,114 | 08.07.2017 21:53:27 | 25,200 | d91e4bed09abdeac31bc9d901c159167760f716a | Windows: Updated `os::chdir()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -115,6 +115,7 @@ nobase_include_HEADERS = \\\nstout/os/write.hpp \\\nstout/os/xattr.hpp \\\nstout/os/posix/bootid.hpp \\\n+ stout/os/posix/chdir.hpp \\\nstout/os... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::chdir()` to support long paths.
Review: https://reviews.apache.org/r/60316/ |
46,114 | 08.07.2017 22:17:34 | 25,200 | 6f30623ab84de61ea972a5979a9858d8465c3643 | Windows: Updated `os::access()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/access.hpp",
"new_path": "3rdparty/stout/include/stout/os/access.hpp",
"diff": "#include <stout/try.hpp>\n#ifdef __WINDOWS__\n-#include <stout/windows.hpp> // To be certain we're using the right `access`.\n+#include <stout/windo... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::access()` to support long paths.
Review: https://reviews.apache.org/r/60317/ |
46,114 | 10.07.2017 07:33:35 | 25,200 | ffe2f2dc04f7835525bd52aafff911fb3839b133 | Windows: Updated `os::temp()` to use syscalls.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/temp.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/temp.hpp",
"diff": "#define __STOUT_OS_WINDOWS_TEMP_HPP__\n#include <string>\n+#include <vector>\n+#include <stout/stringify.hpp>\n#include <stout/windows.h... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::temp()` to use UTF-16 syscalls.
Review: https://reviews.apache.org/r/60318/ |
46,114 | 10.07.2017 07:36:43 | 25,200 | 41debf9714829749d812af63ee2c64cbe608a3e7 | Windows: Updated `os::mktemp()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -132,6 +132,7 @@ nobase_include_HEADERS = \\\nstout/os/posix/killtree.hpp \\\nstout/os/posix/mkdir.hpp \\\nstout/os/posix/mkdtemp.hpp \\\n+ stout/os/posix/mktemp... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::mktemp()` to support long paths.
Review: https://reviews.apache.org/r/60319/ |
46,114 | 10.07.2017 09:11:27 | 25,200 | 04054e08cd42cc7c18a93d9f9b405a0f1d162cca | Windows: Cleaned up `os::var()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/os.hpp",
"new_path": "3rdparty/stout/include/stout/windows/os.hpp",
"diff": "#include <sys/utime.h>\n-#include <codecvt>\n#include <list>\n#include <map>\n#include <memory>\n#include <stout/nothing.hpp>\n#include <stout/opt... | C++ | Apache License 2.0 | apache/mesos | Windows: Cleaned up `os::var()`.
Review: https://reviews.apache.org/r/60320/ |
46,114 | 10.07.2017 10:42:38 | 25,200 | d472f8af9166743d1ea27219553d93fc782177dd | Windows: Updated `fs::list()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/fs.hpp",
"new_path": "3rdparty/stout/include/stout/windows/fs.hpp",
"diff": "#include <stout/error.hpp>\n#include <stout/nothing.hpp>\n#include <stout/try.hpp>\n+#include <stout/windows.hpp>\n#include <stout/internal/window... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `fs::list()` to support long paths.
Review: https://reviews.apache.org/r/60321/ |
46,114 | 10.07.2017 10:51:53 | 25,200 | c412d3f3ba253ad538c92ff5eef505ad19d86989 | Windows: Updated `os::rename()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/rename.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/rename.hpp",
"diff": "#include <stout/try.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/longpath.hpp>\n+\nnamespace os {\n@@ -36,9... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `os::rename()` to support long paths.
Review: https://reviews.apache.org/r/60322/ |
46,114 | 10.07.2017 10:55:23 | 25,200 | 6d782b1b09b7baebbe23a6206bc2943576cb2983 | Windows: Updated `process::createIoPath()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/subprocess_windows.cpp",
"new_path": "3rdparty/libprocess/src/subprocess_windows.cpp",
"diff": "#include <stout/try.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/longpath.hpp>\n+\nusing std::array;\nusing std::st... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `process::createIoPath()` to support long paths.
Review: https://reviews.apache.org/r/60323/ |
46,114 | 10.07.2017 10:56:53 | 25,200 | d7eee2dff8cb83aa231fe4b564f075ab12fbcc71 | Windows: Implemented `WSTRINGIFY()` to print exit codes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/status_utils.hpp",
"new_path": "src/common/status_utils.hpp",
"diff": "@@ -31,15 +31,13 @@ inline bool WSUCCEEDED(int status)\ninline std::string WSTRINGIFY(int status)\n{\n+ std::string message;\n#ifdef __WINDOWS__\n- // On Windows the exit codes a... | C++ | Apache License 2.0 | apache/mesos | Windows: Implemented `WSTRINGIFY()` to print exit codes.
Review: https://reviews.apache.org/r/60324/ |
46,114 | 10.07.2017 11:27:53 | 25,200 | eac6cf4ad54d975f69efb08d98ca39b81779cb1a | Added `vector<string>` explicit cast to `Argv`.
This is needed for implementations that expect a `vector<string>`
instead of a `char **`.
This includes a slight refactoring because storing a
`vector<string>` is very similar to the current `Argv`
implementation, which uses a `vector<char*>` local variable.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/gtest.hpp",
"new_path": "3rdparty/stout/include/stout/gtest.hpp",
"diff": "@@ -226,7 +226,8 @@ template <typename T1, typename T2>\n#ifndef __WINDOWS__\n#define SLEEP_COMMAND(x) \"sleep \" #x\n#else\n-#define SLEEP_COMMAND(x) \"pow... | C++ | Apache License 2.0 | apache/mesos | Added `vector<string>` explicit cast to `Argv`.
This is needed for implementations that expect a `vector<string>`
instead of a `char **`.
This includes a slight refactoring because storing a
`vector<string>` is very similar to the current `Argv`
implementation, which uses a `vector<char*>` local variable.
Review: ht... |
46,114 | 10.07.2017 14:26:22 | 25,200 | 92ab3286e6332a96019d8058acf946b768ddbde9 | Added `map<string, string>` explict cast to `Envp`.
This is needed for implementations that expect a `map<string, string>`
over a `char **`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/raw/environment.hpp",
"new_path": "3rdparty/stout/include/stout/os/raw/environment.hpp",
"diff": "@@ -121,10 +121,12 @@ class Envp\npublic:\nEnvp(Envp&& that)\n: envp(that.envp),\n- size(that.size)\n+ size(that.size),\n+ environ... | C++ | Apache License 2.0 | apache/mesos | Added `map<string, string>` explict cast to `Envp`.
This is needed for implementations that expect a `map<string, string>`
over a `char **`.
Review: https://reviews.apache.org/r/60327/ |
46,114 | 10.07.2017 14:30:16 | 25,200 | 4b28a28c3a56ea96873df7414216a47702a81b61 | Windows: Replaced `CreateProcess()` with `create_process()` helper.
This uses the new `ProcessData create_process()` abstraction added to
stout, reducing the use of the Windows API in libprocess. The
`ProcessData` struct eliminates the need to manually call
`CloseHandle()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/ProcessConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/ProcessConfigure.cmake",
"diff": "@@ -166,13 +166,6 @@ set(PROCESS_LIBS\n${HTTP_PARSER_LFLAG}\n)\n-if (WIN32)\n- set(PROCESS_LIBS\n- ${PROCESS_LIBS}\n- userenv\n- )\n-end... | C++ | Apache License 2.0 | apache/mesos | Windows: Replaced `CreateProcess()` with `create_process()` helper.
This uses the new `ProcessData create_process()` abstraction added to
stout, reducing the use of the Windows API in libprocess. The
`ProcessData` struct eliminates the need to manually call
`CloseHandle()`.
Review: https://reviews.apache.org/r/60329/ |
46,114 | 10.07.2017 14:37:35 | 25,200 | 3ec06c6816019b9681103178745b5b106efe8cce | Windows: Updated use of `getSystemEnvironment` in containerizer.
This function was moved to stout and renamed to
`get_system_env`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/docker.cpp",
"new_path": "src/slave/containerizer/docker.cpp",
"diff": "@@ -1427,7 +1427,7 @@ Future<pid_t> DockerContainerizerProcess::launchExecutorProcess(\n// applications to not work, but upon overriding system defaults, it becomes... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated use of `getSystemEnvironment` in containerizer.
This function was moved to stout and renamed to
`get_system_env`.
Review: https://reviews.apache.org/r/60330/ |
46,114 | 10.07.2017 14:39:46 | 25,200 | 129d431c0635d5f2412d13bf38e929dfbdd000a5 | Windows: Disable code using `os::shell()`.
The disabled tests were already disabled, but at runtime instead of
compile time. Deleting `os::shell()` forces us to temporarily disable
the IP discovery command flag until we can move the implementation of
`subprocess()` into stout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/main.cpp",
"new_path": "src/slave/main.cpp",
"diff": "@@ -302,6 +302,7 @@ int main(int argc, char** argv)\n}\nif (flags.ip_discovery_command.isSome()) {\n+#ifndef __WINDOWS__\nTry<string> ipAddress = os::shell(flags.ip_discovery_command.get());\nif (... | C++ | Apache License 2.0 | apache/mesos | Windows: Disable code using `os::shell()`.
The disabled tests were already disabled, but at runtime instead of
compile time. Deleting `os::shell()` forces us to temporarily disable
the IP discovery command flag until we can move the implementation of
`subprocess()` into stout.
Review: https://reviews.apache.org/r/603... |
46,114 | 10.07.2017 14:42:09 | 25,200 | 3ebe54d80497d98802d7d958f274899a15c5ec77 | Windows: Updated `fs::usage()` to support long paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/fs.hpp",
"new_path": "3rdparty/stout/include/stout/windows/fs.hpp",
"diff": "#include <stout/try.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/longpath.hpp>\n#include <stout/internal/windows/symlink.... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated `fs::usage()` to support long paths.
Review: https://reviews.apache.org/r/60332/ |
46,114 | 10.07.2017 14:45:59 | 25,200 | bb52f6c2cf1a13ad64645595f9cdb12aa305a7f0 | Windows: Implemented `os::ls()` without `dirent.hpp`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -40,7 +40,6 @@ nobase_include_HEADERS = \\\nstout/hashmap.hpp \\\nstout/hashset.hpp \\\nstout/internal/windows/attributes.hpp \\\n- stout/internal/windows/dirent... | C++ | Apache License 2.0 | apache/mesos | Windows: Implemented `os::ls()` without `dirent.hpp`.
Review: https://reviews.apache.org/r/60333/ |
46,114 | 10.07.2017 14:52:03 | 25,200 | 52adff160f8c28e4aa1133561bc690f58e0d850c | Windows: Made `WindowsError` use Unicode.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/error.hpp",
"new_path": "3rdparty/stout/include/stout/windows/error.hpp",
"diff": "#include <stout/error.hpp>\n#include <stout/windows.hpp>\n+#include <stout/stringify.hpp>\n// A useful type that can be used to represent a ... | C++ | Apache License 2.0 | apache/mesos | Windows: Made `WindowsError` use Unicode.
Review: https://reviews.apache.org/r/60334/ |
46,114 | 10.07.2017 14:56:52 | 25,200 | 498c530269f8574937cd33658c92102e7a9b05af | Windows: Made `net.hpp` use Unicode.
This commit moves most of the shared `os::net` code into similar but
separate POSIX and Windows implementations, where the latter use the
explicit wide/Unicode Windows APIs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/net.hpp",
"new_path": "3rdparty/stout/include/stout/net.hpp",
"diff": "@@ -193,112 +193,6 @@ inline Try<int> download(const std::string& url, const std::string& path)\nreturn Try<int>::some(code);\n}\n-\n-inline struct addrinfo cre... | C++ | Apache License 2.0 | apache/mesos | Windows: Made `net.hpp` use Unicode.
This commit moves most of the shared `os::net` code into similar but
separate POSIX and Windows implementations, where the latter use the
explicit wide/Unicode Windows APIs.
Review: https://reviews.apache.org/r/60335/ |
46,114 | 10.07.2017 15:14:08 | 25,200 | 0f2bfe7623c1df62b6ac7fc9cfe7733b021b001f | Windows: Made environment abstractions use Unicode.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/environment.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/environment.hpp",
"diff": "#include <map>\n#include <string>\n+#include <stout/stringify.hpp>\nnamespace os {\n@@ -28,21 +29,22 @@ inline std::map<st... | C++ | Apache License 2.0 | apache/mesos | Windows: Made environment abstractions use Unicode.
Review: https://reviews.apache.org/r/60336/ |
46,114 | 10.07.2017 15:22:42 | 25,200 | 293c7e1b4073e65085750ee695d7d16e10256516 | Windows: Made `os::user()` use Unicode.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/su.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/su.hpp",
"diff": "@@ -81,18 +81,19 @@ inline Result<std::string> user(Option<uid_t> uid = None())\nEXTENDED_NAME_FORMAT username_format = NameSamCompatible;\n... | C++ | Apache License 2.0 | apache/mesos | Windows: Made `os::user()` use Unicode.
Review: https://reviews.apache.org/r/60337/ |
46,114 | 10.07.2017 15:24:44 | 25,200 | 54b4f0e32129c5f24c4cea426145fd5b02972339 | Windows: Made `dynamiclibrary.hpp` use Unicode.
This also qualifies the namespace of a few library calls.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/dynamiclibrary.hpp",
"new_path": "3rdparty/stout/include/stout/windows/dynamiclibrary.hpp",
"diff": "#include <stout/nothing.hpp>\n#include <stout/option.hpp>\n+#include <stout/stringify.hpp>\n#include <stout/try.hpp>\n#inc... | C++ | Apache License 2.0 | apache/mesos | Windows: Made `dynamiclibrary.hpp` use Unicode.
This also qualifies the namespace of a few library calls.
Review: https://reviews.apache.org/r/60338/ |
46,114 | 10.07.2017 15:30:09 | 25,200 | 5df5750d473d61f1feb35b06e00e7211c74ef034 | Windows: Deleted `os::hstrerror()` as it is unused.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/os.hpp",
"new_path": "3rdparty/stout/include/stout/windows/os.hpp",
"diff": "@@ -356,42 +356,7 @@ inline Result<pid_t> waitpid(long pid, int* status, int options)\n}\n-inline std::string hstrerror(int err)\n-{\n- char buffe... | C++ | Apache License 2.0 | apache/mesos | Windows: Deleted `os::hstrerror()` as it is unused.
Review: https://reviews.apache.org/r/60339/ |
46,114 | 10.07.2017 15:36:08 | 25,200 | dc81df5c2e53acecb3dcc215f8d9499e8095a327 | Windows: Made job object APIs use Unicode.
Changed the Job Object name to be a `wstring` for easier use.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/killtree.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/killtree.hpp",
"diff": "@@ -34,7 +34,7 @@ inline Try<std::list<ProcessTree>> killtree(\nbool groups = false,\nbool sessions = false)\n{\n- Try<std::stri... | C++ | Apache License 2.0 | apache/mesos | Windows: Made job object APIs use Unicode.
Changed the Job Object name to be a `wstring` for easier use.
Review: https://reviews.apache.org/r/60340/ |
46,114 | 10.07.2017 15:37:49 | 25,200 | fd40752f2a3fb860e0964491c6d7f8330825e68a | Windows: Updated job object name types to `wstring`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/windows/jobobject.hpp",
"new_path": "3rdparty/libprocess/include/process/windows/jobobject.hpp",
"diff": "@@ -41,7 +41,7 @@ public:\nvoid manage(\nconst pid_t pid,\n- const std::string& name,\n+ const std::wstring& name,\nco... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated job object name types to `wstring`.
Review: https://reviews.apache.org/r/60341/ |
46,114 | 10.07.2017 15:39:06 | 25,200 | 76c58f458d4d49551f19a431bea3b4fc75b914e0 | Windows: Made version info use Unicode.
The `GetVersionEx` family of functions have been marked deprecated; not
just the non-Unicode version as the previous comment implied. Thus we do
not hide the valid deprecation warning, and should replace the use of
this API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/os.hpp",
"new_path": "3rdparty/stout/include/stout/windows/os.hpp",
"diff": "namespace os {\nnamespace internal {\n-inline Try<OSVERSIONINFOEX> os_version()\n+inline Try<OSVERSIONINFOEXW> os_version()\n{\n- OSVERSIONINFOEX ... | C++ | Apache License 2.0 | apache/mesos | Windows: Made version info use Unicode.
The `GetVersionEx` family of functions have been marked deprecated; not
just the non-Unicode version as the previous comment implied. Thus we do
not hide the valid deprecation warning, and should replace the use of
this API.
Review: https://reviews.apache.org/r/60342/ |
46,114 | 10.07.2017 15:46:17 | 25,200 | fcbb67c77cbc2dd2e887c8f4a778c64f7c94fcd3 | Windows: Made `process_entry()` use Unicode.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows/os.hpp",
"new_path": "3rdparty/stout/include/stout/windows/os.hpp",
"diff": "@@ -474,7 +474,7 @@ inline tm* gmtime_r(const time_t* timep, tm* result)\n}\n-inline Result<PROCESSENTRY32> process_entry(pid_t pid)\n+inline Resu... | C++ | Apache License 2.0 | apache/mesos | Windows: Made `process_entry()` use Unicode.
Review: https://reviews.apache.org/r/60343/ |
46,114 | 10.07.2017 15:51:25 | 25,200 | 33734527c0acd7c577292dfc785f5a48e058acb2 | Windows: Required building with `_UNICODE` and `UNICODE`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/windows.hpp",
"new_path": "3rdparty/stout/include/stout/windows.hpp",
"diff": "#include <glog/logging.h>\n-#ifdef _UNICODE\n-// Much of the core Windows API is available both in `string` and `wstring`\n+#if !defined(_UNICODE) || !d... | C++ | Apache License 2.0 | apache/mesos | Windows: Required building with `_UNICODE` and `UNICODE`.
Review: https://reviews.apache.org/r/60344/ |
46,114 | 10.07.2017 15:54:21 | 25,200 | 4b9daa2954006cdeadc6e1a436f820f714351886 | Windows: Set Unicode compilation flags.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -248,9 +248,9 @@ if (WIN32)\n# NOTE: We APPEND ${CRT} rather than REPLACE so it gets picked up by\n# dependencies.\nforeach (lang C CXX)\n- # Enable multi-threaded c... | C++ | Apache License 2.0 | apache/mesos | Windows: Set Unicode compilation flags.
Review: https://reviews.apache.org/r/60345/ |
46,053 | 11.07.2017 10:37:54 | 25,200 | 4e41d847eb3df75bf28a4e169eeaedf419222229 | Handled EINTR for waitpid in ChildHook::SUPERVISOR from subprocess.
If `waitpid` fails due to `EINTR`, we need to retry.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/subprocess.cpp",
"new_path": "3rdparty/libprocess/src/subprocess.cpp",
"diff": "@@ -169,9 +169,11 @@ Subprocess::ChildHook Subprocess::ChildHook::SUPERVISOR()\n// Block until the child process finishes.\nint status = 0;\n- if (waitpid(p... | C++ | Apache License 2.0 | apache/mesos | Handled EINTR for waitpid in ChildHook::SUPERVISOR from subprocess.
If `waitpid` fails due to `EINTR`, we need to retry.
Review: https://reviews.apache.org/r/60704/ |
46,181 | 11.07.2017 10:43:18 | 25,200 | 1789278dc3a930a3ee4aa4e6f38e85688d410032 | Added protobuf definitions for fault domains.
This introduces a first-class notion of a "domain", which is a set of
hosts that have similar characteristics. Mesos will initially only
support "fault domains", which identify groups of hosts with similar
failure characteristics.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -763,6 +763,60 @@ message ExecutorInfo {\n}\n+/**\n+ * Describes a domain. A domain is a collection of hosts that have\n+ * similar characteristics. Mesos currently only supports ... | C++ | Apache License 2.0 | apache/mesos | Added protobuf definitions for fault domains.
This introduces a first-class notion of a "domain", which is a set of
hosts that have similar characteristics. Mesos will initially only
support "fault domains", which identify groups of hosts with similar
failure characteristics.
Review: https://reviews.apache.org/r/5975... |
46,181 | 11.07.2017 10:43:19 | 25,200 | 4189a4504bf0ccc2b47e0edcf0a43fde94a7cbca | Added REGION_AWARE framework capability.
Added REGION_AWARE framework capability.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -369,6 +369,18 @@ message FrameworkInfo {\n// reservations if it uses the `Resource.reservations` field, and\n// `Resource.reservations_size() > 1`.\nRESERVATION_REFINEMENT = 7; /... | C++ | Apache License 2.0 | apache/mesos | Added REGION_AWARE framework capability.
Added REGION_AWARE framework capability.
Review: https://reviews.apache.org/r/59760/ |
46,181 | 11.07.2017 10:43:20 | 25,200 | 5b99d39472b5b5d974b7f40c6ae47753ac86d89c | Added master and agent flags to specify domain.
Added master and agent flags to specify domain.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -110,6 +110,36 @@ Example:\n}</code></pre>\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --domain=VALUE\n+ </td>\n+ <td>\n+Domain that the master or agent belongs to. Mesos currently only supports\n+fa... | C++ | Apache License 2.0 | apache/mesos | Added master and agent flags to specify domain.
Added master and agent flags to specify domain.
Review: https://reviews.apache.org/r/59761/ |
46,181 | 11.07.2017 10:43:43 | 25,200 | 25111bb03cd663a51e30b74feb2493203ea31d45 | Changed allocator to offer remote resources to region-aware frameworks.
Changed allocator to offer remote resources to region-aware frameworks.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "@@ -94,7 +94,8 @@ public:\ninverseOfferCallback,\nconst Option<std::set<std::string>>&\nfairnessExcludeResourceNames = None(),\n- bool filterGpuResources = tr... | C++ | Apache License 2.0 | apache/mesos | Changed allocator to offer remote resources to region-aware frameworks.
Changed allocator to offer remote resources to region-aware frameworks.
Review: https://reviews.apache.org/r/59766/ |
46,181 | 11.07.2017 10:43:54 | 25,200 | 33093c893773f8c9d293afe38e9909f9a2868d32 | Added agent domain to Offer message.
This is a convenience mechanism to allow frameworks to determine the
domain of an agent when they receive a resource offer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1755,6 +1755,9 @@ message Offer {\n// URL for reaching the slave running on the host.\noptional URL url = 8;\n+ // The domain of the slave.\n+ optional DomainInfo domain = 11;\n+... | C++ | Apache License 2.0 | apache/mesos | Added agent domain to Offer message.
This is a convenience mechanism to allow frameworks to determine the
domain of an agent when they receive a resource offer.
Review: https://reviews.apache.org/r/59921/ |
46,129 | 11.07.2017 14:14:31 | 25,200 | c3632f67df4435f4dc3d9cb2d4d50db63aa8bcf8 | Added unit tests for persistent volume and host volume conflict issue.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp",
"new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp",
"diff": "@@ -534,6 +534,82 @@ TEST_F(LinuxFilesystemIsolatorTest, ROOT_PersistentVolumeWithRootFilesystem)\n}\n+// This tes... | C++ | Apache License 2.0 | apache/mesos | Added unit tests for persistent volume and host volume conflict issue.
Review: https://reviews.apache.org/r/60750/ |
46,157 | 11.07.2017 17:14:45 | 25,200 | 4fe22dd337680b49043d020602afc7d518a97245 | Renamed 'resources' to 'allocatedResources' in master::Role.
This method collects resources allocated to the particular role.
It's more precise to rename it as such.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -3408,7 +3408,7 @@ JSON::Object model(\n} else {\nRole* role = _role.get();\n- object.values[\"resources\"] = model(role->resources());\n+ object.values[\"resources\"] = model(role->allocated... | C++ | Apache License 2.0 | apache/mesos | Renamed 'resources' to 'allocatedResources' in master::Role.
This method collects resources allocated to the particular role.
It's more precise to rename it as such.
Review: https://reviews.apache.org/r/60423/ |
46,055 | 12.07.2017 10:09:08 | -28,800 | c0c6d3efd20f4f675e1004581ba9dbe65a34493a | Fixed a typo in CNI isolator test. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cni_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cni_isolator_tests.cpp",
"diff": "@@ -907,7 +907,7 @@ TEST_F(CniIsolatorTest, ROOT_DynamicAddDelofCniConfig)\n// This test verifies that the hostname of the container can be\... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in CNI isolator test. |
46,056 | 12.07.2017 10:09:22 | -7,200 | e068e84c50970f88b00fd55e4b1683455bd52640 | Removed WIP postfix for 1.0.4 CHANGELOG entry. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -1299,7 +1299,7 @@ All Issues:\n* [MESOS-5929] - Total cluster resources on master Mesos UI should have better spacing.\n-Release Notes - Mesos - Version 1.0.4 (WIP)\n+Release Notes - Mesos - Version 1.0.4\n----... | C++ | Apache License 2.0 | apache/mesos | Removed WIP postfix for 1.0.4 CHANGELOG entry. |
46,123 | 10.07.2017 09:34:40 | 25,200 | 91f4e9acd0bad60201155b68a896d12d7200eda3 | Stopped short-circuiting agent recovery upon reboot.
The agent would continue the recovery and we added a `rebooted` flag
to `slave::State` to record the reboot info.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/state.cpp",
"new_path": "src/slave/state.cpp",
"diff": "@@ -82,7 +82,6 @@ Try<State> recover(const string& rootDir, bool strict)\n// resources checkpoint file.\nstate.resources = resources.get();\n- // If the machine has rebooted, skip recovering sla... | C++ | Apache License 2.0 | apache/mesos | Stopped short-circuiting agent recovery upon reboot.
The agent would continue the recovery and we added a `rebooted` flag
to `slave::State` to record the reboot info.
Review: https://reviews.apache.org/r/60104/ |
46,123 | 12.07.2017 22:03:37 | 25,200 | 188109b63ea9cc0cdfe1fd616c744cb10dbb4a57 | Added tests to ensure slave recovery post reboot.
Added tests to verify that the state is recovered post reboot and the
agent ID is retained given the recovery finishes without errors and
if the recovery fails due to agent info mismatch then agent is recoverd
as a new agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_recovery_tests.cpp",
"new_path": "src/tests/slave_recovery_tests.cpp",
"diff": "@@ -2516,14 +2516,13 @@ TYPED_TEST(SlaveRecoveryTest, KillTask)\n// When the slave is down we modify the BOOT_ID_FILE to simulate a\n-// reboot. The subsequent run ... | C++ | Apache License 2.0 | apache/mesos | Added tests to ensure slave recovery post reboot.
Added tests to verify that the state is recovered post reboot and the
agent ID is retained given the recovery finishes without errors and
if the recovery fails due to agent info mismatch then agent is recoverd
as a new agent.
Review: https://reviews.apache.org/r/56895... |
46,053 | 13.07.2017 13:35:26 | -7,200 | 72ebb5e5b5fe6403db0f0b051821d3346ff6da22 | Replaced `abort()` with `_exit()` in `ChildHook::SUPERVISOR`.
Previously, `abort()` was called in `SUPERVISOR` hook when child
process exited with an error code, or `waitpid()` failed, or parent
process exited. All these cases shouldn't lead to abnormal program
termination with coredumps.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/subprocess.cpp",
"new_path": "3rdparty/libprocess/src/subprocess.cpp",
"diff": "@@ -122,7 +122,7 @@ static void signalHandler(int signal)\n// Send SIGKILL to every process in the process group of the\n// calling process.\nkill(0, SIGKIL... | C++ | Apache License 2.0 | apache/mesos | Replaced `abort()` with `_exit()` in `ChildHook::SUPERVISOR`.
Previously, `abort()` was called in `SUPERVISOR` hook when child
process exited with an error code, or `waitpid()` failed, or parent
process exited. All these cases shouldn't lead to abnormal program
termination with coredumps.
Review: https://reviews.apac... |
46,165 | 13.07.2017 16:04:11 | 25,200 | 929dfd96ca7639d3fcaef45dfba30a76fcc965b9 | Updated a stale link to the working groups. | [
{
"change_type": "MODIFY",
"old_path": "site/source/community.html.md",
"new_path": "site/source/community.html.md",
"diff": "@@ -25,7 +25,7 @@ layout: community_section\n<p>\nAs the community has scaled, we work on larger and more involved features and components in separate interest or <i>working<... | C++ | Apache License 2.0 | apache/mesos | Updated a stale link to the working groups. |
46,165 | 13.07.2017 16:05:03 | 25,200 | f9a80a0672dc65964aadcafe45051991e94d670a | Added the YouTube channel to the working groups documentation. | [
{
"change_type": "MODIFY",
"old_path": "docs/working-groups.md",
"new_path": "docs/working-groups.md",
"diff": "@@ -13,6 +13,10 @@ Below are some of the expectations from a working group:\n* Should maintain meeting notes that are shared with the <dev@mesos.apache.org> list regularly.\n* Should have ... | C++ | Apache License 2.0 | apache/mesos | Added the YouTube channel to the working groups documentation. |
46,109 | 13.07.2017 17:43:59 | 25,200 | 15656be2f65cc4eeaf053b47133ca0bd43d5c166 | Added constructors for ObjectApprover::Object.
Added new constructors and updated all places where
ObjectApprover::Objects are constructed to use new
constructors.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/authorizer/authorizer.hpp",
"new_path": "include/mesos/authorizer/authorizer.hpp",
"diff": "@@ -58,6 +58,118 @@ public:\ncontainer_id(nullptr),\nmachine_id(nullptr) {}\n+ Object(const std::string& _value)\n+ : value(&_value),\n+ framework_info(nu... | C++ | Apache License 2.0 | apache/mesos | Added constructors for ObjectApprover::Object.
Added new constructors and updated all places where
ObjectApprover::Objects are constructed to use new
constructors.
Review: https://reviews.apache.org/r/60279/ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.