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,072 | 07.05.2020 15:33:14 | -7,200 | 48922e02ddac1ff5726d7a07e799c1475be65175 | Updated CHANGELOG for 1.10.0. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "-Release Notes - Mesos - Version 1.10.0 (WIP)\n+Release Notes - Mesos - Version 1.10.0\n--------------------------------------------\n+This release contains the following highlights:\n+\n+ * Container resource burs... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG for 1.10.0. |
46,119 | 08.05.2020 14:10:39 | 25,200 | 630dbf7486bfe315472fbcd8d0087f75cd9f3786 | Fixed the java bindings in the cmake build.
This closes | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -627,8 +627,7 @@ target_link_libraries(\nsasl2\nzookeeper\nmesos-protobufs\n- $<$<AND:$<PLATFORM_ID:Linux>,$<BOOL:${ENABLE_NVML}>>:nvml>\n- $<$<BOOL:${HAS_JAVA}>:mesos-java>)\n+ $<$<AND:$<PLATF... | C++ | Apache License 2.0 | apache/mesos | Fixed the java bindings in the cmake build.
This closes #360 |
46,119 | 08.05.2020 14:11:10 | 25,200 | 07cd355f90892a897e0b210a8cd0eda6103ae6c9 | Added ability to specify a root dir for boost and curl with cmake.
This closes | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -194,6 +194,7 @@ endfunction()\n# Boost: C++ Libraries.\n# http://www.boost.org\n#######################\n+if (\"${BOOST_ROOT_DIR}\" STREQUAL \"\")\nEXTERNAL(boost ${BOOST_VERSION} ${... | C++ | Apache License 2.0 | apache/mesos | Added ability to specify a root dir for boost and curl with cmake.
This closes #361 |
46,072 | 18.05.2020 16:08:23 | -7,200 | d86f7afc6e95eef24d58f67a29fd6840f24fb296 | Added missing documentation for upgrade to 1.10.x. | [
{
"change_type": "MODIFY",
"old_path": "docs/upgrades.md",
"new_path": "docs/upgrades.md",
"diff": "@@ -66,11 +66,14 @@ We categorize the changes as follows:\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Module API-->\n<ul style=\"padding-left:10px;\">\n+ <li>C <a href=\"#1-10... | C++ | Apache License 2.0 | apache/mesos | Added missing documentation for upgrade to 1.10.x. |
46,072 | 18.05.2020 20:57:13 | -7,200 | 220935aa11ce5bdac236ba3379305f7d2e315b17 | Added to the 1.10.0 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -112,6 +112,7 @@ All Resolved Issues:\n* [MESOS-10123] - Windows overlapped IO discard handling can drop data.\n* [MESOS-10124] - OpenSSLSocketImpl on Windows with 'support_downgrade' is incorrectly polling for ... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-10128 to the 1.10.0 CHANGELOG. |
46,149 | 20.05.2020 19:20:39 | 14,400 | c966e89e967a5c55a79646037614521a1c1c8557 | Fixed FreeBSD memory detection.
See
This closes | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/freebsd.hpp",
"new_path": "3rdparty/stout/include/stout/os/freebsd.hpp",
"diff": "@@ -88,17 +88,28 @@ inline Try<Memory> memory()\nconst size_t pageSize = os::pagesize();\nunsigned int freeCount;\n- size_t length = sizeof(freeCo... | C++ | Apache License 2.0 | apache/mesos | Fixed FreeBSD memory detection.
See MESOS-10104.
This closes #365 |
46,149 | 20.05.2020 19:21:54 | 14,400 | 5a04a1693e4f1d51007c23728f1884a307e229a1 | Added a test for os::memory. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/os_tests.cpp",
"new_path": "3rdparty/stout/tests/os_tests.cpp",
"diff": "@@ -1289,3 +1289,20 @@ TEST_F(OsTest, Which)\nwhich = os::which(\"bar\");\nEXPECT_NONE(which);\n}\n+\n+\n+TEST_F(OsTest, Memory)\n+{\n+ Try<os::Memory> memory = os::m... | C++ | Apache License 2.0 | apache/mesos | Added a test for os::memory. |
46,055 | 17.05.2020 23:30:38 | -28,800 | b7c3da5a28fb46b4517d52872aec504fff098967 | Added a test `ROOT_CommandTaskNoRootfsWithUnmountVolumeFailure`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp",
"new_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp",
"diff": "namespace slave = mesos::internal::slave;\n+using process::Clock;\n+using process::Failure;\nusing process::Future;\nusi... | C++ | Apache License 2.0 | apache/mesos | Added a test `ROOT_CommandTaskNoRootfsWithUnmountVolumeFailure`.
Review: https://reviews.apache.org/r/72523 |
46,072 | 20.05.2020 22:17:54 | -7,200 | 6330a755ab40e2d771ba7f4fa5651281905c62b1 | Added documentation for the cmake install target.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/cmake.md",
"new_path": "docs/cmake.md",
"diff": "@@ -56,6 +56,30 @@ like usual. Similarly, if you configure with `-G Ninja` to use the Ninja\ngenerator, you can then run `ninja tests` to build the `tests` target with\nNinja.\n+# Installable build\n+\n+Thi... | C++ | Apache License 2.0 | apache/mesos | Added documentation for the cmake install target.
Review: https://reviews.apache.org/r/72535 |
46,072 | 19.04.2020 00:35:54 | -7,200 | 4d4fdead6ffafdfdeb16af3569f9ff879fc9f210 | Added install target into libprocess cmake build.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/CMakeLists.txt",
"new_path": "3rdparty/libprocess/src/CMakeLists.txt",
"diff": "@@ -129,3 +129,9 @@ target_compile_definitions(\ntarget_include_directories(process PUBLIC ../include)\ntarget_include_directories(process PRIVATE .)\n+\n+i... | C++ | Apache License 2.0 | apache/mesos | Added install target into libprocess cmake build.
Review: https://reviews.apache.org/r/72493 |
46,072 | 23.04.2020 11:53:57 | -7,200 | bc8556bf4f4bb3afc4f9f73b093c9fad1c639f70 | Added tests to cmake install target.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -75,6 +75,13 @@ set(\nThis is typically used by package managers that use different prefixes on a build\nsystem and on a target system.\")\n+# TODO(asekretenko): Con... | C++ | Apache License 2.0 | apache/mesos | Added tests to cmake install target.
Review: https://reviews.apache.org/r/72494 |
46,072 | 20.05.2020 23:24:30 | -7,200 | ba18d7803923a3e8281ff97fbac338c21fa1ddf0 | Added documentation for installing mesos-tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/cmake.md",
"new_path": "docs/cmake.md",
"diff": "@@ -65,18 +65,27 @@ cmake -DCMAKE_INSTALL_PREFIX=/home/current_user/mesos\ncmake --build . --target install\n```\n+To additionally install `mesos-tests` executable and related test helpers\n+(this can be us... | C++ | Apache License 2.0 | apache/mesos | Added documentation for installing mesos-tests.
Review: https://reviews.apache.org/r/72536 |
46,072 | 11.05.2020 20:28:02 | -7,200 | 40efbc8864c2c76147961910fa005468d70f5dfe | Added Web UI install target.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -677,6 +677,10 @@ install(\nLIBRARY DESTINATION ${MESOS_INSTALL_LIBRARIES})\n+install(\n+ DIRECTORY webui\n+ DESTINATION ${MESOS_INSTALL_DATA})\n+\n# BUILD THE MESOS TESTS.\n###################... | C++ | Apache License 2.0 | apache/mesos | Added Web UI install target.
Review: https://reviews.apache.org/r/72495 |
46,072 | 28.05.2020 21:13:08 | -7,200 | d4634f4dea55f9d541c6e7e94c58bc05772bb049 | Updated the version of latest stable to 1.10.0 on the website. | [
{
"change_type": "MODIFY",
"old_path": "docs/building.md",
"new_path": "docs/building.md",
"diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache... | C++ | Apache License 2.0 | apache/mesos | Updated the version of latest stable to 1.10.0 on the website. |
46,055 | 29.05.2020 16:55:02 | -28,800 | 1ec9dec9671973ffc10a1e10f5b44d79c9bb0005 | Removed `WIP` for 1.7.3 since it has already been released. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -929,7 +929,7 @@ All Resolved Issues:\n* [MESOS-9036] - Document `linux/seccomp` isolator\n-Release Notes - Mesos - Version 1.7.3 (WIP)\n+Release Notes - Mesos - Version 1.7.3\n----------------------------------... | C++ | Apache License 2.0 | apache/mesos | Removed `WIP` for 1.7.3 since it has already been released. |
46,119 | 29.05.2020 11:37:36 | -10,800 | d370c6eb954a95f98100750741b821be88e867d8 | Added headers install target for building modules into stout.
This patch introduces a conditional install target for stout headers
that is added when the `ENABLE_INSTALL_MODULE_DEPENDENCIES` flag is on.
This closes | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/CMakeLists.txt",
"new_path": "3rdparty/stout/CMakeLists.txt",
"diff": "@@ -37,4 +37,10 @@ target_link_libraries(\n$<$<PLATFORM_ID:Windows>:Ws2_32 IPHlpAPI Mswsock Secur32 Userenv>\n$<$<PLATFORM_ID:FreeBSD>:svn>)\n+if (ENABLE_INSTALL_MODULE_DEPEN... | C++ | Apache License 2.0 | apache/mesos | Added headers install target for building modules into stout.
This patch introduces a conditional install target for stout headers
that is added when the `ENABLE_INSTALL_MODULE_DEPENDENCIES` flag is on.
This closes #363 |
46,119 | 29.05.2020 11:37:36 | -10,800 | 4a09d9259d4f84c2550fd3b867bbfea47c3ca6af | Added headers install target for building modules into libprocess.
This patch introduces a conditional install target for libprocess
headers that is added when the `ENABLE_INSTALL_MODULE_DEPENDENCIES`
flag is on.
This closes | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/CMakeLists.txt",
"new_path": "3rdparty/libprocess/CMakeLists.txt",
"diff": "add_subdirectory(src)\nadd_subdirectory(src/tests)\nadd_subdirectory(examples)\n+\n+if (ENABLE_INSTALL_MODULE_DEPENDENCIES)\n+ install(\n+ DIRECTORY ${CMAKE_CURRENT... | C++ | Apache License 2.0 | apache/mesos | Added headers install target for building modules into libprocess.
This patch introduces a conditional install target for libprocess
headers that is added when the `ENABLE_INSTALL_MODULE_DEPENDENCIES`
flag is on.
This closes #363 |
46,072 | 02.06.2020 18:33:30 | -7,200 | 362bf9bc507a5a0c1d0360a9bf0057a11116f95e | Added cmake install for missing build-time module dependencies.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -227,6 +227,12 @@ if (\"${BOOST_ROOT_DIR}\" STREQUAL \"\")\nINSTALL_COMMAND ${CMAKE_NOOP}\nURL ${BOOST_URL}\nURL_HASH ${BOOST_HASH})\n+\n+ if (ENABLE_INSTALL_MODULE_DEPENDENCIES)\n+ i... | C++ | Apache License 2.0 | apache/mesos | Added cmake install for missing build-time module dependencies.
Review: https://reviews.apache.org/r/72561 |
46,053 | 08.06.2020 14:16:17 | -7,200 | 5cc10d680f85570a0ce1bf695484f5ff7271e1a8 | Added URI to failure messages in URI fetcher plugins.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/uri/fetchers/curl.cpp",
"new_path": "src/uri/fetchers/curl.cpp",
"diff": "@@ -153,49 +153,53 @@ Future<Nothing> CurlFetcherPlugin::fetch(\ns->status(),\nio::read(s->out().get()),\nio::read(s->err().get()))\n- .then([](const tuple<\n+ .then([uri](const tupl... | C++ | Apache License 2.0 | apache/mesos | Added URI to failure messages in URI fetcher plugins.
Review: https://reviews.apache.org/r/72575 |
46,053 | 10.06.2020 17:39:05 | -7,200 | a679eb4bc35bd2d7c4cffdd9440ab301d8fc8986 | Added support of `null` values for syscall `args` in Seccomp.
This patch adds support for `null` values of syscall arguments.
If the value is `null`, then syscall arguments are ignored.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/seccomp/seccomp_parser.cpp",
"new_path": "src/linux/seccomp/seccomp_parser.cpp",
"diff": "@@ -435,16 +435,18 @@ Try<Nothing> parseSyscalls(\n// Parse `args` section which contains seccomp filtering rules for syscall\n// arguments.\n- const auto args ... | C++ | Apache License 2.0 | apache/mesos | Added support of `null` values for syscall `args` in Seccomp.
This patch adds support for `null` values of syscall arguments.
If the value is `null`, then syscall arguments are ignored.
Review: https://reviews.apache.org/r/72596 |
46,099 | 23.06.2020 16:02:04 | -10,800 | dc87f8ca427876060afc4033424050de1058d769 | Fixed wclayer download when in Windows build with CMake 3.17+
This fixes incorrect setting `DOWNLOAD_NO_EXTRACT FALSE` in the
`wclayer` ExternalProject target, which breaks Windows build starting
from CMake 3.17+
The bug has apparently been triggered by the fix in the ExternalProject
module that makes `DOWNLOAD_NO_EXTR... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -976,7 +976,7 @@ if (WIN32)\nCONFIGURE_COMMAND ${CMAKE_NOOP}\nBUILD_COMMAND ${CMAKE_NOOP}\nINSTALL_COMMAND ${WCLAYER_INSTALL_CMD}\n- DOWNLOAD_NO_EXTRACT FALSE\n+ DOWNLOAD_NO_EXTRACT T... | C++ | Apache License 2.0 | apache/mesos | Fixed wclayer download when in Windows build with CMake 3.17+
This fixes incorrect setting `DOWNLOAD_NO_EXTRACT FALSE` in the
`wclayer` ExternalProject target, which breaks Windows build starting
from CMake 3.17+
The bug has apparently been triggered by the fix in the ExternalProject
module that makes `DOWNLOAD_NO_EX... |
46,072 | 27.05.2020 13:04:02 | -7,200 | 9d68993c77b621c7e88dcdcef1b383d94d7362c7 | Added a workaround for `javah -d java/jni` race for creating `java/jni`.
This is a workaround for the race between concurrent runs of `javah`
trying to create the same output directory.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2167,6 +2167,14 @@ BUILT_SOURCES += $(nodist_libjava_la_SOURCES)\n# of the java file. Unlike 'javah', 'javac -h' requires java sources to\n# generate headers.\njava/jni/%.h: $(MESOS_JAR)\n+ # NOTE: ... | C++ | Apache License 2.0 | apache/mesos | Added a workaround for `javah -d java/jni` race for creating `java/jni`.
This is a workaround for the race between concurrent runs of `javah`
trying to create the same output directory.
Review: https://reviews.apache.org/r/72549 |
46,072 | 30.06.2020 21:27:55 | -7,200 | 8ce5d30808f3744eeded09d530f226079d569a94 | Fixed build broken by a comment in the patch that fixes `javah` race.
This fixes build broken by | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2166,7 +2166,7 @@ BUILT_SOURCES += $(nodist_libjava_la_SOURCES)\n# * For 'javac -h' recipe, we substitute '_' with '/' to compute the source path\n# of the java file. Unlike 'javah', 'javac -h' requ... | C++ | Apache License 2.0 | apache/mesos | Fixed build broken by a comment in the patch that fixes `javah` race.
This fixes build broken by 9d68993c77b621c7e88dcdcef1b383d94d7362c7. |
46,084 | 27.07.2020 13:14:32 | 14,400 | f78a6eaca250a14ff660b09757e244ae25490811 | Deprecated tests plain text credential format.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/credentials_tests.cpp",
"new_path": "src/tests/credentials_tests.cpp",
"diff": "@@ -70,53 +70,6 @@ TEST_F(CredentialsTest, AuthenticatedSlave)\nASSERT_NE(\"\", slaveRegisteredMessage->slave_id().value());\n}\n-\n-// Test verifing well executed creden... | C++ | Apache License 2.0 | apache/mesos | Deprecated tests plain text credential format.
Review: https://reviews.apache.org/r/72620/ |
46,084 | 27.07.2020 13:14:45 | 14,400 | 3f9544390c89736b9cb5e177498cd67ff021bd93 | Remove credential text format support.
Since text format for credential is no longer supported, remove it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "+Release Notes - Mesos - Version 1.11.0 (WIP)\n+-------------------------------------------\n+\n+Additional API Changes:\n+\n+ * **Breaking change** Deprecated authentication credential text format support.\n+\nRel... | C++ | Apache License 2.0 | apache/mesos | Remove credential text format support.
Since text format for credential is no longer supported, remove it.
Review: https://reviews.apache.org/r/72600/ |
46,055 | 08.07.2020 11:22:09 | -28,800 | e5514e903478b688c6bcde7ca2551ba424055d10 | Updated `CSIPluginInfo` for supporting 3rd party CSI plugins.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1063,7 +1063,7 @@ message SlaveInfo {\n/**\n- * Describes the container configuration to run a CSI plugin component.\n+ * Describes the container configuration to run a managed C... | C++ | Apache License 2.0 | apache/mesos | Updated `CSIPluginInfo` for supporting 3rd party CSI plugins.
Review: https://reviews.apache.org/r/72661 |
46,055 | 13.07.2020 17:16:28 | -28,800 | 4d3c3d770eceff12ea5d39dbd57ce6bae602266e | Introduced a new agent flag `--csi_plugin_config_dir`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -1511,6 +1511,49 @@ Example config file in this directory:\n</td>\n</tr>\n+<tr id=\"csi_plugin_config_dir\">\n+ <td>\n+ --csi_plugin_config_dir=VALUE\n+ </td>\n+ <td>\n+Path t... | C++ | Apache License 2.0 | apache/mesos | Introduced a new agent flag `--csi_plugin_config_dir`.
Review: https://reviews.apache.org/r/72672 |
46,055 | 15.07.2020 16:02:48 | -28,800 | d2c84d14b63f137546c00d69b0309c4543811732 | Improved CSI service manager to support unmanaged CSI plugins.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/service_manager.cpp",
"new_path": "src/csi/service_manager.cpp",
"diff": "@@ -137,6 +137,12 @@ public:\nconst Runtime& _runtime,\nMetrics* _metrics);\n+ ServiceManagerProcess(\n+ const CSIPluginInfo& _info,\n+ const hashset<Service>& services,\n+ const... | C++ | Apache License 2.0 | apache/mesos | Improved CSI service manager to support unmanaged CSI plugins.
Review: https://reviews.apache.org/r/72683 |
46,128 | 03.08.2020 10:11:50 | 25,200 | 8d545180294ae705f7b8a2fe1578653107ede540 | Enabled pre-provisioned volumes in the volume manager.
This patch makes it possible to publish CSI volumes on an
agent which were pre-provisioned out of band.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/state.proto",
"new_path": "src/csi/state.proto",
"diff": "@@ -70,4 +70,9 @@ message VolumeState {\n// hence needs cleanup. If set, the resource provider MUST transition the\n// volume to `PUBLISHED` state during recovery.\nbool node_publish_required = ... | C++ | Apache License 2.0 | apache/mesos | Enabled pre-provisioned volumes in the volume manager.
This patch makes it possible to publish CSI volumes on an
agent which were pre-provisioned out of band.
Review: https://reviews.apache.org/r/72681/ |
46,128 | 03.08.2020 10:11:54 | 25,200 | c63797cd80a1d7d3f91d6a7eb1574e1e8ef063fb | Set the readonly field in the CSI volume manager.
This patch introduces a new `readonly` field in the CSI
`VolumeState` message and passes it through when publishing
volumes. This will allow us to set this field appropriately
when publishing pre-provisioned volumes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/state.proto",
"new_path": "src/csi/state.proto",
"diff": "@@ -75,4 +75,7 @@ message VolumeState {\n// pre-provisioned by some other means and then attached to the node using a\n// CSI plugin.\nbool pre_provisioned = 8;\n+\n+ // Indicates that the volum... | C++ | Apache License 2.0 | apache/mesos | Set the readonly field in the CSI volume manager.
This patch introduces a new `readonly` field in the CSI
`VolumeState` message and passes it through when publishing
volumes. This will allow us to set this field appropriately
when publishing pre-provisioned volumes.
Review: https://reviews.apache.org/r/72715/ |
46,128 | 03.08.2020 10:11:57 | 25,200 | c78dc333fc893a43d40dc33299a61987198a6ea9 | Added interface for the CSI server.
This component will hold objects associated with CSI plugins
running on the agent.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/slave/csi_server.hpp",
"diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for additional information\n+// regarding copyrig... | C++ | Apache License 2.0 | apache/mesos | Added interface for the CSI server.
This component will hold objects associated with CSI plugins
running on the agent.
Review: https://reviews.apache.org/r/72707/ |
46,128 | 10.08.2020 20:26:26 | 25,200 | 38ba19127ddb48244f7c6c699e3c41e5ea12b594 | Added support for secrets to the CSI volume managers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/state.proto",
"new_path": "src/csi/state.proto",
"diff": "@@ -78,4 +78,10 @@ message VolumeState {\n// Indicates that the volume must be mounted read-only.\nbool readonly = 9;\n+\n+ // Secrets to be included in `NodeStageVolumeRequest`.\n+ map<string, ... | C++ | Apache License 2.0 | apache/mesos | Added support for secrets to the CSI volume managers.
Review: https://reviews.apache.org/r/72732/ |
46,128 | 10.08.2020 20:11:50 | 25,200 | fe0cd02a0697a4c4fcf5087fcafd6729beec0b41 | Added implementation of the CSI server.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -150,6 +150,7 @@ set(AGENT_SRC\nslave/constants.cpp\nslave/container_daemon.cpp\nslave/container_logger.cpp\n+ slave/csi_server.cpp\nslave/flags.cpp\nslave/gc.cpp\nslave/http.cpp\n"
},
{
... | C++ | Apache License 2.0 | apache/mesos | Added implementation of the CSI server.
Review: https://reviews.apache.org/r/72716/ |
46,055 | 13.08.2020 16:37:48 | -28,800 | 831f172de7908ad8e40d14905cacb3a9c053e832 | Updated the help message of the agent flag `--csi_plugin_config_dir`.
This is to make the help message of the agent flag `--csi_plugin_config_dir`
aligned with the latest protobuf message `CSIPluginInfo`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -1548,7 +1548,12 @@ Example config files in this directory:\n}</code></pre>\n<pre><code>{\n\"type\": \"org.apache.mesos.csi.unmanaged-plugin\",\n- \"node_service_endpoint\": \... | C++ | Apache License 2.0 | apache/mesos | Updated the help message of the agent flag `--csi_plugin_config_dir`.
This is to make the help message of the agent flag `--csi_plugin_config_dir`
aligned with the latest protobuf message `CSIPluginInfo`.
Review: https://reviews.apache.org/r/72770 |
46,055 | 17.08.2020 19:22:48 | -28,800 | 014431e3c1b98e514e327318b52e5c54cc6174df | Updated volume manager to support user specified target path root.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/v0_volume_manager.cpp",
"new_path": "src/csi/v0_volume_manager.cpp",
"diff": "@@ -92,7 +92,10 @@ VolumeManagerProcess::VolumeManagerProcess(\nruntime(_runtime),\nserviceManager(_serviceManager),\nmetrics(_metrics),\n- secretResolver(_secretResolver)\n+... | C++ | Apache License 2.0 | apache/mesos | Updated volume manager to support user specified target path root.
Review: https://reviews.apache.org/r/72781 |
46,055 | 16.07.2020 22:13:18 | -28,800 | a3e8fd89b1a34cf479c454e9991712cd2999affe | Implemented the framework and `create` method of `volume/csi` isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -196,6 +196,7 @@ if (NOT WIN32)\nslave/containerizer/mesos/isolators/posix/disk.cpp\nslave/containerizer/mesos/isolators/posix/rlimits.cpp\nslave/containerizer/mesos/isolators/volume/sandbox_pa... | C++ | Apache License 2.0 | apache/mesos | Implemented the framework and `create` method of `volume/csi` isolator.
Review: https://reviews.apache.org/r/72690 |
46,055 | 04.08.2020 15:44:24 | -28,800 | 83ae449fa396d92e708e2ba8bb6f1312eb0fd5dd | Implemented the `prepare` method of `volume/csi` isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -3055,10 +3055,10 @@ message Volume {\n// TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.\nrequired Mode mode = 3;\n- // Path pointing to a directory or fi... | C++ | Apache License 2.0 | apache/mesos | Implemented the `prepare` method of `volume/csi` isolator.
Review: https://reviews.apache.org/r/72733 |
46,055 | 05.08.2020 17:14:46 | -28,800 | 17db3a90c644b5044e2b101cb431e37c2d23fed5 | Implemented the `cleanup` method of `volume/csi` isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"diff": "@@ -318,6 +318,84 @@ Future<Option<ContainerLaunchInfo>> VolumeCSIIsolatorProcess::_prepare(\nFuture<Nothi... | C++ | Apache License 2.0 | apache/mesos | Implemented the `cleanup` method of `volume/csi` isolator.
Review: https://reviews.apache.org/r/72734 |
46,055 | 08.08.2020 23:53:31 | -28,800 | 64cd6b82786de0bde3ddaaf221b5ab9a106c87c7 | Implemented the `recover` method of `volume/csi` isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\... | C++ | Apache License 2.0 | apache/mesos | Implemented the `recover` method of `volume/csi` isolator.
Review: https://reviews.apache.org/r/72753 |
46,055 | 10.08.2020 09:39:54 | -28,800 | 1fb79fefa4c28e0cf0be2686ee3d808dc30d2bfc | Enabled the `volume/csi` isolator in `MesosContainerizer`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/containerizer.cpp",
"new_path": "src/slave/containerizer/containerizer.cpp",
"diff": "#include \"hook/manager.hpp\"\n+#include \"slave/csi_server.hpp\"\n#include \"slave/flags.hpp\"\n#include \"slave/gc.hpp\"\n#include \"slave/slave.hpp... | C++ | Apache License 2.0 | apache/mesos | Enabled the `volume/csi` isolator in `MesosContainerizer`.
Review: https://reviews.apache.org/r/72754 |
46,055 | 12.08.2020 17:25:11 | -28,800 | b1b3ed096e31260a25ba74927786db3f92afb9d3 | Exposed Mesos agent ID to managed CSI plugins.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/service_manager.cpp",
"new_path": "src/csi/service_manager.cpp",
"diff": "@@ -128,6 +128,7 @@ class ServiceManagerProcess : public Process<ServiceManagerProcess>\n{\npublic:\nServiceManagerProcess(\n+ const SlaveID& _agentId,\nconst http::URL& _agentUr... | C++ | Apache License 2.0 | apache/mesos | Exposed Mesos agent ID to managed CSI plugins.
Review: https://reviews.apache.org/r/72759 |
46,072 | 12.08.2020 15:27:33 | -7,200 | b07e6bb0dc6c14ac229e34874461b25755404e8d | Removed `evolve(const scheduler::Call&)`.
This patch removes a non-trivial `evolve()` overload that is not used
anywhere in Mesos code and is not covered by tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/internal/evolve.cpp",
"new_path": "src/internal/evolve.cpp",
"diff": "@@ -283,25 +283,6 @@ v1::resource_provider::Event evolve(const resource_provider::Event& event)\n}\n-// TODO(xujyan): Do we need this conversion when Mesos never sends out\n-// `schedule... | C++ | Apache License 2.0 | apache/mesos | Removed `evolve(const scheduler::Call&)`.
This patch removes a non-trivial `evolve()` overload that is not used
anywhere in Mesos code and is not covered by tests.
Review: https://reviews.apache.org/r/72771 |
46,072 | 16.07.2020 15:48:03 | -7,200 | 7ec5357b379ea09a138f931a39fc5302fda2fd4d | Added protobuf messages for constraints-based offer filtering.
This patch adds framework's offer constraints into `Subscribe` and
`UpdateFramework` calls, which is a prerequisite to implementing
constraints-based offer filtering (see
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/attributes-resources.md",
"new_path": "docs/attributes-resources.md",
"diff": "@@ -35,6 +35,10 @@ Attributes are key-value pairs (where value is optional) that Mesos passes along\nattribute : text \":\" ( scalar | range | text )\n+Note that setting multip... | C++ | Apache License 2.0 | apache/mesos | Added protobuf messages for constraints-based offer filtering.
This patch adds framework's offer constraints into `Subscribe` and
`UpdateFramework` calls, which is a prerequisite to implementing
constraints-based offer filtering (see MESOS-10161).
Review: https://reviews.apache.org/r/72738 |
46,072 | 16.07.2020 20:45:43 | -7,200 | 73831ecd9d28a9a33077716f8643ae4ebae5fa6c | Introduced a `FrameworkOptions` struct into the allocator interface.
This patch supersedes the `suppressedRoles` parameter of the
`addFramework()`/`updateFramework()` allocator methods with a more
general `FrameworkOptions` struct that will allow to add more
allocation options that are of no interest to agents (and thu... | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "@@ -68,6 +68,19 @@ struct Options\n};\n+/**\n+ * Per-framework allocator-specific options that are not part of\n+ * `FrameworkInfo`.\n+ */\n+struct FrameworkO... | C++ | Apache License 2.0 | apache/mesos | Introduced a `FrameworkOptions` struct into the allocator interface.
This patch supersedes the `suppressedRoles` parameter of the
`addFramework()`/`updateFramework()` allocator methods with a more
general `FrameworkOptions` struct that will allow to add more
allocation options that are of no interest to agents (and th... |
46,072 | 16.07.2020 20:45:43 | -7,200 | f54d498a2d5dd716131769561cd790b416579e8e | Implemented offer constraints filter with Exists/NotExists predicates.
This patch implements an offer filtering object that supports the
Exists/NotExists offer constraints, and adds it into the allocator
interface.
More constraints will be added to this filter in further patches.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "// ONLY USEFUL AFTER RUNNING PROTOC.\n#include <mesos/allocator/allocator.pb.h>\n+#include <mesos/scheduler/scheduler.pb.h>\n#include <mesos/maintenance/maint... | C++ | Apache License 2.0 | apache/mesos | Implemented offer constraints filter with Exists/NotExists predicates.
This patch implements an offer filtering object that supports the
Exists/NotExists offer constraints, and adds it into the allocator
interface.
More constraints will be added to this filter in further patches.
Review: https://reviews.apache.org/r... |
46,072 | 03.08.2020 17:16:11 | -7,200 | f0af7082f8bd1586c7f5de9eaa3a8ef83060d632 | Added basic tests for the `OfferConstraintsFilter`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2693,6 +2693,7 @@ mesos_tests_SOURCES = \\\ntests/master_tests.cpp \\\ntests/master/mock_master_api_subscriber.cpp \\\ntests/master/mock_master_api_subscriber.hpp \\\n+ tests/master/offer_constraint... | C++ | Apache License 2.0 | apache/mesos | Added basic tests for the `OfferConstraintsFilter`.
Review: https://reviews.apache.org/r/72742 |
46,072 | 16.07.2020 20:45:43 | -7,200 | e73306e3e9a6759e1fc17e1aefc9ae17b4848f2b | Wired up the `OfferConstraintsFilter` into the hierarchical allocator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -606,7 +606,9 @@ Framework::Framework(\nactive(_active),\nmetrics(new FrameworkMetrics(frameworkInfo, publishPerFrameworkMetrics)),\nminAllocat... | C++ | Apache License 2.0 | apache/mesos | Wired up the `OfferConstraintsFilter` into the hierarchical allocator.
Review: https://reviews.apache.org/r/72774 |
46,072 | 31.07.2020 15:39:37 | -7,200 | 04599f9a6fc69617bf8810328d7ed6fa26310660 | Wired up creating `OfferConstraintsFilter` into the schdeuler API.
This patch makes SUBSCRIBE/UPDATE_FRAMEWORK calls actually construct
the offer constraints filter from the `offer_constraints` field and
pass it into the allocator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -141,6 +141,7 @@ namespace master {\nusing mesos::allocator::Allocator;\nusing mesos::allocator::FrameworkOptions;\n+using mesos::allocator::OfferConstraintsFilter;\nusing mesos::authoriz... | C++ | Apache License 2.0 | apache/mesos | Wired up creating `OfferConstraintsFilter` into the schdeuler API.
This patch makes SUBSCRIBE/UPDATE_FRAMEWORK calls actually construct
the offer constraints filter from the `offer_constraints` field and
pass it into the allocator.
Review: https://reviews.apache.org/r/72743 |
46,072 | 03.08.2020 17:16:11 | -7,200 | f284314ba053ad4efaf964ec8fb0426f3784a1b5 | Added a scheduler API test for a valid offer constraints update.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/update_framework_tests.cpp",
"new_path": "src/tests/master/update_framework_tests.cpp",
"diff": "@@ -193,7 +193,9 @@ class UpdateFrameworkTest : public MesosTest {};\nstatic Future<APIResult> callUpdateFramework(\nMesos* mesos,\nconst Framewor... | C++ | Apache License 2.0 | apache/mesos | Added a scheduler API test for a valid offer constraints update.
Review: https://reviews.apache.org/r/72744 |
46,128 | 20.08.2020 19:26:48 | 25,200 | 68b481085fb82b475e108b9aa39935a8d7729983 | Fixed a bug in CSI volume manager initialization.
Previously, the volume managers would assume that they could
make CONTROLLER_SERVICE calls during plugin initialization,
regardless of whether or not the plugin provides that service.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/v0_volume_manager.cpp",
"new_path": "src/csi/v0_volume_manager.cpp",
"diff": "@@ -648,7 +648,7 @@ Future<Nothing> VolumeManagerProcess::prepareServices()\nvector<Future<GetPluginInfoResponse>> futures;\nforeach (const Service& service, services) {\nfut... | C++ | Apache License 2.0 | apache/mesos | Fixed a bug in CSI volume manager initialization.
Previously, the volume managers would assume that they could
make CONTROLLER_SERVICE calls during plugin initialization,
regardless of whether or not the plugin provides that service.
Review: https://reviews.apache.org/r/72726/ |
46,128 | 20.08.2020 19:27:02 | 25,200 | 5ed30db48785007e35805886a024ebb8a61a7037 | Added the CSI server to the Mesos agent.
This patch adds a CSI server to the Mesos agent in both
the agent binary and in tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/local/local.cpp",
"new_path": "src/local/local.cpp",
"diff": "@@ -535,6 +535,7 @@ PID<Master> launch(const Flags& flags, Allocator* _allocator)\nsecretGenerators->back(),\nnullptr,\nnullptr,\n+ nullptr,\n#ifndef __WINDOWS__\nNone(),\n#endif // __WINDOWS__\... | C++ | Apache License 2.0 | apache/mesos | Added the CSI server to the Mesos agent.
This patch adds a CSI server to the Mesos agent in both
the agent binary and in tests.
Review: https://reviews.apache.org/r/72761/ |
46,128 | 20.08.2020 19:27:23 | 25,200 | 4ff51041df860dbcc2247ef47a0596e5132da190 | Initialized plugins lazily in the CSI server.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/csi_server.cpp",
"new_path": "src/slave/csi_server.cpp",
"diff": "#include <vector>\n#include <mesos/mesos.hpp>\n+#include <mesos/type_utils.hpp>\n#include <mesos/secret/resolver.hpp>\n@@ -58,6 +59,7 @@ using mesos::csi::state::VolumeState;\nusing pr... | C++ | Apache License 2.0 | apache/mesos | Initialized plugins lazily in the CSI server.
Review: https://reviews.apache.org/r/72779/ |
46,055 | 20.08.2020 17:08:32 | -28,800 | 2d2265de7df7801612fc2f104f9c8f455a97a1fd | Introduced the `CSIPluginInfo.target_path_exists` field.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1140,6 +1140,13 @@ message CSIPluginInfo {\n// Each volume will be published by the CSI plugin at a sub-directory\n// under this path.\noptional string target_path_root = 5;\n+\n... | C++ | Apache License 2.0 | apache/mesos | Introduced the `CSIPluginInfo.target_path_exists` field.
Review: https://reviews.apache.org/r/72788 |
46,055 | 20.08.2020 17:09:36 | -28,800 | d8647b018fbcfc38ccf0e39bfeae9118e275068f | Refactored state recovery in `volume/csi` isolator.
Read the checkpointed CSI volume state directly in protobuf message way.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"diff": "@@ -198,14 +198,12 @@ Try<Nothing> VolumeCSIIsolatorProcess::recoverContainer(\nreturn Nothing();\n}\n- Re... | C++ | Apache License 2.0 | apache/mesos | Refactored state recovery in `volume/csi` isolator.
Read the checkpointed CSI volume state directly in protobuf message way.
Review: https://reviews.apache.org/r/72789 |
46,072 | 03.08.2020 18:35:06 | -7,200 | 5e5d6832b196a450cad55a16cfb202256bef5b37 | Implemented offer constraints on a string attribute equality.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/offer_constraints_filter.cpp",
"new_path": "src/master/allocator/mesos/offer_constraints_filter.cpp",
"diff": "@@ -87,6 +87,15 @@ public:\nreturn Self(Exists{});\ncase AttributeConstraint::Predicate::kNotExists:\nreturn Self(NotExist... | C++ | Apache License 2.0 | apache/mesos | Implemented offer constraints on a string attribute equality.
Review: https://reviews.apache.org/r/72775 |
46,072 | 14.08.2020 21:52:51 | -7,200 | 62931a04f2cd2a1951d04bd348ff23700cc73d9b | Added basic tests for offer constraints on a string attribute equality.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"new_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"diff": "@@ -128,6 +128,137 @@ TEST(OfferConstraintsFilter, NamedAttributeNotExists)\n}\n+// Tests a single TextEquals constraint on a name... | C++ | Apache License 2.0 | apache/mesos | Added basic tests for offer constraints on a string attribute equality.
Review: https://reviews.apache.org/r/72776 |
46,072 | 15.07.2020 20:01:25 | -7,200 | b2e12fc423a5c1fcb786e2fce01193ef7207006e | Added RE2 to the CMake build.
This is a prerequisite for implementing regex-based offer constraints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -42,6 +42,7 @@ set(NVML_URL ${FETCH_URL}/nvml-${NVML_VERSION}.tar.gz)\nset(PICOJSON_URL ${FETCH_URL}/picojson-${PICOJSON_VERSION}.tar.gz)\nset(PROTOBUF_URL ${FETCH_URL}/protobuf-${PRO... | C++ | Apache License 2.0 | apache/mesos | Added RE2 to the CMake build.
This is a prerequisite for implementing regex-based offer constraints.
Review: https://reviews.apache.org/r/72782 |
46,072 | 17.08.2020 15:54:43 | -7,200 | afe493e73a2b954d1b2dba3d4c5f6b08b9cb0b1b | Added RE2 to the automake build.
This is a prerequisite to implementing regex-based offer constaints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/Makefile.am",
"new_path": "3rdparty/Makefile.am",
"diff": "@@ -71,6 +71,7 @@ PIP = pip-$(PIP_VERSION)\nPICOJSON = picojson-$(PICOJSON_VERSION)\nPROTOBUF = protobuf-$(PROTOBUF_VERSION)\nRAPIDJSON = rapidjson-$(RAPIDJSON_VERSION)\n+RE2 = re2-$(RE2_VERSI... | C++ | Apache License 2.0 | apache/mesos | Added RE2 to the automake build.
This is a prerequisite to implementing regex-based offer constaints.
Review: https://reviews.apache.org/r/72783 |
46,072 | 03.08.2020 18:35:06 | -7,200 | 470665e1575b9a91dffca974485940c7a0a1fe37 | Implemented regex-based offer constraints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "@@ -78,7 +78,23 @@ class OfferConstraintsFilterImpl;\nclass OfferConstraintsFilter\n{\npublic:\n+ // TODO(asekretenko): Given that most dependants of the publ... | C++ | Apache License 2.0 | apache/mesos | Implemented regex-based offer constraints.
Review: https://reviews.apache.org/r/72786 |
46,072 | 17.08.2020 20:57:43 | -7,200 | 355b971ead7079e3fabcb46aa0a8b9e31c9fb79e | Added basic tests for regexp-based constraints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"new_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"diff": "@@ -263,6 +263,192 @@ TEST(OfferConstraintsFilter, TwoAttributesWithTheSameName)\n}\n+// Tests a single TextMatches constraint on ... | C++ | Apache License 2.0 | apache/mesos | Added basic tests for regexp-based constraints.
Review: https://reviews.apache.org/r/72787 |
46,072 | 28.08.2020 18:15:23 | -7,200 | 213d2ab3da13232802805d81ed675c23fe1d2d51 | Fixed compilation failure due to type mis-deduction in `createRE2()`.
This fixes compilation failure on pre-3.9.0 clang/pre-8.0.0 gcc
introduced by which is
caused by the compilers deducing the type of the argument of
`template<T> Try(T&&)` forwarding constructor in the return statement
to be `unique_ptr&` instead of `... | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/offer_constraints_filter.cpp",
"new_path": "src/master/allocator/mesos/offer_constraints_filter.cpp",
"diff": "@@ -68,7 +68,9 @@ static Try<unique_ptr<const RE2>> createRE2(\nstringify(limits.maxProgramSize) + \" allowed\");\n}\n- re... | C++ | Apache License 2.0 | apache/mesos | Fixed compilation failure due to type mis-deduction in `createRE2()`.
This fixes compilation failure on pre-3.9.0 clang/pre-8.0.0 gcc
introduced by 470665e1575b9a91dffca974485940c7a0a1fe37 which is
caused by the compilers deducing the type of the argument of
`template<T> Try(T&&)` forwarding constructor in the return ... |
46,072 | 28.08.2020 19:51:03 | -7,200 | dff028b63bd0ece4bb1b0d60eac4c9aa1fc3242b | Fixed compilation failure due to -Wmissing-braces in `Master::Master()`.
This fixes compilation failure on some versions of clang/gcc
introduced in
caused by missing braces in `OfferConstraintsFilter` initialization. | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -335,8 +335,8 @@ Master::Master(\nmetrics(new Metrics(*this)),\nelectedTime(None()),\nofferConstraintsFilterOptions(\n- {flags.offer_constraints_re2_max_mem,\n- flags.offer_constraints_re... | C++ | Apache License 2.0 | apache/mesos | Fixed compilation failure due to -Wmissing-braces in `Master::Master()`.
This fixes compilation failure on some versions of clang/gcc
introduced in 470665e1575b9a91dffca974485940c7a0a1fe37
caused by missing braces in `OfferConstraintsFilter` initialization. |
46,072 | 28.08.2020 20:00:45 | -7,200 | 7adebe5234bb22f17bcfbfef10d88c542b197531 | Fixed distcheck failure due to wrongly referencing non-existent header.
This removes a reference to non-existent `offer_constraints_filter.hpp`
in `Makefile.am` accidentally committed in | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -1133,7 +1133,6 @@ libmesos_no_3rdparty_la_SOURCES += \\\nmaster/allocator/mesos/hierarchical.hpp \\\nmaster/allocator/mesos/metrics.cpp \\\nmaster/allocator/mesos/metrics.hpp \\\n- master/allocator/... | C++ | Apache License 2.0 | apache/mesos | Fixed distcheck failure due to wrongly referencing non-existent header.
This removes a reference to non-existent `offer_constraints_filter.hpp`
in `Makefile.am` accidentally committed in
470665e1575b9a91dffca974485940c7a0a1fe37. |
46,128 | 31.08.2020 13:02:18 | 25,200 | a1bfa749e594bd8d9eb008ea4d90e6811f5f7e07 | Fixed broken authorization in the CSI server.
The CSI server must use a principal when authenticating
which contains a claim that allows the authorizer to
implicitly approve requests from the CSI server to the
agent's HTTP API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/csi_server.cpp",
"new_path": "src/slave/csi_server.cpp",
"diff": "@@ -73,6 +73,8 @@ namespace mesos {\nnamespace internal {\nnamespace slave {\n+constexpr char DEFAULT_CSI_CONTAINER_PREFIX[] = \"mesos-internal-csi-\";\n+\nstatic VolumeState createVol... | C++ | Apache License 2.0 | apache/mesos | Fixed broken authorization in the CSI server.
The CSI server must use a principal when authenticating
which contains a claim that allows the authorizer to
implicitly approve requests from the CSI server to the
agent's HTTP API.
Review: https://reviews.apache.org/r/72816/ |
46,055 | 26.08.2020 10:33:26 | -28,800 | 17f28563488ddaeb2daa60b53bd8dc19e25cddef | Enabled CSI volume access for non-root users.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/volume/csi/isolator.cpp",
"diff": "@@ -356,6 +356,7 @@ Future<Option<ContainerLaunchInfo>> VolumeCSIIsolatorProcess::prepare(\nMount mount;\n... | C++ | Apache License 2.0 | apache/mesos | Enabled CSI volume access for non-root users.
Review: https://reviews.apache.org/r/72804 |
46,055 | 30.08.2020 10:23:06 | -28,800 | ea4099028cfe93e1e2fd80e4d30e03057ec27df1 | Relaxed unknown volume check when unpublishing volumes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/csi/v0_volume_manager.cpp",
"new_path": "src/csi/v0_volume_manager.cpp",
"diff": "@@ -498,7 +498,10 @@ Future<Nothing> VolumeManagerProcess::publishVolume(\nFuture<Nothing> VolumeManagerProcess::unpublishVolume(const string& volumeId)\n{\nif (!volumes.cont... | C++ | Apache License 2.0 | apache/mesos | Relaxed unknown volume check when unpublishing volumes.
Review: https://reviews.apache.org/r/72820 |
46,072 | 31.08.2020 19:53:21 | -7,200 | 2ac1c60e84cb9e758ba047d47914cfc34fb17089 | Augmented `MasterAPITest.FrameworksEvent` to verify reregistration time.
This patch makes the test additionally check that the FRAMEWORK_UPDATED
event reports a reregistration time larger than the registration time.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/api_tests.cpp",
"new_path": "src/tests/api_tests.cpp",
"diff": "@@ -3359,6 +3359,7 @@ TEST_P(MasterAPITest, FrameworksEvent)\nAWAIT_READY(event);\n+ ::mesos::v1::TimeInfo registeredTime;\n{\nEXPECT_EQ(v1::master::Event::FRAMEWORK_ADDED, event.get()->... | C++ | Apache License 2.0 | apache/mesos | Augmented `MasterAPITest.FrameworksEvent` to verify reregistration time.
This patch makes the test additionally check that the FRAMEWORK_UPDATED
event reports a reregistration time larger than the registration time.
Review: https://reviews.apache.org/r/72826 |
46,072 | 20.08.2020 18:45:44 | -7,200 | f6791097995f0e736349a852fdb7fef11e809e63 | Fixed typos in the name of `PullingSameImageSimutanuously` test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"new_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"diff": "@@ -335,7 +335,7 @@ public:\n// This tests the store to pull the same image simultaneously.\n// This test verifies that the stor... | C++ | Apache License 2.0 | apache/mesos | Fixed typos in the name of `PullingSameImageSimutanuously` test.
Review: https://reviews.apache.org/r/72792 |
46,072 | 20.08.2020 18:16:39 | -7,200 | 3ee545c4f039000adc80d4bac3550e40616999db | Added discarding a future returned by get() into the docker store test.
This patch extends the `PullingSameImageSimultaneously` test
with discarding one of the futures returned by `store->get()`
and making sure that the pull still completes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"new_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"diff": "@@ -335,6 +335,9 @@ public:\n// This tests the store to pull the same image simultaneously.\n// This test verifies that the stor... | C++ | Apache License 2.0 | apache/mesos | Added discarding a future returned by get() into the docker store test.
This patch extends the `PullingSameImageSimultaneously` test
with discarding one of the futures returned by `store->get()`
and making sure that the pull still completes.
Review: https://reviews.apache.org/r/72793 |
46,072 | 20.08.2020 18:36:40 | -7,200 | 5274e973c9d9ff06f9c80af9c80efd510aa492b7 | Added a test for discarding image pull on discard of getting image.
This test checks that when all futures returned by docker store's
`get()` that are pending image pull are discarded by the callers,
the pull future (returned by the puller to the store) is discarded
by the store as well.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"new_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"diff": "#include <stout/path.hpp>\n#include <stout/stringify.hpp>\n+#include <process/clock.hpp>\n#include <process/future.hpp>\n#includ... | C++ | Apache License 2.0 | apache/mesos | Added a test for discarding image pull on discard of getting image.
This test checks that when all futures returned by docker store's
`get()` that are pending image pull are discarded by the callers,
the pull future (returned by the puller to the store) is discarded
by the store as well.
Review: https://reviews.apach... |
46,072 | 31.08.2020 18:34:00 | -7,200 | 9bb35fe23fed7756af9ceebccea74bf175fa6e47 | Extracted FrameworkInfo comparison logic from tests.
This patch extracts the code that performs `FrameworkInfo` comparison
via protobuf `MessageDifferencer` from the framework update tests
into a set of general-purpose methods.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/type_utils.hpp",
"new_path": "include/mesos/type_utils.hpp",
"diff": "#include <mesos/mesos.hpp>\n+#include <stout/option.hpp>\n#include <stout/stringify.hpp>\n#include <stout/strings.hpp>\n#include <stout/uuid.hpp>\n@@ -121,6 +122,20 @@ inline b... | C++ | Apache License 2.0 | apache/mesos | Extracted FrameworkInfo comparison logic from tests.
This patch extracts the code that performs `FrameworkInfo` comparison
via protobuf `MessageDifferencer` from the framework update tests
into a set of general-purpose methods.
Review: https://reviews.apache.org/r/72822 |
46,072 | 31.08.2020 18:34:00 | -7,200 | 8839af89e2ace33c7b7223790a9a75e67cf43110 | Removed `bool operator==(const FrameworkInfo&, const FrameworkInfo&)`.
This patch removes the outdated `operator==` for `FrameworkInfo`
(which has been comparing only `name` and `user` fields)
and replaces it with `equivalent()` in the tests that need to compare
`FrameworkInfo`s.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/type_utils.hpp",
"new_path": "include/mesos/type_utils.hpp",
"diff": "@@ -116,10 +116,10 @@ inline bool operator==(const FrameworkID& left, const FrameworkID& right)\n}\n-inline bool operator==(const FrameworkInfo& left, const FrameworkInfo& righ... | C++ | Apache License 2.0 | apache/mesos | Removed `bool operator==(const FrameworkInfo&, const FrameworkInfo&)`.
This patch removes the outdated `operator==` for `FrameworkInfo`
(which has been comparing only `name` and `user` fields)
and replaces it with `equivalent()` in the tests that need to compare
`FrameworkInfo`s.
Review: https://reviews.apache.org/r/... |
46,072 | 31.08.2020 18:35:16 | -7,200 | 720cc709339efb51a7c464bb3fc547cf0935c911 | Eliminated redundant update broadcasts in UPDATE_FRAMEWORK.
This patch makes the UPDATE_FRAMEWORK call avoid sending the
`UpdatedFrameworkMessage` to agents and the `FRAMEWORK_UPDATED`
event to V1 API subscribers when the FrameworkInfo is not changed
by the call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -2844,12 +2844,21 @@ void Master::_subscribe(\nstd::move(options));\n}\n+ // TODO(asekretenko): Consider avoiding to broadcast `FrameworkInfo` to agents\n+ // when it has not changed. Not... | C++ | Apache License 2.0 | apache/mesos | Eliminated redundant update broadcasts in UPDATE_FRAMEWORK.
This patch makes the UPDATE_FRAMEWORK call avoid sending the
`UpdatedFrameworkMessage` to agents and the `FRAMEWORK_UPDATED`
event to V1 API subscribers when the FrameworkInfo is not changed
by the call.
Review: https://reviews.apache.org/r/72824 |
46,072 | 31.08.2020 20:46:55 | -7,200 | 2bf7f5d8dcb359845a663a011a941809ffc2366d | Added a test of UPDATE_FRAMEWORK with the same FrameworkInfo.
This test verifies that calling UPDATE_FRAMEWORK with no changes in
`FrameworkInfo` (i.e. to change suppressed roles or offer constraints)
results in no API event FRAMEWORK_UPDATED sent to the subscribers and
no `UpdatedFrameworkMessage` broadcast to the age... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/update_framework_tests.cpp",
"new_path": "src/tests/master/update_framework_tests.cpp",
"diff": "@@ -437,6 +437,95 @@ TEST_F(UpdateFrameworkTest, MutableFieldsUpdateSuccessfully)\n};\n+// This test issues two UpdateFrameworkCalls: the first on... | C++ | Apache License 2.0 | apache/mesos | Added a test of UPDATE_FRAMEWORK with the same FrameworkInfo.
This test verifies that calling UPDATE_FRAMEWORK with no changes in
`FrameworkInfo` (i.e. to change suppressed roles or offer constraints)
results in no API event FRAMEWORK_UPDATED sent to the subscribers and
no `UpdatedFrameworkMessage` broadcast to the ag... |
46,128 | 03.09.2020 12:06:31 | 25,200 | a3fe939616fe13f34bd3555d613a0e1323730424 | Updated the test CSI plugin for CSI server testing.
This patch adds additional configuration flags to the
test CSI plugin which are necessary in order to test
the agent's CSI server.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/examples/test_csi_plugin.cpp",
"new_path": "src/examples/test_csi_plugin.cpp",
"diff": "#include <algorithm>\n#include <limits>\n#include <memory>\n+#include <string>\n#include <thread>\n#include <utility>\n#include <vector>\n@@ -96,8 +97,6 @@ using grpc::... | C++ | Apache License 2.0 | apache/mesos | Updated the test CSI plugin for CSI server testing.
This patch adds additional configuration flags to the
test CSI plugin which are necessary in order to test
the agent's CSI server.
Review: https://reviews.apache.org/r/72727/ |
46,128 | 03.09.2020 12:06:34 | 25,200 | f0ce0f1d8601228f16efbb98420693af42b19d43 | Added a test helper for CSI volumes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -853,6 +853,66 @@ inline TVolume createVolumeFromDockerImage(\n}\n+template <typename TVolume>\n+inline TVolume createVolumeCsi(\n+ const std::string& pluginName,\n+ const std::string volumeI... | C++ | Apache License 2.0 | apache/mesos | Added a test helper for CSI volumes.
Review: https://reviews.apache.org/r/72805/ |
46,128 | 03.09.2020 12:06:38 | 25,200 | fc22984de558302029a8cad0655e375653208448 | Added tests for the 'volume/csi' isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2873,6 +2873,7 @@ mesos_tests_SOURCES += \\\ntests/containerizer/runtime_isolator_tests.cpp \\\ntests/containerizer/sched_tests.cpp \\\ntests/containerizer/setns_test_helper.cpp \\\n+ tests/containe... | C++ | Apache License 2.0 | apache/mesos | Added tests for the 'volume/csi' isolator.
Review: https://reviews.apache.org/r/72728/ |
46,128 | 04.09.2020 10:39:10 | 25,200 | a8059a78473774e3d95e8e908f360ee5e9aadd0d | Added tests for 'volume/csi' isolator recovery.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/volume_csi_isolator_tests.cpp",
"new_path": "src/tests/containerizer/volume_csi_isolator_tests.cpp",
"diff": "@@ -1117,6 +1117,366 @@ TEST_P(VolumeCSIIsolatorTest, ROOT_UnmanagedPlugin)\nAWAIT_READY(finishedUpdate);\n}\n+\n+// When the ... | C++ | Apache License 2.0 | apache/mesos | Added tests for 'volume/csi' isolator recovery.
Review: https://reviews.apache.org/r/72806/ |
46,072 | 04.09.2020 17:04:25 | -7,200 | abf0c7ab8ae94b06349fdbb74c4e76e78d5c371d | Moved framework update out of `connectAndActivateRecoveredFramework`.
This patch consolidates updating framework in the Subscribe call
by moving `updateFramework()` invocation from
`connectAndActivateRecoveredFramework()` into `Master::_subscribe()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -2823,12 +2823,11 @@ void Master::_subscribe(\nframework->metrics.incrementCall(scheduler::Call::SUBSCRIBE);\n+ updateFramework(framework, frameworkInfo, std::move(options));\n+\nif (!fra... | C++ | Apache License 2.0 | apache/mesos | Moved framework update out of `connectAndActivateRecoveredFramework`.
This patch consolidates updating framework in the Subscribe call
by moving `updateFramework()` invocation from
`connectAndActivateRecoveredFramework()` into `Master::_subscribe()`.
Review: https://reviews.apache.org/r/72838 |
46,165 | 09.09.2020 23:28:04 | 14,400 | b0ee625ce1c07177e3e12ffa56ce3d76969dfdbe | Fixed an omitted 1.8.1 in the releases list of the website.
1.8.1 was added to the news section of the site data,
but not the versions section. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -208,6 +208,8 @@ versions:\n## after we create the ReleaseNote for 0.28.1, we get the link:\n## https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=1233535... | C++ | Apache License 2.0 | apache/mesos | Fixed an omitted 1.8.1 in the releases list of the website.
1.8.1 was added to the news section of the site data,
but not the versions section. |
46,165 | 01.09.2020 15:08:08 | 14,400 | c762478ebcbfbcadc513fd6ec57fcdd7a84bbf69 | Avoided unnecessary [] map operators in the master.
To avoid the potential for accidental insertion into the maps,
we prefer to use the .at operator for const access.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -10445,7 +10445,7 @@ void Master::removeFramework(Framework* framework)\nif (slave != nullptr) {\nforeachkey (const ExecutorID& executorId,\n- utils::copy(framework->executors[slaveId])) ... | C++ | Apache License 2.0 | apache/mesos | Avoided unnecessary [] map operators in the master.
To avoid the potential for accidental insertion into the maps,
we prefer to use the .at operator for const access.
Review: https://reviews.apache.org/r/72832 |
46,143 | 09.09.2020 17:20:58 | 18,000 | a5b7765d3ef2905d11ffadbb877377b07624a99c | Fixed Website bot to work with docker user namespaces.
ASF CI has enabled user namespaces for docker daemon on the build
machines that are used to build the website. This commit makes the
requisite changes to work with user namespacing.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-website.sh",
"new_path": "support/mesos-website.sh",
"diff": "@@ -32,15 +32,11 @@ docker build --no-cache=true -t $TAG support/mesos-website\ntrap 'docker rmi $TAG' EXIT\n-# NOTE: We set `LOCAL_USER_ID` environment variable to enable running the\... | C++ | Apache License 2.0 | apache/mesos | Fixed Website bot to work with docker user namespaces.
ASF CI has enabled user namespaces for docker daemon on the build
machines that are used to build the website. This commit makes the
requisite changes to work with user namespacing.
Review: https://reviews.apache.org/r/72856 |
46,143 | 10.09.2020 07:09:14 | 18,000 | 0a9e90af54edc4a1c48a406b54404246a86d1499 | Reduced build parallelism to avoid aborted builds in CI.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-website/entrypoint.sh",
"new_path": "support/mesos-website/entrypoint.sh",
"diff": "@@ -44,7 +44,7 @@ fi\nmkdir -p build\npushd build\n../configure --disable-python\n-make -j6\n+make -j3 # Higher parallelism sometimes causes CI to get stuck.\npop... | C++ | Apache License 2.0 | apache/mesos | Reduced build parallelism to avoid aborted builds in CI.
Review: https://reviews.apache.org/r/72858 |
46,143 | 10.09.2020 16:30:12 | 18,000 | f86cb659fc38a198261b8d62bd463f8d3eb313f0 | Added cleanup of build dir to website bot.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-website/entrypoint.sh",
"new_path": "support/mesos-website/entrypoint.sh",
"diff": "@@ -21,7 +21,10 @@ set -e\nset -o pipefail\nfunction exit_hook {\n- # Remove generated documents when exit.\n+ # Remove mesos build directory on exit.\n+ rm -rf /... | C++ | Apache License 2.0 | apache/mesos | Added cleanup of build dir to website bot.
Review: https://reviews.apache.org/r/72862 |
46,165 | 11.09.2020 13:00:49 | 14,400 | 049a0c7227411b0847741a8fc87a2f24fa28ea15 | Fixed a compilation issue on GCC 5.5 and older. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -7776,7 +7776,7 @@ TEST_F(MasterTest, NonCheckpointingFrameworkAgentDisconnectionExecutorOnly)\nconst v1::master::Response::GetAgents::Agent& agent =\nresponse->get_agents().age... | C++ | Apache License 2.0 | apache/mesos | Fixed a compilation issue on GCC 5.5 and older. |
46,072 | 08.09.2020 16:50:22 | -7,200 | aa14054722c38ca9e7e24e77133ad82d70c4ddc2 | Fixed a stale comment about delayed permissions when batching requests.
Now that synchronous authorization requires the authorizer to keep
object approvers up-to-date by the authorizer, batched processing
of readonly requests in the Master no longer intorduces an additional
delay into propagation of permission changes.... | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -2335,6 +2335,16 @@ Future<Response> Master::Http::deferBatchedRequest(\n// specific to the batched requests which are always members of\n// `ReadOnlyHandler`, since we rely on the response o... | C++ | Apache License 2.0 | apache/mesos | Fixed a stale comment about delayed permissions when batching requests.
Now that synchronous authorization requires the authorizer to keep
object approvers up-to-date by the authorizer, batched processing
of readonly requests in the Master no longer intorduces an additional
delay into propagation of permission changes... |
46,072 | 04.09.2020 20:23:25 | -7,200 | c8f8fbd328235fcd7aa1b32e079fb6f9a424b881 | Added `OfferConstraints` to `struct Framework` in the master.
This is a prerequisite for exposing framework's offer constraints
via master API endpoints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/framework.cpp",
"new_path": "src/master/framework.cpp",
"diff": "@@ -25,6 +25,7 @@ using process::Owned;\nusing process::http::authentication::Principal;\nusing mesos::authorization::ActionObject;\n+using mesos::scheduler::OfferConstraints;\nnamespa... | C++ | Apache License 2.0 | apache/mesos | Added `OfferConstraints` to `struct Framework` in the master.
This is a prerequisite for exposing framework's offer constraints
via master API endpoints.
Review: https://reviews.apache.org/r/72839 |
46,072 | 04.09.2020 21:31:41 | -7,200 | ae35c0ca003adb41298d256678788e41cdea0523 | Exposed offer constraints via the `/state` and `/frameworks` endpoints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/readonly_handler.cpp",
"new_path": "src/master/readonly_handler.cpp",
"diff": "@@ -257,6 +257,11 @@ void FullFrameworkWriter::operator()(JSON::ObjectWriter* writer) const\nif (framework_->info.has_labels()) {\nwriter->field(\"labels\", framework_->i... | C++ | Apache License 2.0 | apache/mesos | Exposed offer constraints via the `/state` and `/frameworks` endpoints.
Review: https://reviews.apache.org/r/72840 |
46,072 | 07.09.2020 21:42:32 | -7,200 | 8369e77b23de9453156626344a3ea0e36b4dd529 | Added offer constraints to the `GetFrameworks` protobuf.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -22,6 +22,8 @@ import \"mesos/maintenance/maintenance.proto\";\nimport \"mesos/quota/quota.proto\";\n+import \"mesos/scheduler/scheduler.proto\";\n+\npackage mesos... | C++ | Apache License 2.0 | apache/mesos | Added offer constraints to the `GetFrameworks` protobuf.
Review: https://reviews.apache.org/r/72841 |
46,072 | 07.09.2020 21:43:27 | -7,200 | e00e7a1b578de1161fbb181124cad2a20df5bb95 | Exposed framework offer constraints via the GET_FRAMEWORKS call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -1301,6 +1301,10 @@ mesos::master::Response::GetFrameworks::Framework model(\n_framework.mutable_offered_resources()->Add()->CopyFrom(resource);\n}\n+ if (framework.offerConstraints().isSome(... | C++ | Apache License 2.0 | apache/mesos | Exposed framework offer constraints via the GET_FRAMEWORKS call.
Review: https://reviews.apache.org/r/72842 |
46,072 | 11.09.2020 19:08:00 | -7,200 | b441034156bec33d096e0ec45ece3cc2dc8fa3e0 | Made `UpdateFrameworkTest.OfferConstraints` build constraints from JSON.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/update_framework_tests.cpp",
"new_path": "src/tests/master/update_framework_tests.cpp",
"diff": "@@ -810,6 +810,28 @@ TEST_F(UpdateFrameworkTest, OfferConstraints)\nusing ::mesos::v1::scheduler::AttributeConstraint;\nusing ::mesos::v1::schedul... | C++ | Apache License 2.0 | apache/mesos | Made `UpdateFrameworkTest.OfferConstraints` build constraints from JSON.
Review: https://reviews.apache.org/r/72864 |
46,072 | 17.09.2020 19:37:51 | -7,200 | 89576d8f4d322e2b2436ddd9ed882e71937ca61c | Made the hierarchical allocator store `FrameworkInfo` internally.
To make it possible to add into the allocator debugguing HTTP endpoints
that will need to authorize principal's viewing access to frameworks,
it becomes necessary to store `FrameworkInfo` in the allocator, so that
it can compose an authorization object f... | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -600,6 +600,7 @@ Framework::Framework(\nbool _active,\nbool publishPerFrameworkMetrics)\n: frameworkId(frameworkInfo.id()),\n+ info(frameworkIn... | C++ | Apache License 2.0 | apache/mesos | Made the hierarchical allocator store `FrameworkInfo` internally.
To make it possible to add into the allocator debugguing HTTP endpoints
that will need to authorize principal's viewing access to frameworks,
it becomes necessary to store `FrameworkInfo` in the allocator, so that
it can compose an authorization object ... |
46,072 | 09.09.2020 14:48:00 | -7,200 | 7aee5a87d117601b0f551a68dac4ea25903e5f81 | Added an endpoint for debugging offer constraints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "#include <mesos/allocator/allocator.pb.h>\n#include <mesos/scheduler/scheduler.pb.h>\n+#include <mesos/authorizer/authorizer.hpp>\n#include <mesos/maintenance... | C++ | Apache License 2.0 | apache/mesos | Added an endpoint for debugging offer constraints.
Review: https://reviews.apache.org/r/72851 |
46,072 | 15.09.2020 18:20:44 | -7,200 | a2c5cb8d571dc0b967b469263ce236f977e11f4c | Consolidated protobuf construction by the JNI scheduler driver.
This patch converts the copy-pasted internals of numerous
`construct<>()` specializations for protobufs into a single
template.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/java/jni/construct.cpp",
"new_path": "src/java/jni/construct.cpp",
"diff": "@@ -52,6 +52,26 @@ T parse(const void* data, int size)\n}\n+template <class TMessage>\n+TMessage constructViaProtobufSerialization(JNIEnv* env, jobject jobj)\n+{\n+ jclass clazz = ... | C++ | Apache License 2.0 | apache/mesos | Consolidated protobuf construction by the JNI scheduler driver.
This patch converts the copy-pasted internals of numerous
`construct<>()` specializations for protobufs into a single
template.
Review: https://reviews.apache.org/r/72875 |
46,194 | 09.09.2020 15:59:34 | -7,200 | 098315f6b92ca076ef7cd197b039efcbcaf80e77 | Exposed hierarchical allocator recovery parameters as master flags.
This closes | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "namespace mesos {\nnamespace allocator {\n+constexpr Duration DEFAULT_ALLOCATOR_RECOVERY_TIMEOUT = Minutes(10);\n+constexpr double DEFAULT_ALLOCATOR_AGENT_REC... | C++ | Apache License 2.0 | apache/mesos | Exposed hierarchical allocator recovery parameters as master flags.
This closes #367 |
46,072 | 22.09.2020 14:55:13 | -7,200 | 739a704a11f6cfc68ab6e035c7e945d8f5774303 | Added `OfferConstraints` validity criteria into protobuf comments.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/scheduler/scheduler.proto",
"new_path": "include/mesos/scheduler/scheduler.proto",
"diff": "@@ -443,6 +443,15 @@ message AttributeConstraint {\n// NOTE: Even if a particular resource matches offer constraints of a\n// framework's role, there is s... | C++ | Apache License 2.0 | apache/mesos | Added `OfferConstraints` validity criteria into protobuf comments.
Review: https://reviews.apache.org/r/72898 |
46,072 | 22.09.2020 14:55:43 | -7,200 | 242f49ee95e0bcac68d67e0d07f0ce5f3a133e87 | Added a test for creating a filter from default `OfferConstraints`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"new_path": "src/tests/master/offer_constraints_filter_tests.cpp",
"diff": "@@ -581,3 +581,16 @@ TEST(OfferConstraintsFilter, TwoRoles)\nEXPECT_TRUE(\nfilter->isAgentExcluded(\"roleB\", slaveInfoWithAttribu... | C++ | Apache License 2.0 | apache/mesos | Added a test for creating a filter from default `OfferConstraints`.
Review: https://reviews.apache.org/r/72899 |
46,072 | 16.09.2020 12:25:19 | -7,200 | fcfa3271c0c4fc2d8c6ae7cfd88cd82d26d2e1d1 | Added offer constraints to `MesosSchedulerDriver::updateFramework()`.
This patch adds an ability to set V0 framework's offer constraints
via the C++ V0 scheduler driver.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/scheduler.hpp",
"new_path": "include/mesos/scheduler.hpp",
"diff": "#include <vector>\n#include <mesos/mesos.hpp>\n+#include <mesos/scheduler/scheduler.pb.h>\n// Mesos scheduler interface and scheduler driver. A scheduler is used\n// to interact ... | C++ | Apache License 2.0 | apache/mesos | Added offer constraints to `MesosSchedulerDriver::updateFramework()`.
This patch adds an ability to set V0 framework's offer constraints
via the C++ V0 scheduler driver.
Review: https://reviews.apache.org/r/72874 |
46,072 | 16.09.2020 12:28:24 | -7,200 | 930c7e98d17e71192dae1d49b4b2217cc2dbd8b2 | Added offer constraints to `updateFramework()` in the Java bindings.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/examples/java/TestFramework.java",
"new_path": "src/examples/java/TestFramework.java",
"diff": "@@ -28,6 +28,8 @@ import com.google.protobuf.ByteString;\nimport org.apache.mesos.*;\nimport org.apache.mesos.Protos.*;\n+import org.apache.mesos.scheduler.Prot... | C++ | Apache License 2.0 | apache/mesos | Added offer constraints to `updateFramework()` in the Java bindings.
Review: https://reviews.apache.org/r/72900 |
46,055 | 19.09.2020 11:11:04 | -28,800 | 8700dd8d5ece658804d7b7a40863800dcc5c72bc | Inferred CSI volume's `readonly` field from volume mode.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -3205,16 +3205,15 @@ message Volume {\nmessage StaticProvisioning {\nrequired string volume_id = 1;\nrequired VolumeCapability volume_capability = 2;\n- optional bool readonly = 3... | C++ | Apache License 2.0 | apache/mesos | Inferred CSI volume's `readonly` field from volume mode.
Review: https://reviews.apache.org/r/72888 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.