Re: Review Request 68813: Added support for `Option` / `Option`.

2018-10-04 Thread Michael Park
is use case of passing a temporary, we cannot delete the rvalue reference ctor. - Michael --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68813/#review208927 -

Re: Review Request 68820: Bumped mesos-tidy to upstream release_70.

2018-09-25 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68820/#review208988 --- Ship it! Ship It! - Michael Park On Sept. 23, 2018, 12:32

Re: Review Request 67988: Improved performance of jsonify by integrating with rapidjson.

2018-07-23 Thread Michael Park
> On July 20, 2018, 2:29 p.m., Michael Park wrote: > > Looks good! > > > > It might be worth considering using the `OStreamWrapper` stuff for the > > `ostream` API. > > I know writing to `StringBuffer` is faster than writing to > > `OStrea

Re: Review Request 67988: Improved performance of jsonify by integrating with rapidjson.

2018-07-20 Thread Michael Park
--- > > (Updated July 19, 2018, 8:38 p.m.) > > > Review request for mesos, Alexander Rukletsov, Benno Evers, and Michael Park. > > > Bugs: MESOS-9092 > https://issues.apache.org/jira/browse/MESOS-9092 > > > Repository: mesos > > &

Re: Review Request 67988: Improved performance of jsonify by integrating with rapidjson.

2018-07-20 Thread Michael Park
` in the end anyway. 3rdparty/stout/include/stout/jsonify.hpp Line 137 (original), 95 (patched) <https://reviews.apache.org/r/67988/#comment289186> Looks like `GetString` returns a `const char*`. We should provide the length here: `{buffer.GetString(), buffer.GetSize()}`. - Michae

Re: Review Request 67861: Updated json parsing to avoid copying between picojson and stout JSON.

2018-07-09 Thread Michael Park
), 352-377 (patched) <https://reviews.apache.org/r/67861/#comment288785> While we're here, we could also replace these with the pointer versions of `boost::get`. We might get some better performance: https://godbolt.org/g/B84cLb - Michael Park On July 9, 2018, 6:40 p.m., Benjamin Mahler

Re: Review Request 67861: Updated json parsing to avoid copying between picojson and stout JSON.

2018-07-09 Thread Michael Park
(patched) <https://reviews.apache.org/r/67861/#comment288784> Perhaps leave a small comment + a pointer to https://github.com/kazuho/picojson/blob/v1.3.0/picojson.h#L820-L870 here. - Michael Park On July 9, 2018, 6:40 p.m., Benjamin Mahler

Re: Review Request 67861: Updated json parsing to avoid copying between picojson and stout JSON.

2018-07-09 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67861/#review205890 --- Ship it! Ship It! - Michael Park On July 9, 2018, 6:40 p.m

Review Request 66114: Added supporting scripts for Mesos LLVM Tools.

2018-03-16 Thread Michael Park
: mesos Description --- See summary. Diffs - support/llvm/README.md PRE-CREATION support/llvm/install.sh PRE-CREATION Diff: https://reviews.apache.org/r/66114/diff/1/ Testing --- Thanks, Michael Park

Review Request 66115: Added `mesos-tidy.py`, a modified version of `run-clang-tidy.py`.

2018-03-16 Thread Michael Park
: mesos Description --- See summary. Diffs - support/mesos-tidy.py PRE-CREATION Diff: https://reviews.apache.org/r/66115/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 66007: CMake: Set C++11 as standard automatically.

2018-03-14 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66007/#review199157 --- Ship it! Ship It! - Michael Park On March 9, 2018, 2:37 p.m

Re: Review Request 66031: Avoided copying when possible in Option::getOrElse.

2018-03-12 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66031/#review199046 --- Ship it! Ship It! - Michael Park On March 12, 2018, 5:08

Re: Review Request 65823: Avoid copies of task reconciliation status updates.

2018-02-27 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65823/#review198360 --- Ship it! Ship It! - Michael Park On Feb. 27, 2018, 3:32 p.m

Re: Review Request 65683: Updated discard handling in 'Docker::inspect()'.

2018-02-27 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65683/#review198355 --- Ship it! Ship It! - Michael Park On Feb. 27, 2018, 2:35 a.m

Re: Review Request 65786: Prevented Docker library from terminating incorrect processes.

2018-02-23 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65786/#review198228 --- Ship it! Ship It! - Michael Park On Feb. 23, 2018, 2:37 p.m

Re: Review Request 65514: Introduced a CHECK_NOTERROR macro.

2018-02-23 Thread Michael Park
would be to do `string(t.error())` and add a `operator const string&()` to `Error`. - Michael Park On Feb. 5, 2018, 2:06 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To re

Re: Review Request 65515: Added rvalue reference Try::get overloads.

2018-02-11 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65515/#review197248 --- Ship it! Ship It! - Michael Park On Feb. 5, 2018, 2:08 p.m

Re: Review Request 65515: Added rvalue reference Try::get overloads.

2018-02-11 Thread Michael Park
decltype(std::forward(self).data.get()) { if (!self.data.isSome()) { assert(self.error_.isSome()); ABORT("Try::get() but state == ERROR: " + self.error_->message); } return std::forward(self).data

Re: Review Request 65512: Fixed race in Python egg caching.

2018-02-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65512/#review196842 --- Ship it! Ship It! - Michael Park On Feb. 5, 2018, 11:50 a.m

Re: Review Request 65464: Introduced `mesos-build` along with pre-built docker images.

2018-02-04 Thread Michael Park
://reviews.apache.org/r/65464/diff/3-4/ Testing (updated) --- https://builds.apache.org/job/Mesos-Buildbot-Test/103/ Thanks, Michael Park

Re: Review Request 65464: Introduced `mesos-build` along with pre-built docker images.

2018-02-03 Thread Michael Park
/diff/2-3/ Testing (updated) --- https://builds.apache.org/job/Mesos-Buildbot-Test/101/ Thanks, Michael Park

Review Request 65463: Removed the `mesos-style.py` run from `buildbot.sh`.

2018-02-01 Thread Michael Park
environment. Diffs - support/jenkins/buildbot.sh 7f78509699b036df025c314fe913158f54402014 Diff: https://reviews.apache.org/r/65463/diff/1/ Testing --- Thanks, Michael Park

Review Request 65464: WIP: Introduced `mesos-build`, along with pre-built docker images.

2018-02-01 Thread Michael Park
-CREATION support/mesos-build/ubuntu-16.04.dockerfile PRE-CREATION Diff: https://reviews.apache.org/r/65464/diff/1/ Testing --- Thanks, Michael Park

Review Request 65432: Added `examples/flags.hpp` to `src/Makefile.am`.

2018-01-31 Thread Michael Park
--- Added `examples/flags.hpp` to `src/Makefile.am`. Diffs - src/Makefile.am 155338673e1c23a2cfeab39bdf3ebe14568bfebc Diff: https://reviews.apache.org/r/65432/diff/1/ Testing --- Thanks, Michael Park

Review Request 65428: Reduced the output from Maven during builds.

2018-01-30 Thread Michael Park
--- See summary. Diffs - src/Makefile.am 155338673e1c23a2cfeab39bdf3ebe14568bfebc Diff: https://reviews.apache.org/r/65428/diff/1/ Testing --- Thanks, Michael Park

Review Request 65376: Reverted `protobuf::read(path)` to return `Result`.

2018-01-28 Thread Michael Park
/stout/protobuf.hpp 7e7659814a5d95c41c4dfabb5669fd061dff4716 Diff: https://reviews.apache.org/r/65376/diff/1/ Testing --- Thanks, Michael Park

Review Request 65378: Reverted the uses of `state::read` since it returns `Result`.

2018-01-28 Thread Michael Park
41c12f61520b2e769e3a1226bf0a767f779c2a75 src/tests/protobuf_io_tests.cpp 4cdf17fd2426159643c719a17fee6e6cedb40f55 src/tests/slave_recovery_tests.cpp 6dcbedb94a2c7b3d65770fc89920c0cad1298d1f Diff: https://reviews.apache.org/r/65378/diff/1/ Testing --- Thanks, Michael Park

Review Request 65377: Updated `state::read` to return `Result`.

2018-01-28 Thread Michael Park
186048f159d6ce20d9c5dc65c00012eb5911520b src/slave/state.hpp dcab4434a0d82efec33f55a1037c892d0a7e9d55 src/slave/state.cpp 41c12f61520b2e769e3a1226bf0a767f779c2a75 Diff: https://reviews.apache.org/r/65377/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 65375: Added move construction and assignment to Future.

2018-01-28 Thread Michael Park
/future.hpp Lines 116-117 (patched) <https://reviews.apache.org/r/65375/#comment276021> We shouldn't need these, as the copy/move assignment operators will cover these scenarios already. For example, we don't define these for `Option` and `Try`. - Michael Park On Jan. 28, 2018, 6:

Review Request 65372: Replaced the `Os.Which` test to use `cat` rather than `ping`.

2018-01-28 Thread Michael Park
--- Successfully ran: ```bash OS=ubuntu:16.04 COMPILER=gcc CONFIGURATION="--verbose --disable-libtool-wrappers" JOBS=32 BUILDTOOL=autotools ENVIRONMENT="GLOG_v=1 MESOS_VERBOSE=1" support/docker-build.sh ``` Thanks, Michael Park

Re: Review Request 65212: Updated `mesos-tidy` docker build setup for benchmarks.

2018-01-18 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65212/#review195742 --- Ship it! Ship It! - Michael Park On Jan. 18, 2018, 5:24 a.m

Re: Review Request 61811: Flattened continuation chains in containerizer for readability.

2018-01-18 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61811/#review195734 --- Ship it! Ship It! - Michael Park On Jan. 18, 2018, 5:11 a.m

Re: Review Request 65204: Eliminated some unnecessary copying in the agent's HTTP operator API.

2018-01-17 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65204/#review195678 --- Ship it! Ship It! - Michael Park On Jan. 17, 2018, 5:19 p.m

Re: Review Request 65200: Added a default move constructor for Result.

2018-01-17 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65200/#review195663 --- Ship it! Ship It! - Michael Park On Jan. 17, 2018, 3:30 p.m

Review Request 65149: MesosTidy: Enabled `mesos-this-capture`.

2018-01-12 Thread Michael Park
, Michael Park

Re: Review Request 65063: Replace `stringify()` with `jsonify()` in http serialization.

2018-01-12 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65063/#review195377 --- Ship it! Ship It! - Michael Park On Jan. 9, 2018, 11:06 p.m

Re: Review Request 65022: Updated uses of `protobuf::read(path)` which now returns `Try`.

2018-01-10 Thread Michael Park
ve an empty file. In short, these changes are safe. - Michael --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65022/#review195108 --------

Re: Review Request 65022: Updated uses of `protobuf::read(path)` which now returns `Try`.

2018-01-10 Thread Michael Park
ba8a2a > src/slave/state.cpp 5428b341b061c8209a5cfe63e17b71467d9f4c48 > src/tests/protobuf_io_tests.cpp 4a2e3a3bc87c1a3394368439e5dd30b410e468a4 > src/tests/slave_recovery_tests.cpp e305d7430b64409fdac84a33ee072707471d2c49 > > > Diff: https://reviews.apache.org/r/65022/diff/1/ > > > Testing > --- > > > Thanks, > > Michael Park > >

Review Request 65055: Fixed the order of parameters of `is_specialization_of` in libprocess.

2018-01-09 Thread Michael Park
--- Fixed the order of parameters of `is_specialization_of` in libprocess. Diffs - 3rdparty/libprocess/include/process/future.hpp 54fbbeb9a3378298a71bb569b22ed5dd6d3c39ef Diff: https://reviews.apache.org/r/65055/diff/1/ Testing --- Thanks, Michael Park

Review Request 65054: Fixed the order of parameters of `is_specialization_of` in stout.

2018-01-09 Thread Michael Park
<Type, Template>`. Diffs - 3rdparty/stout/include/stout/traits.hpp 5dea08404fd12f68af0538a16c5ee1d9734dd8c5 Diff: https://reviews.apache.org/r/65054/diff/1/ Testing --- Thanks, Michael Park

Review Request 65031: Replaced `convertResourceFormat` with `downgradeResources` accordingly.

2018-01-08 Thread Michael Park
149009b07663f530c444d0b7205f23fe4510 Diff: https://reviews.apache.org/r/65031/diff/1/ Testing --- Thanks, Michael Park

Review Request 65030: Replaced `convertResourceFormat` with `upgradeResources` appropriately.

2018-01-08 Thread Michael Park
Diff: https://reviews.apache.org/r/65030/diff/1/ Testing --- Thanks, Michael Park

Review Request 65029: Added `vector` overloads for `(down/up)gradeResources`.

2018-01-08 Thread Michael Park
Diff: https://reviews.apache.org/r/65029/diff/1/ Testing --- Thanks, Michael Park

Review Request 65025: Replaced `os::read` with `state::read`.

2018-01-08 Thread Michael Park
d6ea618b20431ac95f880045143d09366f1740bf src/slave/state.cpp 5428b341b061c8209a5cfe63e17b71467d9f4c48 src/tests/slave_recovery_tests.cpp e305d7430b64409fdac84a33ee072707471d2c49 Diff: https://reviews.apache.org/r/65025/diff/1/ Testing --- Thanks, Michael Park

Review Request 65023: Added `state::read` to complement `state::checkpoint`.

2018-01-08 Thread Michael Park
, Michael Park

Review Request 65026: Replaced `ResourcesState::recoverResources` with `state::read`.

2018-01-08 Thread Michael Park
5428b341b061c8209a5cfe63e17b71467d9f4c48 src/tests/slave_recovery_tests.cpp e305d7430b64409fdac84a33ee072707471d2c49 Diff: https://reviews.apache.org/r/65026/diff/1/ Testing --- Thanks, Michael Park

Review Request 65022: Updated uses of `protobuf::read(path)` which now returns `Try`.

2018-01-08 Thread Michael Park
--- Thanks, Michael Park

Review Request 65024: Replaced `protobuf::read` with `state::read`.

2018-01-08 Thread Michael Park
src/tests/slave_recovery_tests.cpp e305d7430b64409fdac84a33ee072707471d2c49 Diff: https://reviews.apache.org/r/65024/diff/1/ Testing --- Thanks, Michael Park

Review Request 65021: Returned `Try` from `protobuf::read(path)` rather than `Result`.

2018-01-08 Thread Michael Park
5a27f15bac Diff: https://reviews.apache.org/r/65021/diff/1/ Testing --- Thanks, Michael Park

Review Request 64924: Fixed the broken GRPC build.

2018-01-03 Thread Michael Park
e2608723af0ef9955e46da300254306497d2d6df Diff: https://reviews.apache.org/r/64924/diff/1/ Testing --- Thanks, Michael Park

Review Request 64920: Introduced `upgradeResources` to complement `downgradeResources`.

2018-01-03 Thread Michael Park
bd9e025c29fc100121dd187603b2b116207762ba Diff: https://reviews.apache.org/r/64920/diff/1/ Testing --- Thanks, Michael Park

Review Request 64919: Updated the comment for `precomputeResourcesContainment`.

2018-01-03 Thread Michael Park
bd9e025c29fc100121dd187603b2b116207762ba Diff: https://reviews.apache.org/r/64919/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 64739: Upgraded resources that come from `protobuf::read`.

2018-01-02 Thread Michael Park
an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64739/#review194659 ------- On Jan. 2, 2018, 3:39 p.m., Michael Park wrote: > > --- > This i

Re: Review Request 64739: Upgraded resources that come from `protobuf::read`.

2018-01-02 Thread Michael Park
8a188a918873eef468a984b80f5ea7ebaa8fb923 Diff: https://reviews.apache.org/r/64739/diff/2/ Changes: https://reviews.apache.org/r/64739/diff/1-2/ Testing --- Thanks, Michael Park

Re: Review Request 63976: Modified `downgradeResources` to use protobuf reflection.

2018-01-02 Thread Michael Park
` Thanks, Michael Park

Re: Review Request 64739: Upgraded resources that come from `protobuf::read`.

2018-01-02 Thread Michael Park
ps://reviews.apache.org/r/64739/#review194396 --- On Dec. 19, 2017, 4:51 p.m., Michael Park wrote: > > --- > This is an automatically generated e-mail. To reply, vis

Re: Review Request 63976: Modified `downgradeResources` to use protobuf reflection.

2018-01-02 Thread Michael Park
, Michael Park

Review Request 64895: Renamed "normalize" to "upgrade" in resources adjustment operations.

2018-01-02 Thread Michael Park
src/common/resources_utils.hpp 5b74ff2dd3ecb1a0101671d11ea10e29a43524b0 src/common/resources_utils.cpp 47ba885517bdfef4764deb0826e13538ce529902 src/master/http.cpp d7276e45e11f680e909027566b3cf29af10882c9 src/master/master.cpp 03eb178fa1af7d55ae387e6cb42cdc8d721a2196 Diff: https://reviews.apache.org/r/64895/diff/1/ Test

Re: Review Request 63976: Modified `downgradeResources` to use protobuf reflection.

2018-01-02 Thread Michael Park
} } ``` I think the issue is mainly in the way in which we need to treat repeated fields. If we were able to get access to a repeated field of `Message`s and pass it to the recursive call, we could have the check at the top of `downgradeResourcesImpl`. But as far as I know, the only

Re: Review Request 64738: Pulled out `upgradeResources` out of `validateAndNormalizeResources`.

2017-12-27 Thread Michael Park
ing with the presence of "downgrade". - Michael --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64738/#review194205 ------

Re: Review Request 64686: Fixed the type-punned pointer and strict aliasing issue.

2017-12-22 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64686/#review194452 --- Ship it! Ship It! - Michael Park On Dec. 22, 2017, 5:42 a.m

Review Request 63978: Added tests for protobuf reflection-based `downgradeResources`.

2017-12-19 Thread Michael Park
for protobuf reflection-based `downgradeResources`. Testing --- Thanks, Michael Park

Review Request 64739: Upgraded resources that come from `protobuf::read`.

2017-12-19 Thread Michael Park
--- See summary. Diffs - src/resource_provider/storage/provider.cpp 79d7f602bbc57bce308157dfbb6c2afaef806f23 src/slave/containerizer/mesos/paths.cpp 8a188a918873eef468a984b80f5ea7ebaa8fb923 Diff: https://reviews.apache.org/r/64739/diff/1/ Testing --- Thanks, Michael

Review Request 64738: Pulled out `upgradeResources` out of `validateAndNormalizeResources`.

2017-12-19 Thread Michael Park
--- See summary. Diffs - src/common/resources_utils.cpp 1676b72a9ad15bf8b131698a0600a1b0937c00b4 Diff: https://reviews.apache.org/r/64738/diff/1/ Testing --- Thanks, Michael Park

Review Request 64737: Added validation / normalized resources for storage-related operations.

2017-12-19 Thread Michael Park
validation / normalized resources for storage-related operations. Diffs - src/common/resources_utils.cpp 1676b72a9ad15bf8b131698a0600a1b0937c00b4 Diff: https://reviews.apache.org/r/64737/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 63951: Added noexcept specifier to Option.

2017-12-08 Thread Michael Park
Lines 101 (patched) <https://reviews.apache.org/r/63951/#comment271801> This condition is implied from the constructibility requirement. The standard doesn't specify these, for example. - Michael Park On Nov. 20, 2017, 6:38 a.m., Dmitry Zhuk

Re: Review Request 64428: Eliminated some copying of tasks / executors in agent re-registration.

2017-12-07 Thread Michael Park
<https://reviews.apache.org/r/64428/#comment271720> Shouldn't need `std::cref` here. - Michael Park On Dec. 7, 2017, 12:46 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To

Re: Review Request 64427: Added a RepeatedPtrField to vector conversion overload for rvalues.

2017-12-07 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64427/#review193183 --- Ship it! Ship It! - Michael Park On Dec. 7, 2017, 12:55 p.m

Review Request 64391: Fixed incorrect testing of existence of variables.

2017-12-06 Thread Michael Park
- src/webui/master/static/js/jquery.pailer.js 93ff04bac328d72a45317b2f15ccbc5e45c161d4 Diff: https://reviews.apache.org/r/64391/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 63915: Reduced tasks copying during agent reregistration.

2017-12-06 Thread Michael Park
> On Dec. 4, 2017, 11:37 a.m., Michael Park wrote: > > src/master/master.hpp > > Line 128 (original), 128 (patched) > > <https://reviews.apache.org/r/63915/diff/3/?file=1904570#file1904570line128> > > > > Maybe we can consider making thi

Re: Review Request 63761: Replaced std::shared_ptr with std::unique_ptr in dispatch.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63761/#review192937 --- Ship it! Ship It! - Michael Park On Dec. 5, 2017, 10:07 a.m

Re: Review Request 63913: Replaced std::shared_ptr with std::unique_ptr in Future.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63913/#review192938 --- Ship it! Ship It! - Michael Park On Nov. 21, 2017, 9:52 a.m

Re: Review Request 63641: Used move for events consumption in master.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63641/#review192917 --- Ship it! Ship It! - Michael Park On Nov. 7, 2017, 9:42 a.m

Re: Review Request 63638: Added callable once support in Future.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63638/#review192916 --- Ship it! Ship It! - Michael Park On Nov. 21, 2017, 9:51 a.m

Re: Review Request 63637: Added callable once support in defer.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63637/#review192915 --- Ship it! Ship It! - Michael Park On Dec. 5, 2017, 4:20 a.m

Re: Review Request 64338: Reduced number of supported arguments in _Deferred conversion operators.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64338/#review192910 --- Ship it! Ship It! - Michael Park On Dec. 5, 2017, 4:18 a.m

Re: Review Request 63635: Prepared defer for use in callable once contexts.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63635/#review192907 --- Ship it! Ship It! - Michael Park On Nov. 7, 2017, 8:51 a.m

Re: Review Request 64347: Made libprocess event movable only.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64347/#review192894 --- Ship it! Ship It! - Michael Park On Dec. 5, 2017, 10:06 a.m

Re: Review Request 63631: Separated event visiting and consumption.

2017-12-05 Thread Michael Park
o be updated. 3rdparty/libprocess/include/process/event.hpp Lines 155-158 (original), 178-181 (patched) <https://reviews.apache.org/r/63631/#comment271210> Let's clean these up and pull them up and declare them `= delete;`. Here and below. - Michael Park On Dec. 4, 2017, 8:01

Re: Review Request 64337: Fixed CallableOnce operator() signature.

2017-12-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64337/#review192872 --- Ship it! Ship It! - Michael Park On Dec. 5, 2017, 4:13 a.m

Review Request 64332: Removed `constexpr`-ness from `cpp17::invoke`.

2017-12-05 Thread Michael Park
--- `std::invoke` is not marked `constexpr`. Diffs - 3rdparty/stout/include/stout/cpp17.hpp 3c4cc5345c94270785fa1594d7310af2b4dcf402 Diff: https://reviews.apache.org/r/64332/diff/1/ Testing --- Thanks, Michael Park

Review Request 64331: Added more `cpp17::invoke` test cases.

2017-12-05 Thread Michael Park
--- See summary. Diffs - 3rdparty/stout/tests/cpp17_tests.cpp 37d817f1af90cc6a17c5d7f17cf0571fd3f4ac7c Diff: https://reviews.apache.org/r/64331/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 64312: Added reservation refinement documentation.

2017-12-04 Thread Michael Park
e-mail. To reply, visit: https://reviews.apache.org/r/64312/#review192779 ------- On Dec. 4, 2017, 1:58 p.m., Michael Park wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org

Re: Review Request 64312: Added reservation refinement documentation.

2017-12-04 Thread Michael Park
docs/upgrades.md 33ba4a69e6e53a313e89a3a24448e3e551443e23 Diff: https://reviews.apache.org/r/64312/diff/2/ Changes: https://reviews.apache.org/r/64312/diff/1-2/ Testing --- Thanks, Michael Park

Re: Review Request 63915: Reduced tasks copying during agent reregistration.

2017-12-04 Thread Michael Park
(original), 128 (patched) <https://reviews.apache.org/r/63915/#comment271003> Maybe we can consider making this `vector&&` as discussed in https://reviews.apache.org/r/63914/ - Michael Park On Nov. 21, 2017, 9:53 a.m., Dmi

Re: Review Request 63634: Changed dispatch to use callable once functors.

2017-12-04 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63634/#review192745 --- Ship it! Ship It! - Michael Park On Nov. 7, 2017, 8:51 a.m

Review Request 64312: Added reservation refinement documentation.

2017-12-04 Thread Michael Park
/resource_provider_manager_tests.cpp a4c19ca769e66110d9aba0bae4792df9db3fed01 src/v1/mesos.cpp 2c81b37468dc27da863eb8a56a213436b94b73de Diff: https://reviews.apache.org/r/64312/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 63914: Changed agent reregistration to work with message directly.

2017-12-04 Thread Michael Park
;`. Maybe we should make it `vector&&` such that we don't run into this? Same with `agentCapabilities` and other related data - Michael Park On Nov. 21, 2017, 9:53 a.m., Dmitry Zhuk wrote: > > --- > This is an aut

Re: Review Request 63630: Added support for callable once functors.

2017-12-04 Thread Michael Park
he.org/r/63630/#comment270962> Is this required for something? I'd prefer to get rid of it if we're not using it. If we do need it for something, let's make it a `using` declaration. 3rdparty/stout/include/stout/lambda.hpp Lines 384 (patched) <https://reviews.apache.org/r/63630/#comment270961> `f

Re: Review Request 64274: Added `lambda::partial` to .

2017-12-04 Thread Michael Park
/tests/lambda_tests.cpp ad8c2efddb6b64184670d0cfb33188ef843351ab Diff: https://reviews.apache.org/r/64274/diff/2/ Changes: https://reviews.apache.org/r/64274/diff/1-2/ Testing --- Thanks, Michael Park

Re: Review Request 63631: Separated event visiting and consumption.

2017-12-04 Thread Michael Park
) <https://reviews.apache.org/r/63631/#comment270934> It looks like `consume` in this case happens to not actually move the `HttpEvent`, but if it were to we'd be in trouble due to the fact that `HttpEvent` holds a raw pointer and the move ctor is not defined accordingly. - Michae

Review Request 64274: Added `lambda::partial` to .

2017-12-03 Thread Michael Park
: https://reviews.apache.org/r/64274/diff/1/ Testing --- Thanks, Michael Park

Re: Review Request 63636: Added placeholder implementation.

2017-12-01 Thread Michael Park
che.org/r/63636/#comment270713> We shouldn't need this one. - Michael Park On Nov. 22, 2017, 6:13 a.m., Dmitry Zhuk wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 63632: Migrated to event consumer interface.

2017-12-01 Thread Michael Park
s breadcrumb for us to know that we need to change code here. No need to make an extra copy of `MessageEvent`, here and below. - Michael Park On Nov. 7, 2017, 8:51 a.m., Dmitry Zhuk wrote: > > --- > This is an automatic

Re: Review Request 63631: Separated event visiting and consumption.

2017-12-01 Thread Michael Park
) <https://reviews.apache.org/r/63631/#comment270702> Let's remove this since we're constructing new ones within the `for` loop now. - Michael Park On Nov. 7, 2017, 8:51 a.m., Dmitry Zhuk wrote: > > --- > This is an automati

Re: Review Request 63630: Added support for callable once functors.

2017-12-01 Thread Michael Park
ent270694> We recently started to stick to this pattern: ``` tmeplate ::type = 0> ``` - Michael Park On Nov. 22, 2017, 6:10 a.m., Dmitry Zhuk wrote: > > --- > This is an automatically generated e-mail. To re

Review Request 64248: Added `cpp17::invoke` in .

2017-12-01 Thread Michael Park
: https://reviews.apache.org/r/64248/diff/1/ Testing --- Addded `cpp17_tests.cpp` Thanks, Michael Park

Re: Review Request 63628: Implemented index_sequence and related functionality.

2017-11-30 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63628/#review192445 --- Ship it! Ship It! - Michael Park On Nov. 30, 2017, 12:40

Re: Review Request 64195: Updated the tests to use MULTI_ROLE frameworks by default.

2017-11-30 Thread Michael Park
be an empty string? - Michael Park On Nov. 29, 2017, 5:45 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 64194: Stripped AllocationInfo from offers to non-MULTI_ROLE schedulers.

2017-11-30 Thread Michael Park
`Offer`. src/master/master.cpp Lines 8143 (patched) <https://reviews.apache.org/r/64194/#comment270542> `s/r/resource/`? - Michael Park On Nov. 29, 2017, 5:45 p.m., Benjamin Mahler wrote: > > --- &g

  1   2   3   4   5   6   7   8   9   10   >