mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Urbanovich <sergey.urbanov...@gmail.com>
Subject Re: Review Request 68053: Call any function in a specified namespace.
Date Tue, 31 Jul 2018 05:34:41 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68053/
-----------------------------------------------------------

(Updated July 31, 2018, 5:34 a.m.)


Review request for mesos, Benjamin Mahler, Chun-Hung Hsiao, Jie Yu, and Qian Zhang.


Changes
-------

Added NamespaceRunner::ProcessingQueue. It uses mutex and condition variable to solve the
problems with process::Queue. Please let me know if you think that libprocess would be a better
place for this class.


Bugs: MESOS-5647
    https://issues.apache.org/jira/browse/MESOS-5647


Repository: mesos


Description
-------

The NamespaceRunner runs any function in a specified namespace. To do
that it manages a separate thread which would be re-associated with
that namespace.


Diffs (updated)
-----

  src/linux/ns.hpp 0b4136bd3cc2d3e0cfee163d89469558e699b5f2 
  src/tests/containerizer/ns_tests.cpp fa4349e29b975550e05b00a1f848a24cd8e4f0de 


Diff: https://reviews.apache.org/r/68053/diff/4/

Changes: https://reviews.apache.org/r/68053/diff/3-4/


Testing
-------

bin/mesos-tests.sh --verbose --gtest_filter="NsTest*" --gtest_break_on_failure --gtest_repeat=100


Thanks,

Sergey Urbanovich


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message