----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75003/ -----------------------------------------------------------
Review request for mesos and Benjamin Mahler. Repository: mesos Description ------- It seems that the container IDs retrieved through cgroups2::get have their roots attached to their IDs. As such, when putting them through the container function, we inadvertently joined the root with another root, resulting in a path that looks like <root>/<root>/<separator>/<id1>... When it is supposed to look like <root>/<id1>. We do this by removing the top level of the container ID if it matches the given root, so that we won't have an issue when joining the root back at the end of the function. Diffs ----- src/slave/containerizer/mesos/paths.cpp 1269502794b14fa3683afb984ac3ae226f9ac5d5 src/tests/containerizer/mesos_containerizer_paths_tests.cpp 45afc8465470b8f4471acff5849cdbfd3780a852 Diff: https://reviews.apache.org/r/75003/diff/1/ Testing ------- Thanks, Jason Zhou
