mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Re: Review Request 68601: Cleaned up residual CSI endpoint sockets for terminated plugins.
Date Sun, 02 Sep 2018 03:37:15 GMT

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




src/authorizer/local/authorizer.cpp
Lines 1138 (patched)
<https://reviews.apache.org/r/68601/#comment291964>

    you might also need VIEW_CONTAINERS because `GetContainers` will always show executor
containers.



src/resource_provider/storage/provider.cpp
Lines 2051 (patched)
<https://reviews.apache.org/r/68601/#comment291962>

    I'd explictly set `show_nested` to be false so that we are not affected if the default
behavior changes.



src/resource_provider/storage/provider.cpp
Lines 2158-2175 (patched)
<https://reviews.apache.org/r/68601/#comment291963>

    Do we need this? I was thinking that re-using the same sandbox could allow us to see the
log history.


- Jie Yu


On Sept. 1, 2018, 5:31 p.m., Chun-Hung Hsiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68601/
> -----------------------------------------------------------
> 
> (Updated Sept. 1, 2018, 5:31 p.m.)
> 
> 
> Review request for mesos, Benjamin Bannier and Jie Yu.
> 
> 
> Bugs: MESOS-8429
>     https://issues.apache.org/jira/browse/MESOS-8429
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> If a CSI plugin is crashed during agent failover, the residual socket
> file would exist during SLRP recovery, which may in turn make the plugin
> fail to restart. This patch cleans up the residual socket files to avoid
> such failures.
> 
> 
> Diffs
> -----
> 
>   src/authorizer/local/authorizer.cpp f99b88e10df1e0959f1ddd2e45374862c2dc0a5b 
>   src/internal/devolve.hpp 1bc2a32e70600c785660d0b1d5d63378ffe344cc 
>   src/internal/devolve.cpp 93bd975b648888a9d83e34f4d7420b3b49f06d1f 
>   src/resource_provider/storage/provider.cpp ab1467c22ded269cb42fc52d3f00fb936fc42c7f

>   src/slave/http.cpp d0f6e1c5ffcc22cd280c64b20473f279ab4c14cc 
> 
> 
> Diff: https://reviews.apache.org/r/68601/diff/1/
> 
> 
> Testing
> -------
> 
> sudo make check
> 
> 
> Thanks,
> 
> Chun-Hung Hsiao
> 
>


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