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,154 | 28.02.2018 11:12:27 | 28,800 | ec8f549c032d146061ce29928be338ab06591daa | Added Sachin Paryani to the contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: okuryu\nreviewboard_user: okuryu\n+- name: Sachin Paryani\n+ emails:\n+ - sachin.paryani@gmail.com\n+ jira_user: sachinparyani\n+ reviewboard_user: sachinparyani\n+\n- name: Ste... | C++ | Apache License 2.0 | apache/mesos | Added Sachin Paryani to the contributors list.
Review: https://reviews.apache.org/r/65797/ |
46,199 | 28.02.2018 11:22:42 | 28,800 | 12c226ae9b798bed7fa54783b28656a8b1f1961c | Added Shubham Kumar to the contributors list. | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: sachinparyani\nreviewboard_user: sachinparyani\n+- name: Shubham Kumar\n+ emails:\n+ - shukumar@umail.iu.edu\n+ jira_user: shukumar\n+ reviewboard_user: shukumar\n+\n- name: Ste... | C++ | Apache License 2.0 | apache/mesos | Added Shubham Kumar to the contributors list. |
46,154 | 28.02.2018 11:16:38 | 28,800 | 64502057afb23c2eacc2681b2eb5e4cee14ea98b | Added Anurag Bihani to the contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: anindya.sinha\nreviewboard_user: anisinha\n+- name: Anurag Bihani\n+ emails:\n+ - anuragbihani@gmail.com\n+ jira_user: anuragbihani\n+ reviewboard_user: anuragbihani\n+\n- name:... | C++ | Apache License 2.0 | apache/mesos | Added Anurag Bihani to the contributors list.
Review: https://reviews.apache.org/r/65800/ |
46,199 | 28.02.2018 11:11:15 | 28,800 | 3dc7f849205cc76206b00b41bf768cce96740fde | Added warning to `apply-reviews.py` for submitted patches.
This commit emits a warning when a chain skips submitted patches so
that the user is aware they were ignored.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/apply-reviews.py",
"new_path": "support/apply-reviews.py",
"diff": "@@ -110,6 +110,8 @@ def review_chain(review_id):\n# Stop as soon as we stumble upon a submitted request.\nstatus = json_obj.get('review_request').get('status')\nif status == \"submitte... | C++ | Apache License 2.0 | apache/mesos | Added warning to `apply-reviews.py` for submitted patches.
This commit emits a warning when a chain skips submitted patches so
that the user is aware they were ignored.
Review: https://reviews.apache.org/r/65795/ |
46,154 | 28.02.2018 11:12:34 | 28,800 | 9732158894eaea56b60d71fc8ef039e5695bc834 | Windows: Ported `mesos-execute`.
This patch ports the `mesos-execute` CLI framework to Windows.
The change was to print an appropriate error message without the
calling `getuid` API, which doesn't exist on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/cli/CMakeLists.txt",
"new_path": "src/cli/CMakeLists.txt",
"diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n-# TODO(josephw): Enable this on Windows after sorting out the dependencies.\n-if (... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported `mesos-execute`.
This patch ports the `mesos-execute` CLI framework to Windows.
The change was to print an appropriate error message without the
calling `getuid` API, which doesn't exist on Windows.
Review: https://reviews.apache.org/r/65798/ |
46,172 | 01.03.2018 16:12:00 | 28,800 | b29677d1a521775e803962180eec5d55db690502 | Updated Web UI to show quota guarantee and limit for roles.
There is no limit field yet thus the limit displayed is currently
the guarantee. We will access this field once it will be exposed.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/webui/master/static/css/mesos.css",
"new_path": "src/webui/master/static/css/mesos.css",
"diff": "vertical-align: top;\n}\n+.table > thead > tr > th.group-column {\n+ /* Reduces the bottom border. */\n+ border: 1px solid #ddd;\n+\n+ /* Adds borders on the ... | C++ | Apache License 2.0 | apache/mesos | Updated Web UI to show quota guarantee and limit for roles.
There is no limit field yet thus the limit displayed is currently
the guarantee. We will access this field once it will be exposed.
Review: https://reviews.apache.org/r/65346/ |
46,148 | 01.03.2018 16:53:52 | 28,800 | 6630eb66125f6d6572591b0eadb7ff709cb89e36 | Added `upgradeResource` to some resource parsing functions.
Currently only `Resources::parse()` calls `upgradeResource()`,
but other parsing functions `Resources::fromJSON()` and
`Resources::fromSimpleString()` which are also public utilities
do not, this may produce invalid resource objects.
This patch moves the `upgr... | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -726,8 +726,7 @@ Try<Resources> Resources::parse(\nResources result;\n- // Validate the Resource objects and convert them\n- // to the \"post-reservation-refinement\" format.\n+ // ... | C++ | Apache License 2.0 | apache/mesos | Added `upgradeResource` to some resource parsing functions.
Currently only `Resources::parse()` calls `upgradeResource()`,
but other parsing functions `Resources::fromJSON()` and
`Resources::fromSimpleString()` which are also public utilities
do not, this may produce invalid resource objects.
This patch moves the `up... |
46,148 | 01.03.2018 16:46:08 | 28,800 | 5db8e1d844e50044a86cd26e5a170953dd8f700b | Fixed `PersistentVolumeEndpointsTest.SlavesEndpointFullResources`.
The test relies on the order of the JSON array output and is prone
to break if the ordering changes. This patch fixes this test by
parsing the JSON array to resources, so that the comparison is
order agnostic.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"new_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"diff": "@@ -2349,13 +2349,25 @@ TEST_F(PersistentVolumeEndpointsTest, SlavesEndpointFullResources)\nEXPECT_EQ(expectedReserved.get(), reservedValu... | C++ | Apache License 2.0 | apache/mesos | Fixed `PersistentVolumeEndpointsTest.SlavesEndpointFullResources`.
The test relies on the order of the JSON array output and is prone
to break if the ordering changes. This patch fixes this test by
parsing the JSON array to resources, so that the comparison is
order agnostic.
Review: https://reviews.apache.org/r/6584... |
46,128 | 02.03.2018 15:39:58 | 28,800 | 8346ab0c812559ef73e1bbd30718f6c74a023079 | Avoided orphan subprocess in the Docker library.
This patch ensures that `Docker::inspect` will not leave orphan
subprocesses behind.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -1324,6 +1324,13 @@ void Docker::_inspect(\n// Set the `onDiscard` callback which will clean up the subprocess if the\n// caller discards the `Future` that we returned.\nsynchronized (cal... | C++ | Apache License 2.0 | apache/mesos | Avoided orphan subprocess in the Docker library.
This patch ensures that `Docker::inspect` will not leave orphan
subprocesses behind.
Review: https://reviews.apache.org/r/65887/ |
46,053 | 02.03.2018 15:39:05 | 28,800 | 84c3b4c4b22b100644f46b561772732e942ceb49 | Added inspect retries to the Docker executor.
This patch adds retries for `inspect` command to workaround docker
daemon hangs. We assume that the docker daemon can be temporarily
unresponsive. If it's unresponsive, then any started docker cli
command hangs. To address the issue, we retry `inspect` in the loop.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/executor.cpp",
"new_path": "src/docker/executor.cpp",
"diff": "#include <mesos/executor.hpp>\n#include <mesos/mesos.hpp>\n+#include <process/collect.hpp>\n#include <process/delay.hpp>\n#include <process/id.hpp>\n+#include <process/loop.hpp>\n#includ... | C++ | Apache License 2.0 | apache/mesos | Added inspect retries to the Docker executor.
This patch adds retries for `inspect` command to workaround docker
daemon hangs. We assume that the docker daemon can be temporarily
unresponsive. If it's unresponsive, then any started docker cli
command hangs. To address the issue, we retry `inspect` in the loop.
Review... |
46,165 | 05.03.2018 14:53:04 | 28,800 | 8f4552e37a76b3eee6affa34729b29582eae4635 | Added a TODO to clean up the quota sorter tech debt. | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.hpp",
"new_path": "src/master/allocator/mesos/hierarchical.hpp",
"diff": "@@ -507,6 +507,13 @@ protected:\n// The total cluster resources are used as the resource pool.\nprocess::Owned<Sorter> roleSorter;\n+ // TODO(bmah... | C++ | Apache License 2.0 | apache/mesos | Added a TODO to clean up the quota sorter tech debt. |
46,103 | 06.03.2018 16:01:55 | -3,600 | 4c4ee4575667e721f710cbf5a09ba3ec94001672 | Added hash function for mesos::UUID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/type_utils.hpp",
"new_path": "include/mesos/type_utils.hpp",
"diff": "@@ -761,6 +761,22 @@ struct hash<mesos::ResourceProviderID>\n}\n};\n+\n+template <>\n+struct hash<mesos::UUID>\n+{\n+ typedef size_t result_type;\n+\n+ typedef mesos::UUID argu... | C++ | Apache License 2.0 | apache/mesos | Added hash function for mesos::UUID.
Review: https://reviews.apache.org/r/65587/ |
46,090 | 06.03.2018 13:11:09 | 28,800 | 76cf8efd65969b25a3f26bc876408881c798061c | Windows: Removed `WTERMSIG` etc. signal macros from `windows.hpp`.
We defined a few macros for testing the status value of `::waitpid()`
in `windows.hpp`. These these macros handled signal logic (which is
generally unused on Windows, and when used, done so inconsistently),
they were removed.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/gtest.hpp",
"new_path": "3rdparty/stout/include/stout/gtest.hpp",
"diff": "@@ -249,6 +249,7 @@ inline ::testing::AssertionResult AssertExited(\n{\nif (WIFEXITED(actual)) {\nreturn ::testing::AssertionSuccess();\n+#ifndef __WINDOWS_... | C++ | Apache License 2.0 | apache/mesos | Windows: Removed `WTERMSIG` etc. signal macros from `windows.hpp`.
We defined a few macros for testing the status value of `::waitpid()`
in `windows.hpp`. These these macros handled signal logic (which is
generally unused on Windows, and when used, done so inconsistently),
they were removed.
Review: https://reviews.a... |
46,090 | 06.03.2018 13:11:14 | 28,800 | 4c50a55122bd353862d8d9164861c1143c8d9a8b | Windows: Removed `AwaitAssertSignaled` etc. from `gtest.hpp`.
Because Windows does not generally use signals, and so does not have
macros like `WTERMSIG`, the `gtest.hpp` wrapper code which depends on
them is no longer compiled on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/gtest.hpp",
"new_path": "3rdparty/libprocess/include/process/gtest.hpp",
"diff": "@@ -712,6 +712,8 @@ inline ::testing::AssertionResult AwaitAssertExitStatusNe(\nprocess::TEST_AWAIT_TIMEOUT)\n+// Signals are't used on Window... | C++ | Apache License 2.0 | apache/mesos | Windows: Removed `AwaitAssertSignaled` etc. from `gtest.hpp`.
Because Windows does not generally use signals, and so does not have
macros like `WTERMSIG`, the `gtest.hpp` wrapper code which depends on
them is no longer compiled on Windows.
Review: https://reviews.apache.org/r/65861/ |
46,090 | 06.03.2018 13:11:21 | 28,800 | 330ddcb517c7e01003915948d87932990c7b9004 | Changed `os::system()` to return `Option<int>` instead of `int`.
The `os::system()` function returned `-1` on error, which is a valid
exit code on Windows, e.g., `os::system("exit -1")`, so it was
impossible to distinguish a failure from a process returning `-1`.
With `Option<int>`, failures will return as `None()`.
Re... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/posix/shell.hpp",
"new_path": "3rdparty/stout/include/stout/os/posix/shell.hpp",
"diff": "#include <stout/error.hpp>\n#include <stout/format.hpp>\n+#include <stout/none.hpp>\n+#include <stout/option.hpp>\n#include <stout/try.hpp... | C++ | Apache License 2.0 | apache/mesos | Changed `os::system()` to return `Option<int>` instead of `int`.
The `os::system()` function returned `-1` on error, which is a valid
exit code on Windows, e.g., `os::system("exit -1")`, so it was
impossible to distinguish a failure from a process returning `-1`.
With `Option<int>`, failures will return as `None()`.
... |
46,090 | 06.03.2018 13:11:23 | 28,800 | 765c8343813e5c64775bca6757b4cd42356636ad | Fixed Mesos since `os::system()` now returns an `Option<int>`.
The `os::system()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/launch.cpp",
"new_path": "src/slave/containerizer/mesos/launch.cpp",
"diff": "#include <stout/adaptor.hpp>\n#include <stout/foreach.hpp>\n+#include <stout/option.hpp>\n#include <stout/os.hpp>\n#include <stout/protobuf.hpp>\n#inclu... | C++ | Apache License 2.0 | apache/mesos | Fixed Mesos since `os::system()` now returns an `Option<int>`.
The `os::system()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: https://reviews.apache.org/r/65863/ |
46,090 | 06.03.2018 13:11:25 | 28,800 | 1971a5477f9a0ad9c5c542a0377b32fd7936a219 | Changed `os::spawn()` to return `Option<int>` instead of `int`.
Similar to `os::system()`, `os::spawn()` returned `-1` on error, which
is a valid exit code on Windows. Using the same solution as
`os::system()`, now when `os::spawn()` fails, `None()` will be
returned. Otherwise, the process exit code will be returned.
R... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/posix/copyfile.hpp",
"new_path": "3rdparty/stout/include/stout/os/posix/copyfile.hpp",
"diff": "#include <stout/error.hpp>\n#include <stout/nothing.hpp>\n-#include <stout/os/stat.hpp>\n+#include <stout/option.hpp>\n#include <sto... | C++ | Apache License 2.0 | apache/mesos | Changed `os::spawn()` to return `Option<int>` instead of `int`.
Similar to `os::system()`, `os::spawn()` returned `-1` on error, which
is a valid exit code on Windows. Using the same solution as
`os::system()`, now when `os::spawn()` fails, `None()` will be
returned. Otherwise, the process exit code will be returned.
... |
46,090 | 06.03.2018 13:11:27 | 28,800 | be8be3b88ec0c1bddd461cb2ed1396ebd8f03b70 | Fixed Mesos since `os::spawn()` now returns an `Option<int>`.
The `os::spawn()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/fs.cpp",
"new_path": "src/linux/fs.cpp",
"diff": "@@ -38,16 +38,16 @@ extern \"C\" {\n#include <stout/adaptor.hpp>\n#include <stout/check.hpp>\n#include <stout/error.hpp>\n+#include <stout/fs.hpp>\n#include <stout/hashmap.hpp>\n#include <stout/hashse... | C++ | Apache License 2.0 | apache/mesos | Fixed Mesos since `os::spawn()` now returns an `Option<int>`.
The `os::spawn()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: https://reviews.apache.org/r/65864/ |
46,090 | 06.03.2018 15:34:38 | 28,800 | 348ec1a606f54c8479379fa841c74927977fab5f | Windows: Ported `docker_tests.cpp`.
Ported the disabled tests to run on Windows. The following tests
could not be ported due to Windows platform limitations and remain
disabled:
ROOT_DOCKER_MountRelativeContainerPath: Can't mount volumes inside
sandbox.
ROOT_DOCKER_NVIDIA_GPU_DeviceAllow: No GPU container support.
ROOT... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_common.hpp",
"new_path": "src/tests/containerizer/docker_common.hpp",
"diff": "#include <stout/gtest.hpp>\n#include <stout/lambda.hpp>\n#include <stout/nothing.hpp>\n+#include <stout/option.hpp>\n#include <stout/try.hpp>\n#includ... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported `docker_tests.cpp`.
Ported the disabled tests to run on Windows. The following tests
could not be ported due to Windows platform limitations and remain
disabled:
- ROOT_DOCKER_MountRelativeContainerPath: Can't mount volumes inside
sandbox.
- ROOT_DOCKER_NVIDIA_GPU_DeviceAllow: No GPU container suppo... |
46,057 | 07.03.2018 14:00:26 | -3,600 | cece83f37bea2ec3e78efeb5db4aea1bbaa4b8d5 | Fixed flakyness in MasterTest.RegistryGcByCount.
The test could fail on very slow hosts due to a timeout
in the agent waiting for the registration and a subsequent
re-sent `SlaveRegisteredMessage. See
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -8528,6 +8528,12 @@ TEST_F(MasterTest, RegistryGcByCount)\nAWAIT_EXPECT_RESPONSE_STATUS_EQ(process::http::OK().status, response);\n}\n+ // Wait for outstanding messages to be dr... | C++ | Apache License 2.0 | apache/mesos | Fixed flakyness in MasterTest.RegistryGcByCount.
The test could fail on very slow hosts due to a timeout
in the agent waiting for the registration and a subsequent
re-sent `SlaveRegisteredMessage. See MESOS-8485.
Review: https://reviews.apache.org/r/65354/ |
46,114 | 16.02.2018 15:36:32 | 28,800 | 2a43dbb3c42b5a780979b660d2b24226a7890e47 | Windows: Specified byproducts of `sasl2` imported target.
This is necessary to enable the Ninja build. This was not previously
fixed because we have not yet used Ninja on Windows. The same pattern
is used for other imported targets.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -228,10 +228,12 @@ if (WIN32)\nPATCH_CMD(SASL2_PATCH_CMD cyrus-sasl-${SASL2_VERSION}.patch)\nMAKE_INCLUDE_DIR(sasl2)\n+ GET_BYPRODUCTS(sasl2)\nExternalProject_Add(\n${SASL2_TARGET}\nP... | C++ | Apache License 2.0 | apache/mesos | Windows: Specified byproducts of `sasl2` imported target.
This is necessary to enable the Ninja build. This was not previously
fixed because we have not yet used Ninja on Windows. The same pattern
is used for other imported targets.
Review: https://reviews.apache.org/r/65721 |
46,114 | 07.03.2018 11:17:30 | 28,800 | 9036951b33e131991c9837c4fc5f8379c5edf676 | Updated Windows documentation.
This notes that Developer Mode is required for non-admin symlinks,
removes reference to the close JIRA epic, and adds information on how
to build with Ninja on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/windows.md",
"new_path": "docs/windows.md",
"diff": "@@ -14,7 +14,7 @@ Mesos 1.0.0 introduced experimental support for Windows.\n### System Requirements\n1. Install the latest [Visual Studio 2017](https://www.visualstudio.com/downloads/):\n- The \"Communi... | C++ | Apache License 2.0 | apache/mesos | Updated Windows documentation.
This notes that Developer Mode is required for non-admin symlinks,
removes reference to the close JIRA epic, and adds information on how
to build with Ninja on Windows.
Review: https://reviews.apache.org/r/65957 |
46,114 | 07.03.2018 10:28:09 | 28,800 | 0a4a900e5707a76269b18f3062fff070f69ff911 | Fixed implicit conversion warnings.
This patch fixes three new "possible loss of data" implicit conversion
warnings by using `static_cast` to the LHS type.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -621,14 +621,15 @@ Try<Docker::RunOptions> Docker::RunOptions::create(\n// TODO(yifan): Support other resources (e.g. disk).\nOption<double> cpus = resources->cpus();\nif (cpus.isSome()) ... | C++ | Apache License 2.0 | apache/mesos | Fixed implicit conversion warnings.
This patch fixes three new "possible loss of data" implicit conversion
warnings by using `static_cast` to the LHS type.
Review: https://reviews.apache.org/r/65955 |
46,165 | 07.03.2018 19:12:35 | 28,800 | 0bbeac0c821afa380af811b66aa541081cb33e22 | Updated the master's status update handler to avoid unnecessary copying.
Previously, we took a copy in order to mutate the UUID within the
update if communicating with an agent prior to 0.26. We now no longer
need to copy the update.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -859,9 +859,7 @@ void Master::initialize()\n&UnregisterSlaveMessage::slave_id);\ninstall<StatusUpdateMessage>(\n- &Master::statusUpdate,\n- &StatusUpdateMessage::update,\n- &StatusUpdateM... | C++ | Apache License 2.0 | apache/mesos | Updated the master's status update handler to avoid unnecessary copying.
Previously, we took a copy in order to mutate the UUID within the
update if communicating with an agent prior to 0.26. We now no longer
need to copy the update.
Review: https://reviews.apache.org/r/65964 |
46,165 | 07.03.2018 19:32:08 | 28,800 | b281f56e80a772a0832dbc423f19a5c41c9bc84e | Avoid copying of launch task messages in the master.
Prior to this patch, the launch task message was copied into an
Accept or Decline call. This updates the handler to perform moves
instead.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -818,11 +818,7 @@ void Master::initialize()\n&ResourceRequestMessage::requests);\ninstall<LaunchTasksMessage>(\n- &Master::launchTasks,\n- &LaunchTasksMessage::framework_id,\n- &LaunchTas... | C++ | Apache License 2.0 | apache/mesos | Avoid copying of launch task messages in the master.
Prior to this patch, the launch task message was copied into an
Accept or Decline call. This updates the handler to perform moves
instead.
Review: https://reviews.apache.org/r/65965 |
46,165 | 07.03.2018 19:39:53 | 28,800 | 2e716fa8471bd1c391e21ab9bd34645766aff1dc | Updated the master's receive handler to take an rvalue reference.
This allows us to perform copy elimination in subsequent patches.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -2322,7 +2322,7 @@ void Master::drop(\nvoid Master::receive(\nconst UPID& from,\n- const scheduler::Call& call)\n+ scheduler::Call&& call)\n{\n// TODO(vinod): Add metrics for calls.\n"
... | C++ | Apache License 2.0 | apache/mesos | Updated the master's receive handler to take an rvalue reference.
This allows us to perform copy elimination in subsequent patches.
Review: https://reviews.apache.org/r/65966 |
46,165 | 07.03.2018 19:40:58 | 28,800 | 8de98cfeb60dc36cb68d8d712e4e45376d9c0d1e | Eliminated some copying in the master's Accept call handler path.
This eliminates two copies of the `Accept` message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1096,7 +1096,7 @@ Future<Response> Master::Http::scheduler(\nreturn Accepted();\ncase scheduler::Call::ACCEPT:\n- master->accept(framework, call.accept());\n+ master->accept(framework, std::... | C++ | Apache License 2.0 | apache/mesos | Eliminated some copying in the master's Accept call handler path.
This eliminates two copies of the `Accept` message.
Review: https://reviews.apache.org/r/65967 |
46,165 | 07.03.2018 19:45:14 | 28,800 | 9b2712681e430f5bdf549f234a08453f0fd963bf | Updated the master's decline handler to take an rvalue reference.
The master's handlers should all take rvalue references for
consistency.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1100,7 +1100,7 @@ Future<Response> Master::Http::scheduler(\nreturn Accepted();\ncase scheduler::Call::DECLINE:\n- master->decline(framework, call.decline());\n+ master->decline(framework, s... | C++ | Apache License 2.0 | apache/mesos | Updated the master's decline handler to take an rvalue reference.
The master's handlers should all take rvalue references for
consistency.
Review: https://reviews.apache.org/r/65968 |
46,165 | 07.03.2018 19:59:10 | 28,800 | 3515ba991315dd3c56f6c43a3751dc43b4b3c79e | Avoid a copy of the status update acknowledgements in the master.
This updates the handler to take an rvalue reference and move the
data into the `scheduler::Call::Acknowledge` message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -831,11 +831,7 @@ void Master::initialize()\n&KillTaskMessage::task_id);\ninstall<StatusUpdateAcknowledgementMessage>(\n- &Master::statusUpdateAcknowledgement,\n- &StatusUpdateAcknowledge... | C++ | Apache License 2.0 | apache/mesos | Avoid a copy of the status update acknowledgements in the master.
This updates the handler to take an rvalue reference and move the
data into the `scheduler::Call::Acknowledge` message.
Review: https://reviews.apache.org/r/65969 |
46,165 | 07.03.2018 20:03:24 | 28,800 | ff85aeb9ddb89305f7b764d8891aa45fd9df9cf6 | Avoid copying acknowledgement message data in the master.
This updates the acknowledge call handler to take an rvalue reference
for consistency. This also updates the handler to move the data into
the outgoing message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1128,7 +1128,7 @@ Future<Response> Master::Http::scheduler(\nreturn Accepted();\ncase scheduler::Call::ACKNOWLEDGE:\n- master->acknowledge(framework, call.acknowledge());\n+ master->acknowle... | C++ | Apache License 2.0 | apache/mesos | Avoid copying acknowledgement message data in the master.
This updates the acknowledge call handler to take an rvalue reference
for consistency. This also updates the handler to move the data into
the outgoing message.
Review: https://reviews.apache.org/r/65970 |
46,165 | 07.03.2018 20:08:57 | 28,800 | 53f253f96b7fd6e59f3cfaf5964d95c155718bab | Avoid a copy of the scheduler->executor message in the master.
This avoids a copy in both the v1 http and v0 message code paths.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1144,7 +1144,7 @@ Future<Response> Master::Http::scheduler(\nreturn Forbidden(\"Operation reconciliation is not yet implemented\");\ncase scheduler::Call::MESSAGE:\n- master->message(framewo... | C++ | Apache License 2.0 | apache/mesos | Avoid a copy of the scheduler->executor message in the master.
This avoids a copy in both the v1 http and v0 message code paths.
Review: https://reviews.apache.org/r/65971 |
46,165 | 07.03.2018 20:14:39 | 28,800 | af1ae2b6dac9e2da92b50613b1ad0119255ca4d9 | Avoid copying scheduler->executor message data in the master.
This avoids a copy of the scheduler->executor message for the
v0 message path in the master.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -834,11 +834,7 @@ void Master::initialize()\n&Master::statusUpdateAcknowledgement);\ninstall<FrameworkToExecutorMessage>(\n- &Master::schedulerMessage,\n- &FrameworkToExecutorMessage::sla... | C++ | Apache License 2.0 | apache/mesos | Avoid copying scheduler->executor message data in the master.
This avoids a copy of the scheduler->executor message for the
v0 message path in the master.
Review: https://reviews.apache.org/r/65972 |
46,165 | 07.03.2018 20:21:41 | 28,800 | 9affb606d174abcb3f4e4dddfe20567d9316532f | Avoid copying executor->scheduler message data in the master.
This avoids a copy of the executor->scheduler message for the
v0 message path in the master.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -853,11 +853,7 @@ void Master::initialize()\n// these do not have a pid, the slave must forward\n// messages through the master.\ninstall<ExecutorToFrameworkMessage>(\n- &Master::executor... | C++ | Apache License 2.0 | apache/mesos | Avoid copying executor->scheduler message data in the master.
This avoids a copy of the executor->scheduler message for the
v0 message path in the master.
Review: https://reviews.apache.org/r/65973 |
46,102 | 09.03.2018 13:37:15 | 28,800 | c253cf53d212d77aa162e2e394a7c367eb0a64b2 | Added Nitro into powered-by-mesos.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/powered-by-mesos.md",
"new_path": "docs/powered-by-mesos.md",
"diff": "@@ -76,6 +76,7 @@ layout: documentation\n* [Motus](http://www.motus.com)\n* [Ndustrial.io](http://www.ndustrial.io)\n* [Netflix](http://www.netflix.com)\n+* [Nitro](https://www.gonitro... | C++ | Apache License 2.0 | apache/mesos | Added Nitro into powered-by-mesos.
This closes #271 |
46,148 | 12.03.2018 17:12:44 | 25,200 | 64d29b784d77c94fd0c0be545998f716dab3f9ac | Refactored resource allocation logic.
The current allocation logic maintains several states
such as allocated-reservation, unsatisfied-quota and etc.
This patch refactors the logic so that we only need to
maintain a per-quota-role map to track role consumed quota.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1574,44 +1574,55 @@ void HierarchicalAllocatorProcess::__allocate()\nreturn quotaRoleSorter->allocationScalarQuantities(role).toUnreserved();\... | C++ | Apache License 2.0 | apache/mesos | Refactored resource allocation logic.
The current allocation logic maintains several states
such as allocated-reservation, unsatisfied-quota and etc.
This patch refactors the logic so that we only need to
maintain a per-quota-role map to track role consumed quota.
Review: https://reviews.apache.org/r/66016/ |
46,165 | 12.03.2018 17:07:24 | 25,200 | 56843f3b93483ba07df9ceb3d9e0a44d3975b567 | Avoided copying when possible in Option::getOrElse.
This mimics the behavior of std::optional::value_or.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/option.hpp",
"new_path": "3rdparty/stout/include/stout/option.hpp",
"diff": "@@ -123,8 +123,17 @@ public:\nconst T* operator->() const { return &get(); }\nT* operator->() { return &get(); }\n- // This must return a copy to avoid re... | C++ | Apache License 2.0 | apache/mesos | Avoided copying when possible in Option::getOrElse.
This mimics the behavior of std::optional::value_or.
Review: https://reviews.apache.org/r/66031 |
46,055 | 12.03.2018 19:54:05 | 25,200 | be2ce4c732cc9dedc38b45f9459cad5e1a130afb | Validated Docker info exists when container's type is DOCKER.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/validation.cpp",
"new_path": "src/common/validation.cpp",
"diff": "@@ -268,6 +268,13 @@ Option<Error> validateContainerInfo(const ContainerInfo& containerInfo)\n}\n}\n+ if (containerInfo.type() == ContainerInfo::DOCKER) {\n+ if (!containerInfo.has_d... | C++ | Apache License 2.0 | apache/mesos | Validated Docker info exists when container's type is DOCKER.
Review: https://reviews.apache.org/r/65915/ |
46,055 | 12.03.2018 19:54:21 | 25,200 | ac844a68c1947274c820d0e176795e66863d5a22 | Added a test `TaskValidationTest.TaskMissingDockerInfo`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_validation_tests.cpp",
"new_path": "src/tests/master_validation_tests.cpp",
"diff": "@@ -2775,6 +2775,56 @@ TEST_F(TaskValidationTest, TaskEnvironmentInvalid)\ndriver.join();\n}\n+\n+// This test verifies that a task that has `ContainerInfo` s... | C++ | Apache License 2.0 | apache/mesos | Added a test `TaskValidationTest.TaskMissingDockerInfo`.
Review: https://reviews.apache.org/r/65917/ |
46,055 | 12.03.2018 19:54:30 | 25,200 | 3d147f01395c057ee9bc21cd85579a2c8f031a18 | Made sure no `name` parameter exists in container's Docker info.
Setting `name` parameter in container's Docker info will cause Docker
containerizer cannot recognize the created Docker container, see
for details. So this patch disallows that during validation
stage.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/validation.cpp",
"new_path": "src/common/validation.cpp",
"diff": "@@ -273,6 +273,17 @@ Option<Error> validateContainerInfo(const ContainerInfo& containerInfo)\nreturn Error(\n\"DockerInfo 'docker' is not set for DOCKER typed ContainerInfo\");\n}\n+... | C++ | Apache License 2.0 | apache/mesos | Made sure no `name` parameter exists in container's Docker info.
Setting `name` parameter in container's Docker info will cause Docker
containerizer cannot recognize the created Docker container, see
MESOS-8497 for details. So this patch disallows that during validation
stage.
Review: https://reviews.apache.org/r/659... |
46,055 | 12.03.2018 19:54:36 | 25,200 | 92e831eea009f767a7040aec0c377591b72a8d11 | Added a test `TaskValidationTest.TaskSettingDockerContainerName`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_validation_tests.cpp",
"new_path": "src/tests/master_validation_tests.cpp",
"diff": "@@ -2825,6 +2825,62 @@ TEST_F(TaskValidationTest, TaskMissingDockerInfo)\ndriver.join();\n}\n+\n+// This test verifies that a task that has `name` parameter s... | C++ | Apache License 2.0 | apache/mesos | Added a test `TaskValidationTest.TaskSettingDockerContainerName`.
Review: https://reviews.apache.org/r/65919/ |
46,061 | 22.01.2018 03:32:27 | -7,200 | 1d86c5ca1c0dd04dec44390d6904360d54fb691e | Updated contributors.yaml.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: anindya.sinha\nreviewboard_user: anisinha\n+- name: Antonis Danezis\n+ emails:\n+ - anton.dan@hotmail.com\n+ jira_user: antondan\n+ reviewboard_user: antondan\n+\n- name: Anurag... | C++ | Apache License 2.0 | apache/mesos | Updated contributors.yaml.
This closes #259 |
46,159 | 13.03.2018 15:46:48 | 25,200 | dbc41f2ffb925cecc4b1096811a94c3bea0003e6 | Fixed perf stat output parsing.
This change adds a workaround for a bug in `perf stat`
(https://lkml.org/lkml/2018/3/6/22) and fixes handling
of nameless counters.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/perf.cpp",
"new_path": "src/linux/perf.cpp",
"diff": "@@ -377,6 +377,22 @@ struct Sample\ncase 8:\nreturn Sample({tokens[0], internal::normalize(tokens[2]), tokens[3]});\n+ // This is the same format as the one with 8 fields. Due to a\n+ // bug 'perf... | C++ | Apache License 2.0 | apache/mesos | Fixed perf stat output parsing.
This change adds a workaround for a bug in `perf stat`
(https://lkml.org/lkml/2018/3/6/22) and fixes handling
of nameless counters.
Review: https://reviews.apache.org/r/66030/ |
46,111 | 13.03.2018 16:14:18 | 25,200 | fcc6dee4fba6da65681069ec49bac1da81da9b3a | Added Zhitao Li to the list of committers. | [
{
"change_type": "MODIFY",
"old_path": "docs/committers.md",
"new_path": "docs/committers.md",
"diff": "@@ -145,6 +145,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>dlester</td>\n<td>dlester@apache.org</td>\n</tr>\n+ <tr>\n+ <td>-8</td>\n+ <td>Zhitao Li<... | C++ | Apache License 2.0 | apache/mesos | Added Zhitao Li to the list of committers. |
46,055 | 12.03.2018 09:15:10 | -28,800 | 61e77658ad1fc9eb72f1b0fa26c4c3257e265fbb | Updated `ProtobufTest.JSON` for parsing JSON::String to bools & numbers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"new_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"diff": "@@ -136,6 +136,40 @@ TEST(ProtobufTest, JSON)\n\"}\",\n\" \");\n+ // The only difference between this JSON string and the above one is, all\n+ // the bool... | C++ | Apache License 2.0 | apache/mesos | Updated `ProtobufTest.JSON` for parsing JSON::String to bools & numbers.
Review: https://reviews.apache.org/r/66026 |
46,055 | 10.07.2017 15:22:20 | -28,800 | 98358c01af6ebb1c9f2fcea9dca96389f3a6e1ed | Added a new protobuf message `MapMessage` for protobuf tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/protobuf_tests.proto",
"new_path": "3rdparty/stout/tests/protobuf_tests.proto",
"diff": "@@ -105,3 +105,28 @@ message EnumMessage {\noptional Enum e2 = 2;\nrepeated Enum repeated_enum = 3;\n}\n+\n+\n+// A message for testing map.\n+message... | C++ | Apache License 2.0 | apache/mesos | Added a new protobuf message `MapMessage` for protobuf tests.
Review: https://reviews.apache.org/r/59988/ |
46,055 | 10.07.2017 15:22:29 | -28,800 | 67cd0de367a8da2f51fec1f1a7e808516794606e | Added a test `ProtobufTest.JsonifyMap`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"new_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"diff": "@@ -678,3 +678,121 @@ TEST(ProtobufTest, JsonifyLargeIntegers)\n// Check JSON -> String.\nEXPECT_EQ(expected, string(jsonify(JSON::Protobuf(message))));\n... | C++ | Apache License 2.0 | apache/mesos | Added a test `ProtobufTest.JsonifyMap`.
Review: https://reviews.apache.org/r/59989/ |
46,103 | 14.03.2018 13:04:10 | -3,600 | 729cb5b0b4fc03fc5a818a33a0be32c1e9940577 | Added helper function to determine provider ID of a conversion.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources_utils.cpp",
"new_path": "src/common/resources_utils.cpp",
"diff": "@@ -285,6 +285,34 @@ Result<ResourceProviderID> getResourceProviderId(\n}\n+Result<ResourceProviderID> getResourceProviderId(\n+ const ResourceConversion& conversion)\n+{\n... | C++ | Apache License 2.0 | apache/mesos | Added helper function to determine provider ID of a conversion.
Review: https://reviews.apache.org/r/65590/ |
46,103 | 14.03.2018 13:04:14 | -3,600 | 6fe66ce0625afa8aa4ab9815a0bb881ccf066e31 | Explicitly tracked resource providers in master.
This patch adds explicit tracking of resource providers to the master
process. While we already had explicitly send resource provider
information in e.g., `UpdateSlaveMessage`, we only stored that
information aggregated over the full agent in the master up to now.
Review... | [
{
"change_type": "MODIFY",
"old_path": "src/common/protobuf_utils.cpp",
"new_path": "src/common/protobuf_utils.cpp",
"diff": "@@ -1272,13 +1272,12 @@ mesos::master::Response::GetAgents::Agent createAgentResponse(\nslave.capabilities.toRepeatedPtrField());\nforeachvalue (\n- const ResourceProviderInf... | C++ | Apache License 2.0 | apache/mesos | Explicitly tracked resource providers in master.
This patch adds explicit tracking of resource providers to the master
process. While we already had explicitly send resource provider
information in e.g., `UpdateSlaveMessage`, we only stored that
information aggregated over the full agent in the master up to now.
Revi... |
46,103 | 14.03.2018 15:43:15 | -3,600 | ea9470c6c837143e2d2d1a74df42e3d4a3496561 | Updated site's middleman to latest 3.x release.
Review: | [
{
"change_type": "MODIFY",
"old_path": "site/Gemfile",
"new_path": "site/Gemfile",
"diff": "source 'https://rubygems.org'\n-gem 'middleman', '3.2.0'\n-gem 'middleman-livereload', '3.1.0'\n-gem 'middleman-syntax', '1.2.1'\n-gem 'middleman-blog', '3.5.1'\n+gem 'middleman', '3.4.0'\n+gem 'middleman-liv... | C++ | Apache License 2.0 | apache/mesos | Updated site's middleman to latest 3.x release.
Review: https://reviews.apache.org/r/65906/ |
46,068 | 25.01.2018 16:10:10 | -3,600 | 28a20babdb2f6bb044ff4b142713507e787b38fe | Added lambda::zip.
Introduces the abstractions `lambda::zip` and `lambda::zipto` which
provides a functionality similar to python's `zip()` call.
This patch supersedes the stalled review
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/lambda.hpp",
"new_path": "3rdparty/stout/include/stout/lambda.hpp",
"diff": "#include <stout/cpp14.hpp>\n#include <stout/cpp17.hpp>\n+#include <stout/hashmap.hpp>\n#include <stout/result_of.hpp>\nnamespace lambda {\n@@ -163,6 +164,... | C++ | Apache License 2.0 | apache/mesos | Added lambda::zip.
Introduces the abstractions `lambda::zip` and `lambda::zipto` which
provides a functionality similar to python's `zip()` call.
This patch supersedes the stalled review
https://reviews.apache.org/r/63292/.
Review: https://reviews.apache.org/r/65310/ |
46,068 | 22.01.2018 15:22:04 | -3,600 | dc9eaeb2667d154cba4cc0fa59825101b7987dc4 | Added the ObjectApprovers to which unifies authorization logic.
Introduces the class `ObjectApprovers` which unifies the different
mechanisms used in Mesos in order to perform authorization.
This new class will supersede the `Acceptor` interfaces and their
logic.
Follow up patches will make use of this interface and re... | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "#include <mesos/quota/quota.hpp>\n#include <process/authenticator.hpp>\n+#include <process/collect.hpp>\n#include <process/dispatch.hpp>\n#include <process/future.hpp>\n#include <process/http.hp... | C++ | Apache License 2.0 | apache/mesos | Added the ObjectApprovers to which unifies authorization logic.
Introduces the class `ObjectApprovers` which unifies the different
mechanisms used in Mesos in order to perform authorization.
This new class will supersede the `Acceptor` interfaces and their
logic.
Follow up patches will make use of this interface and... |
46,068 | 24.01.2018 18:17:56 | -3,600 | 768d6fc7ee4bfffffb1adde2362ed36dc267ed9e | Removed code which is not used.
The introduction of the `ObjectApprovers` abstraction rendered the
`AuthorizationAcceptor` class obsolete. After the refactor of the code
the acceptor class was no longer used, nor were the helper functions
built around it.
This patch removes that obsolete code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -898,84 +898,6 @@ Future<Owned<ObjectApprovers>> ObjectApprovers::create(\n}\n-bool approveViewFrameworkInfo(\n- const Owned<ObjectApprover>& frameworksApprover,\n- const FrameworkInfo& frame... | C++ | Apache License 2.0 | apache/mesos | Removed code which is not used.
The introduction of the `ObjectApprovers` abstraction rendered the
`AuthorizationAcceptor` class obsolete. After the refactor of the code
the acceptor class was no longer used, nor were the helper functions
built around it.
This patch removes that obsolete code.
Review: https://review... |
46,111 | 07.03.2018 15:18:53 | 28,800 | b8526c61403214aaa67fa941b4e8b0fd8e3328f2 | Added a test to make sure `slave/recovery_time_secs` is reported.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -1374,12 +1374,19 @@ TEST_F(SlaveTest, MetricsInMetricsEndpoint)\nTry<Owned<cluster::Slave>> slave = StartSlave(detector.get());\nASSERT_SOME(slave);\n+ // Make sure slave finishe... | C++ | Apache License 2.0 | apache/mesos | Added a test to make sure `slave/recovery_time_secs` is reported.
Review: https://reviews.apache.org/r/65959 |
46,111 | 14.03.2018 09:25:01 | 25,200 | 82c50c0e00284c131354499f74176b19d89bd21d | Document new `slave/recovery_time_secs` gauge.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/monitoring.md",
"new_path": "docs/monitoring.md",
"diff": "@@ -1629,6 +1629,14 @@ on the agent.\n<td>Number of errors encountered during agent recovery</td>\n<td>Gauge</td>\n</tr>\n+<tr>\n+ <td>\n+ <code>slave/recovery_time_secs</code>\n+ </td>\n+ <td>Age... | C++ | Apache License 2.0 | apache/mesos | Document new `slave/recovery_time_secs` gauge.
Review: https://reviews.apache.org/r/66070 |
46,148 | 14.03.2018 13:47:43 | 25,200 | 70d63d95126e912a75fc4003695c7019d82f9e98 | Renamed a variable in allocator to be consistent with others.
Renamed `getQuotaRoleAllocatedResources` to
`getQuotaRoleAllocatedScalarQuantities` to be consistent with
other naming.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1565,7 +1565,7 @@ void HierarchicalAllocatorProcess::__allocate()\n// order to meet its quota guarantee.\n//\n// NOTE: Revocable resources are... | C++ | Apache License 2.0 | apache/mesos | Renamed a variable in allocator to be consistent with others.
Renamed `getQuotaRoleAllocatedResources` to
`getQuotaRoleAllocatedScalarQuantities` to be consistent with
other naming.
Review: https://reviews.apache.org/r/66043/ |
46,068 | 15.03.2018 14:22:12 | -3,600 | 53b25f7a04d24efc9b5a75a94a205cc226072529 | Removes redundant call of get() on smart pointer. | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -11179,7 +11179,7 @@ void Master::Subscribers::Subscriber::send(\nCHECK_NOTNULL(frameworkInfo.get());\nCHECK_NOTNULL(task.get());\n- if (approvers->approved<VIEW_TASK>(*task.get(), *frame... | C++ | Apache License 2.0 | apache/mesos | Removes redundant call of get() on smart pointer. |
46,111 | 16.03.2018 13:52:32 | 25,200 | 83ef8defcad3624c9a100db4736cee670b37c1fa | Start heartbeater after SUBSCRIBED event.
added heartbeat support to
event stream, but the implementation could send a `HEARTBEAT`
event before `SUBSCRIBED` event, which changed previous behavior.
This patch fixed the issue by starting heartbeater only after
`SUBSCRIBED` event is sent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -830,7 +830,6 @@ Future<Response> Master::Http::subscribe(\nok.reader = pipe.reader();\nHttpConnection http{pipe.writer(), contentType, id::UUID::random()};\n- master->subscribe(http, princip... | C++ | Apache License 2.0 | apache/mesos | Start heartbeater after SUBSCRIBED event.
https://reviews.apache.org/r/61262 added heartbeat support to
event stream, but the implementation could send a `HEARTBEAT`
event before `SUBSCRIBED` event, which changed previous behavior.
This patch fixed the issue by starting heartbeater only after
`SUBSCRIBED` event is se... |
46,201 | 16.03.2018 18:22:53 | 25,200 | d98fcc1df82c6ee1359a8c46098b96a19d5d9f98 | Updated building.md to include installation of `iputils-ping`.
OsTest.Which fails if the system doesn't have ping.
See also:
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/building.md",
"new_path": "docs/building.md",
"diff": "@@ -66,7 +66,7 @@ Following are the instructions for stock Ubuntu 16.04. If you are using a differ\n$ sudo apt-get install -y autoconf libtool\n# Install other Mesos dependencies.\n- $ sudo apt-get -y... | C++ | Apache License 2.0 | apache/mesos | Updated building.md to include installation of `iputils-ping`.
OsTest.Which fails if the system doesn't have ping.
See also: c691dc5f8.
This closes #274 |
46,188 | 16.03.2018 19:23:16 | 25,200 | 7d76522abbc58a1f5bd2e0387957fba3c0736c33 | Updated 1.5.1 CHANGELOG about | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -25,6 +25,7 @@ Release Notes - Mesos - Version 1.5.1 (WIP)\n* [MESOS-8631] - Agent should be able to start a task with every CPU on a Windows machine.\n* [MESOS-8641] - Event stream could send heartbeat before s... | C++ | Apache License 2.0 | apache/mesos | Updated 1.5.1 CHANGELOG about MESOS-8651. |
46,188 | 16.03.2018 19:23:38 | 25,200 | 9a5074c4862ffcbceff9fabbc325e9f0caba080a | Updated 1.4.2 CHANGELOG about | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -530,6 +530,7 @@ Release Notes - Mesos - Version 1.4.2 (WIP)\n* [MESOS-8575] - Improve discard handling for 'Docker::stop' and 'Docker::pull'.\n* [MESOS-8576] - Improve discard handling of 'Docker::inspect()'.\n... | C++ | Apache License 2.0 | apache/mesos | Updated 1.4.2 CHANGELOG about MESOS-8651. |
46,188 | 16.03.2018 19:24:03 | 25,200 | 9844ec3e98f7c8121ea348e0836729c79c8b66c7 | Updated 1.3.3 CHANGELOG about | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -840,6 +840,7 @@ All Issues:\n* [MESOS-8575] - Improve discard handling for 'Docker::stop' and 'Docker::pull'.\n* [MESOS-8576] - Improve discard handling of 'Docker::inspect()'.\n* [MESOS-8605] - Terminal task s... | C++ | Apache License 2.0 | apache/mesos | Updated 1.3.3 CHANGELOG about MESOS-8651. |
46,055 | 19.03.2018 15:30:09 | -28,800 | 9f158e874946cba5d0db918d3a2c27ca457e10e3 | Fixed a typo in `IOSwitchboard::_prepare`. | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/io/switchboard.cpp",
"new_path": "src/slave/containerizer/mesos/io/switchboard.cpp",
"diff": "@@ -359,7 +359,7 @@ Future<Option<ContainerLaunchInfo>> IOSwitchboard::_prepare(\nint stdoutFromFd = -1;\nint stderrFromFd = -1;\n- // A... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in `IOSwitchboard::_prepare`. |
46,103 | 19.03.2018 11:01:06 | -3,600 | 32093fe195e23628076e6af4e125a1254b039dec | Updated validation of 'RAW' and 'BLOCK' disk resources.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -930,8 +930,20 @@ Option<Error> Resources::validate(const Resource& resource)\nbreak;\ncase Resource::DiskInfo::Source::BLOCK:\ncase Resource::DiskInfo::Source::RAW:\n- // TODO(bban... | C++ | Apache License 2.0 | apache/mesos | Updated validation of 'RAW' and 'BLOCK' disk resources.
Review: https://reviews.apache.org/r/65838/ |
46,103 | 19.03.2018 16:11:38 | -3,600 | 95bbe784da51b3a7eaeb9127e2541ea0b2af07b5 | Removed some redundant `get` calls.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -2804,7 +2804,7 @@ void Slave::__run(\nexecutor = doLaunchExecutor();\n}\n} else {\n- if (taskGroup.isNone() && task.get().has_command()) {\n+ if (taskGroup.isNone() && task->has_command()) {... | C++ | Apache License 2.0 | apache/mesos | Removed some redundant `get` calls.
Review: https://reviews.apache.org/r/66137 |
46,114 | 08.03.2018 10:03:48 | 28,800 | 0c18ca1766e72bbabcd08fdc01f24ed817804d4e | CMake: Set C++11 as standard automatically.
Instead of setting the compiler option manually, we use the
`CMAKE_CXX_STANDARD` variable to set the default for all targets. This
automatically appends the correct flag for each compiler.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -164,6 +164,13 @@ endif ()\n# SYSTEM CHECKS.\n################\n+\n+# Set the default standard to C++11 for all targets.\n+set(CMAKE_CXX_STANDARD 11)\n+set(CMAKE_CXX... | C++ | Apache License 2.0 | apache/mesos | CMake: Set C++11 as standard automatically.
Instead of setting the compiler option manually, we use the
`CMAKE_CXX_STANDARD` variable to set the default for all targets. This
automatically appends the correct flag for each compiler.
Review: https://reviews.apache.org/r/66007 |
46,114 | 09.03.2018 10:35:03 | 28,800 | 6613e6a60e746626bd4e81694952103644235f09 | CMake: Added `-Wno-unused-local-typedefs` to Boost interface.
As found in the Autotools builds, GCC and Clang will emit an used
local typedef warning for headers including Boost. Since it is
3rdparty code, we disable this warning in its interface.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -177,6 +177,12 @@ endfunction()\nEXTERNAL(boost ${BOOST_VERSION} ${CMAKE_CURRENT_BINARY_DIR})\nadd_library(boost INTERFACE)\nadd_dependencies(boost ${BOOST_TARGET})\n+if (CMAKE_CXX_CO... | C++ | Apache License 2.0 | apache/mesos | CMake: Added `-Wno-unused-local-typedefs` to Boost interface.
As found in the Autotools builds, GCC and Clang will emit an used
local typedef warning for headers including Boost. Since it is
3rdparty code, we disable this warning in its interface.
Review: https://reviews.apache.org/r/66009 |
46,114 | 09.03.2018 11:57:21 | 28,800 | 5915f8f19a70b895742288f852afc45fc178e9aa | Windows: Set 3rdparty libraries to link to CRT dynamically.
This also fixes a bug where the `libevent` build on Windows would add
`''` to the compiler flags, which is an unrecognized flag, and sets
the names of our `CMAKE_FORWARD_ARGS` variables consistently (some
were missing the `FORWARD` part).
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -504,18 +504,21 @@ if (ENABLE_LIBEVENT)\nIMPORTED_LOCATION ${LIBEVENT_ROOT}-build/lib/libevent${LIBRARY_SUFFIX})\nendif ()\n- set(LIBEVENT_CMAKE_ARGS\n+ set(LIBEVENT_CMAKE_FORWARD_ARG... | C++ | Apache License 2.0 | apache/mesos | Windows: Set 3rdparty libraries to link to CRT dynamically.
This also fixes a bug where the `libevent` build on Windows would add
`''` to the compiler flags, which is an unrecognized flag, and sets
the names of our `CMAKE_FORWARD_ARGS` variables consistently (some
were missing the `FORWARD` part).
Review: https://rev... |
46,114 | 09.03.2018 12:36:47 | 28,800 | 5d1a2b18d376a64125dff312e52098e52df5684e | CMake: Split `CMAKE_FORWARD_ARGS` into `C` and `CXX` versions.
By passing `CMAKE_C_FORWARD_ARGS` to C libraries, e.g. curl, libapr,
libevent, and zlib, we avoid CMake warning us about set but unused
variables (since they do not use the `CXX` variables).
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -112,13 +112,14 @@ if (NOT \"${CMAKE_BUILD_TYPE}\" STREQUAL \"\")\nendif ()\nforeach (lang C CXX)\n- list(APPEND CMAKE_FORWARD_ARGS\n+ list(APPEND CMAKE_${lang}_FORWARD_ARGS\n+ ${CMAK... | C++ | Apache License 2.0 | apache/mesos | CMake: Split `CMAKE_FORWARD_ARGS` into `C` and `CXX` versions.
By passing `CMAKE_C_FORWARD_ARGS` to C libraries, e.g. curl, libapr,
libevent, and zlib, we avoid CMake warning us about set but unused
variables (since they do not use the `CXX` variables).
Review: https://reviews.apache.org/r/66012 |
46,114 | 09.03.2018 12:54:41 | 28,800 | 5ddb740f347069e884a00907aa632275dc4ace10 | Windows: Made ZooKeeper use default CRT linking.
Also deleted extraneous patch files.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -965,6 +965,8 @@ set_target_properties(\nINTERFACE_LINK_LIBRARIES zk-hashtable\nINTERFACE_COMPILE_DEFINITIONS \"${ZOOKEEPER_COMPILE_DEFINITIONS}\")\n+set(ZOOKEEPER_CMAKE_FORWARD_ARGS ... | C++ | Apache License 2.0 | apache/mesos | Windows: Made ZooKeeper use default CRT linking.
Also deleted extraneous patch files.
Review: https://reviews.apache.org/r/66013 |
46,114 | 09.03.2018 12:55:25 | 28,800 | 80cb7163bad28b369460190290f5729e130cae13 | Windows: Made SASL use default CRT linking.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/cyrus-sasl-2.1.27rc3.patch",
"new_path": "3rdparty/cyrus-sasl-2.1.27rc3.patch",
"diff": "@@ -3,16 +3,10 @@ new file mode 100644\nindex 0000000..ae81f5c\n--- /dev/null\n+++ b/CMakeLists.txt\n-@@ -0,0 +1,40 @@\n+@@ -0,0 +1,34 @@\n+cmake_minimum_required... | C++ | Apache License 2.0 | apache/mesos | Windows: Made SASL use default CRT linking.
Review: https://reviews.apache.org/r/66014 |
46,056 | 19.03.2018 21:24:07 | -3,600 | 2c41b039da20cf3904cee4272673d9e3791f5184 | Disabled flaky ROOT_DOCKER_SlaveRecoveryTaskContainer test. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -2643,7 +2643,9 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Default_CMD_Args)\n// The slave is stopped before the firs... | C++ | Apache License 2.0 | apache/mesos | Disabled flaky ROOT_DOCKER_SlaveRecoveryTaskContainer test. |
46,056 | 19.03.2018 21:40:56 | -3,600 | aae6d0cc5f7ba9384982913d5ecffdbc6307fc86 | Disabled flaky ROOT_IncreaseRSS test. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_tests.cpp",
"diff": "@@ -1087,7 +1087,8 @@ protected:\n};\n-TEST_F(CgroupsAnyHierarchyMemoryPressureTest, ROOT_IncreaseRSS)\n+// TODO(alexr): Enable after MESOS-3160 is re... | C++ | Apache License 2.0 | apache/mesos | Disabled flaky ROOT_IncreaseRSS test. |
46,139 | 19.03.2018 16:23:44 | 25,200 | 50de784d589d2fc476f7869f39822c77c50745f3 | Added blank lines after multi-line logging statements in `master.cpp`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -462,6 +462,7 @@ void Master::initialize()\n{\nLOG(INFO) << \"Master \" << info_.id() << \" (\" << info_.hostname() << \")\"\n<< \" started on \" << string(self()).substr(7);\n+\nLOG(INFO... | C++ | Apache License 2.0 | apache/mesos | Added blank lines after multi-line logging statements in `master.cpp`.
Review: https://reviews.apache.org/r/66142/ |
46,056 | 20.03.2018 08:24:05 | -3,600 | 4e189dbff338ab65b392b928e75156ba6e8774c2 | Ensured an expectation comes before event in upgrade_tests.cpp. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/upgrade_tests.cpp",
"new_path": "src/tests/upgrade_tests.cpp",
"diff": "@@ -374,12 +374,12 @@ TEST_F(UpgradeTest, UpgradeSlaveIntoMultiRole)\nFuture<SlaveReregisteredMessage> slaveReregisteredMessage =\nFUTURE_PROTOBUF(SlaveReregisteredMessage(), _, ... | C++ | Apache License 2.0 | apache/mesos | Ensured an expectation comes before event in upgrade_tests.cpp. |
46,103 | 20.03.2018 10:08:09 | -3,600 | 09b92d822658b9563103d86ad45a9a7fdf85f271 | Displayed resource provider resources in GET_RESOURCE_PROVIDER response.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/agent/agent.proto",
"new_path": "include/mesos/agent/agent.proto",
"diff": "@@ -547,6 +547,7 @@ message Response {\nmessage GetResourceProviders {\nmessage ResourceProvider {\nrequired ResourceProviderInfo resource_provider_info = 1;\n+ repeated ... | C++ | Apache License 2.0 | apache/mesos | Displayed resource provider resources in GET_RESOURCE_PROVIDER response.
Review: https://reviews.apache.org/r/65832/ |
46,103 | 20.03.2018 10:29:44 | -3,600 | 90c922ad3b1411ff9c2b20208ad080a1c95b4924 | Displayed resource provider resources in GET_AGENTS response.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -344,6 +344,7 @@ message Response {\nmessage ResourceProvider {\nrequired ResourceProviderInfo resource_provider_info = 1;\n+ repeated Resource total_resources = 2... | C++ | Apache License 2.0 | apache/mesos | Displayed resource provider resources in GET_AGENTS response.
Review: https://reviews.apache.org/r/65833/ |
46,114 | 20.03.2018 10:37:14 | 25,200 | 39b63c14e5fdb90b37627cfd9b8743587d03bef2 | Windows: Documented installing the redistributable.
This is required as we now link to the runtime dynamically. So if you
build on one machine, but deploy to another, it needs the runtime. | [
{
"change_type": "MODIFY",
"old_path": "docs/windows.md",
"new_path": "docs/windows.md",
"diff": "@@ -7,10 +7,8 @@ layout: documentation\nMesos 1.0.0 introduced experimental support for Windows.\n-\n## Building Mesos\n-\n### System Requirements\n1. Install the latest [Visual Studio 2017](https://www... | C++ | Apache License 2.0 | apache/mesos | Windows: Documented installing the redistributable.
This is required as we now link to the runtime dynamically. So if you
build on one machine, but deploy to another, it needs the runtime. |
46,103 | 21.03.2018 13:26:54 | -3,600 | 95189d8ddb20ab24f05e014029e2ab83c5cc3fcb | Added evolve function for mesos UUID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/internal/evolve.cpp",
"new_path": "src/internal/evolve.cpp",
"diff": "@@ -205,6 +205,12 @@ v1::TaskStatus evolve(const TaskStatus& status)\n}\n+v1::UUID evolve(const UUID& uuid)\n+{\n+ return evolve<v1::UUID>(uuid);\n+}\n+\n+\nv1::agent::Call evolve(const ... | C++ | Apache License 2.0 | apache/mesos | Added evolve function for mesos UUID.
Review: https://reviews.apache.org/r/65673/ |
46,103 | 21.03.2018 13:27:22 | -3,600 | 42848653b2a9cb5b970264d97bbdee0177422297 | Introduced helper for creating Mesos UUIDs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/protobuf_utils.cpp",
"new_path": "src/common/protobuf_utils.cpp",
"diff": "@@ -440,7 +440,7 @@ OperationStatus createOperationStatus(\n}\nif (uuid.isSome()) {\n- status.mutable_uuid()->set_value(uuid->toBytes());\n+ status.mutable_uuid()->CopyFrom(p... | C++ | Apache License 2.0 | apache/mesos | Introduced helper for creating Mesos UUIDs.
Review: https://reviews.apache.org/r/65674/ |
46,053 | 21.03.2018 14:55:57 | -3,600 | 72f8f105b9aea7f8433b7e77763d870d3444d11b | Fixed flakiness in ROOT_DOCKER_SlaveRecoveryTaskContainer test.
The test was flaky due to ignoring only TASK_STARTING status update,
while TASK_RUNNING status update might appear if a task was launched
before the Docker executor re-registered. To fix the issue, this patch
ensures that both status updates are received.
... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -2643,9 +2643,7 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Default_CMD_Args)\n// The slave is stopped before the firs... | C++ | Apache License 2.0 | apache/mesos | Fixed flakiness in ROOT_DOCKER_SlaveRecoveryTaskContainer test.
The test was flaky due to ignoring only TASK_STARTING status update,
while TASK_RUNNING status update might appear if a task was launched
before the Docker executor re-registered. To fix the issue, this patch
ensures that both status updates are received.... |
46,056 | 21.03.2018 17:20:54 | -3,600 | 79baa0917d21f7c34b26ed1295b36903d409a26d | Added comments around disabled tests. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/capabilities_tests.cpp",
"new_path": "src/tests/containerizer/capabilities_tests.cpp",
"diff": "@@ -152,6 +152,7 @@ TEST_F(CapabilitiesTest, ROOT_PingWithJustNetRawSysAdminCap)\n}\n+// TODO(alexr): Enable after MESOS-8707 is resolved.\n... | C++ | Apache License 2.0 | apache/mesos | Added comments around disabled tests. |
46,055 | 15.03.2018 10:06:12 | -28,800 | 53c9084614b2ffe127d2257305f4050e7d03dba7 | Used raw string literal in protobuf tests to avoid escaping.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"new_path": "3rdparty/stout/tests/protobuf_tests.cpp",
"diff": "@@ -104,71 +104,77 @@ TEST(ProtobufTest, JSON)\n// Reflection* message.getReflection();\n// The keys are in alphabetical order.\n- string expected = strin... | C++ | Apache License 2.0 | apache/mesos | Used raw string literal in protobuf tests to avoid escaping.
Review: https://reviews.apache.org/r/66076 |
46,128 | 22.03.2018 21:52:29 | 25,200 | e14d44cc3d1ef59d4578ec3858cd986f8f5dedef | Added new tests for validation of offer operation IDs.
This patch adds three new scheduler tests,
'OperationFeedbackValidationWithResourceProviderCapability',
'OperationFeedbackValidationNoResourceProviderCapability', and
'OperationFeedbackValidationSchedulerDriverFramework', to verify that
task/operation status update... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/scheduler_tests.cpp",
"new_path": "src/tests/scheduler_tests.cpp",
"diff": "@@ -1010,6 +1010,262 @@ TEST_P(SchedulerTest, KillTask)\n}\n+// Verifies invalidation of LAUNCH and LAUNCH_GROUP operations with `id` set.\n+TEST_P(SchedulerTest, OperationFe... | C++ | Apache License 2.0 | apache/mesos | Added new tests for validation of offer operation IDs.
This patch adds three new scheduler tests,
'OperationFeedbackValidationWithResourceProviderCapability',
'OperationFeedbackValidationNoResourceProviderCapability', and
'OperationFeedbackValidationSchedulerDriverFramework', to verify that
task/operation status updat... |
46,139 | 22.03.2018 21:52:31 | 25,200 | 990e4ea0e13bdf9788a27c302b09ee45ced6fcaa | Added master metrics for operation status acknowledgment handling.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/monitoring.md",
"new_path": "docs/monitoring.md",
"diff": "@@ -572,6 +572,13 @@ messages may indicate that there is a problem with the network.\n<td>Number of invalid framework to executor messages</td>\n<td>Counter</td>\n</tr>\n+<tr>\n+ <td>\n+ <code>mas... | C++ | Apache License 2.0 | apache/mesos | Added master metrics for operation status acknowledgment handling.
Review: https://reviews.apache.org/r/65300/ |
46,139 | 22.03.2018 21:52:32 | 25,200 | 89ace2cc35d46a0e3965571b6bf1233b9aa36e13 | Implemented the master's `ACKNOWLEDGE_OPERATION_STATUS` handler.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1101,9 +1101,10 @@ Future<Response> Master::Http::scheduler(\nmaster->acknowledge(framework, std::move(*call.mutable_acknowledge()));\nreturn Accepted();\n- // TODO(greggomann): Implement op... | C++ | Apache License 2.0 | apache/mesos | Implemented the master's `ACKNOWLEDGE_OPERATION_STATUS` handler.
Review: https://reviews.apache.org/r/64618/ |
46,139 | 22.03.2018 21:52:39 | 25,200 | 3759c02e5944b00ff079d05664e72f9286ce4ba8 | Fixed a bug in `Framework::removeOperation()`.
This patch updates `Framework::removeOperation()` to keep
`Framework::operationUUIDs` in-sync with `Framework::operations`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.hpp",
"new_path": "src/master/master.hpp",
"diff": "@@ -2608,6 +2608,10 @@ struct Framework\nrecoverResources(operation);\n}\n+ if (operation->info().has_id()) {\n+ operationUUIDs.erase(operation->info().id());\n+ }\n+\noperations.erase(uuid)... | C++ | Apache License 2.0 | apache/mesos | Fixed a bug in `Framework::removeOperation()`.
This patch updates `Framework::removeOperation()` to keep
`Framework::operationUUIDs` in-sync with `Framework::operations`.
Review: https://reviews.apache.org/r/66140/ |
46,139 | 22.03.2018 21:52:41 | 25,200 | 040726defa6cfc28cb0f191f3de4289f872d3a11 | Added evolve functions for operation status updates.
This patch adds evolve functions for `UpdateOperationStatusMessage` and
for `OperationStatus`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/internal/evolve.cpp",
"new_path": "src/internal/evolve.cpp",
"diff": "@@ -158,6 +158,12 @@ v1::OfferID evolve(const OfferID& offerId)\n}\n+v1::OperationStatus evolve(const OperationStatus& status)\n+{\n+ return evolve<v1::OperationStatus>(status);\n+}\n+\n... | C++ | Apache License 2.0 | apache/mesos | Added evolve functions for operation status updates.
This patch adds evolve functions for `UpdateOperationStatusMessage` and
for `OperationStatus`.
Review: https://reviews.apache.org/r/65993/ |
46,139 | 22.03.2018 21:52:43 | 25,200 | f8b96f333576e85adabb5d02fbf431fc10d59325 | Made the master forward operation status updates to schedulers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -8203,32 +8203,39 @@ void Master::updateOperationStatus(\nreturn;\n}\n- // TODO(greggomann): Remove this CHECK once operation feedback is\n- // implemented. See MESOS-8054.\n- CHECK(!oper... | C++ | Apache License 2.0 | apache/mesos | Made the master forward operation status updates to schedulers.
Review: https://reviews.apache.org/r/65994/ |
46,139 | 22.03.2018 21:52:47 | 25,200 | b1975dfdf222ec7f2afdf3d9a76922478fe2c48b | Updated `CREATE_VOLUME()` helper to allow specifying an operation ID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -1345,12 +1345,18 @@ inline typename TOffer::Operation LAUNCH_GROUP(\ntemplate <typename TResource, typename TTargetType, typename TOffer>\ninline typename TOffer::Operation CREATE_VOLUME(\nc... | C++ | Apache License 2.0 | apache/mesos | Updated `CREATE_VOLUME()` helper to allow specifying an operation ID.
Review: https://reviews.apache.org/r/66056/ |
46,139 | 22.03.2018 21:52:49 | 25,200 | 436340c475b2892023615e0d6da23a2c5a5d3fe2 | Added a `createCallAcknowledgeOperationStatus()` test helper.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -2116,6 +2116,28 @@ inline mesos::v1::scheduler::Call createCallAcknowledge(\n}\n+inline mesos::v1::scheduler::Call createCallAcknowledgeOperationStatus(\n+ const mesos::v1::FrameworkID& fram... | C++ | Apache License 2.0 | apache/mesos | Added a `createCallAcknowledgeOperationStatus()` test helper.
Review: https://reviews.apache.org/r/66057/ |
46,139 | 22.03.2018 21:52:52 | 25,200 | 6c4b2d4e9545641aa3751a5dea5f745b1e292cd8 | Added v1 versions of some test helpers/matchers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -2554,6 +2554,42 @@ using TestMesos = tests::scheduler::TestMesos<\nmesos::v1::scheduler::Event>;\n+// This matcher is used to match an offer event that contains a vector of offers\n+// havin... | C++ | Apache License 2.0 | apache/mesos | Added v1 versions of some test helpers/matchers.
Review: https://reviews.apache.org/r/66058/ |
46,139 | 22.03.2018 21:52:54 | 25,200 | 4ad57f81462ef46a8363699e650516bfbd8b0cbc | Added a `SendAcknowledgeOperationStatus` test action.
This patch adds a `SendAcknowledgeOperationStatus` action that can be
used in tests to automatically acknowledge operation status updates.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -2627,6 +2627,25 @@ ACTION_P2(SendAcknowledge, frameworkId, agentId)\narg0->send(call);\n}\n+\n+ACTION_P3(\n+ SendAcknowledgeOperationStatus, frameworkId, agentId, resourceProviderId)\n+{\n+ ... | C++ | Apache License 2.0 | apache/mesos | Added a `SendAcknowledgeOperationStatus` test action.
This patch adds a `SendAcknowledgeOperationStatus` action that can be
used in tests to automatically acknowledge operation status updates.
Review: https://reviews.apache.org/r/66059/ |
46,139 | 22.03.2018 21:52:56 | 25,200 | e602aaf607863a312e0e2970133cc46480f9b684 | Added a test for operation status updates and acknowledgements.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/storage_local_resource_provider_tests.cpp",
"new_path": "src/tests/storage_local_resource_provider_tests.cpp",
"diff": "@@ -58,6 +58,7 @@ using process::Future;\nusing process::Owned;\nusing testing::AtMost;\n+using testing::DoAll;\nusing testing::Se... | C++ | Apache License 2.0 | apache/mesos | Added a test for operation status updates and acknowledgements.
Review: https://reviews.apache.org/r/66060/ |
46,139 | 22.03.2018 21:52:59 | 25,200 | 043f65f67997b5f5e5476c272cf62f06478aeaf4 | Fixed whitespace in SLRP tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/storage_local_resource_provider_tests.cpp",
"new_path": "src/tests/storage_local_resource_provider_tests.cpp",
"diff": "@@ -2722,6 +2722,7 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_RetryOperationStatusUpdate)\nbreak;\n}\n}\n+\nASSERT_SOME(sour... | C++ | Apache License 2.0 | apache/mesos | Fixed whitespace in SLRP tests.
Review: https://reviews.apache.org/r/66141/ |
46,066 | 23.03.2018 11:13:57 | 25,200 | dcd1674d7c63368d2535f8a251d9111466ce08d5 | Added OS_LINUX guard for 'test_csi_plugin'.
As 'test_csi_plugin' uses functionality that will only compile on Linux,
we have to make sure that it isn't build on non-Linux systems.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2290,11 +2290,13 @@ disk_full_framework_CPPFLAGS = $(MESOS_CPPFLAGS)\ndisk_full_framework_LDADD = libmesos.la $(LDADD)\nif ENABLE_GRPC\n+if OS_LINUX\ncheck_PROGRAMS += test-csi-plugin\ntest_csi_plug... | C++ | Apache License 2.0 | apache/mesos | Added OS_LINUX guard for 'test_csi_plugin'.
As 'test_csi_plugin' uses functionality that will only compile on Linux,
we have to make sure that it isn't build on non-Linux systems.
Review: https://reviews.apache.org/r/66210/ |
46,165 | 23.03.2018 23:27:26 | 25,200 | 2132b66c37bfd5ba7ae1cde74aa8ddb8d6c23bce | Added a temporary CHECK to diagnose
From the stack trace in it appears the `httpSequence`
within `ProcessBase` was null during `ProcessBase::_consume`. In
order to diagnose how this can occur, this adds a CHECK that will
print the pid and endpoint name. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -3687,6 +3687,10 @@ Future<Response> ProcessBase::_consume(\n*request, endpoint.realm.get());\n}\n+ // TODO(bmahler): This is an interim check to diagnose MESO... | C++ | Apache License 2.0 | apache/mesos | Added a temporary CHECK to diagnose MESOS-8687.
From the stack trace in MESOS-8687, it appears the `httpSequence`
within `ProcessBase` was null during `ProcessBase::_consume`. In
order to diagnose how this can occur, this adds a CHECK that will
print the pid and endpoint name. |
46,053 | 26.03.2018 15:03:30 | -7,200 | 1ed3eae3ca09c8fdeac349d78e568d2a91be306b | Ensured correct termination order in IOSwitchboard's main function.
This patch terminates `IOSwitchboardServer` actor before calling
`process::finalize()`. This patch is an addition to commit
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/io/switchboard_main.cpp",
"new_path": "src/slave/containerizer/mesos/io/switchboard_main.cpp",
"diff": "@@ -151,6 +151,8 @@ int main(int argc, char** argv)\nFuture<Nothing> run = server.get()->run();\nrun.await();\n+ server->reset... | C++ | Apache License 2.0 | apache/mesos | Ensured correct termination order in IOSwitchboard's main function.
This patch terminates `IOSwitchboardServer` actor before calling
`process::finalize()`. This patch is an addition to commit 02ebf9986a.
Review: https://reviews.apache.org/r/66278/ |
46,188 | 26.03.2018 21:14:52 | 25,200 | 77c56351e9bfabea221c6be84472e64b434b5169 | Added a helper to parse ContainerID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/protobuf_utils.cpp",
"new_path": "src/common/protobuf_utils.cpp",
"diff": "@@ -966,6 +966,27 @@ ContainerID getRootContainerId(const ContainerID& containerId)\n}\n+ContainerID parseContainerId(const string& value)\n+{\n+ vector<string> tokens = stri... | C++ | Apache License 2.0 | apache/mesos | Added a helper to parse ContainerID.
Review: https://reviews.apache.org/r/66101/ |
46,188 | 26.03.2018 23:28:20 | 25,200 | 020b8cbafaf70ef4b95915bf9b81200509b23a50 | Fixed createVolumeHostPath helper. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -706,12 +706,13 @@ inline TVolume createVolumeSandboxPath(\n}\n-template <typename TVolume>\n+template <typename TVolume, typename TMountPropagation>\ninline TVolume createVolumeHostPath(\nco... | C++ | Apache License 2.0 | apache/mesos | Fixed createVolumeHostPath helper. |
46,139 | 27.03.2018 11:37:28 | -7,200 | 501eb34467812143a6462441e9d8447be474c675 | Made the default executor's handling of kill escalations more robust.
This patch makes the default executor retry SIGKILL escalations if the
executor is disconnected from the agent or the kill call fails.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/launcher/default_executor.cpp",
"new_path": "src/launcher/default_executor.cpp",
"diff": "@@ -1200,7 +1200,19 @@ protected:\n<< \" did not terminate after \" << timeout << \", sending SIGKILL\"\n<< \" to the container\";\n- kill(containerId, SIGKILL);\n+ k... | C++ | Apache License 2.0 | apache/mesos | Made the default executor's handling of kill escalations more robust.
This patch makes the default executor retry SIGKILL escalations if the
executor is disconnected from the agent or the kill call fails.
Review: https://reviews.apache.org/r/65694/ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.