-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69089/
-----------------------------------------------------------
Review request for mesos, Meng Zhu and Till Toenshoff.
Bugs: MESOS-9336
https://issues.apache.org/jira/browse/MESOS-9336
Repository: mesos
Description
-------
This eliminates copying of the task labels in three cases:
* In the master when mutating the task with the hook's labels.
* In the hook manager when mutating labels on a copy of the task.
* In the hook manager when returning the labels.
We still copy the entire task info once, but eliminating that
requires an interface change.
Diffs
-----
src/hook/manager.cpp eaca93af9167e5662d7ad57bcdae0cf20dcb64b6
src/master/master.cpp 868787bb2f9d879531402f83507b322462322efc
Diff: https://reviews.apache.org/r/69089/diff/1/
Testing
-------
make check
Thanks,
Benjamin Mahler