mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@apache.org>
Subject Re: Review Request 68601: Cleaned up residual CSI endpoint sockets for terminated plugins.
Date Sun, 02 Sep 2018 06:54:25 GMT


> On Sept. 2, 2018, 3:37 a.m., Jie Yu wrote:
> > src/authorizer/local/authorizer.cpp
> > Lines 1138 (patched)
> > <https://reviews.apache.org/r/68601/diff/1/?file=2079385#file2079385line1138>
> >
> >     you might also need VIEW_CONTAINERS because `GetContainers` will always show
executor containers.

When showing the executor containers, the agent won't approve `VIEW_CONTAINERS`, and they
will be simply ignored, so it seems that `VIEW_CONTAINERS` is not needed:
https://github.com/apache/mesos/blob/6f010b6b61433fd783e5619ed0cada298b8fe30e/src/slave/http.cpp#L2177


> On Sept. 2, 2018, 3:37 a.m., Jie Yu wrote:
> > src/resource_provider/storage/provider.cpp
> > Lines 2158-2175 (patched)
> > <https://reviews.apache.org/r/68601/diff/1/?file=2079388#file2079388line2189>
> >
> >     Do we need this? I was thinking that re-using the same sandbox could allow us
to see the log history.

I'll change this to only remove sandboxes for containers that are no longer in use.


- Chun-Hung


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


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