You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Chun-Hung Hsiao <ch...@mesosphere.io> on 2018/03/01 05:13:24 UTC

Review Request 65855: Added the `stall_timeout` parameter to `net::download()`.

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

Review request for mesos and Gilbert Song.


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


Repository: mesos


Description
-------

When the `stall_timeout` is given, the download would be aborted if the
download speed keeps below 1 byte per second during the timeout.


Diffs
-----

  3rdparty/stout/include/stout/net.hpp abb01446d631a67c5182514e3d1368377a0575fc 


Diff: https://reviews.apache.org/r/65855/diff/1/


Testing
-------

sudo make test


Thanks,

Chun-Hung Hsiao


Re: Review Request 65855: Added the `stall_timeout` parameter to `net::download()`.

Posted by Chun-Hung Hsiao <ch...@mesosphere.io>.

> On March 21, 2018, 10:35 p.m., Gilbert Song wrote:
> > 3rdparty/stout/include/stout/net.hpp
> > Lines 144 (patched)
> > <https://reviews.apache.org/r/65855/diff/1/?file=1968109#file1968109line144>
> >
> >     I think we follow the style that naming parameter as `stallTimeout`

The Mesos C++ style guide says that in general we use snake cases in stout, althought there're some violations ;)


- Chun-Hung


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


On March 1, 2018, 5:13 a.m., Chun-Hung Hsiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65855/
> -----------------------------------------------------------
> 
> (Updated March 1, 2018, 5:13 a.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Bugs: MESOS-8620
>     https://issues.apache.org/jira/browse/MESOS-8620
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> When the `stall_timeout` is given, the download would be aborted if the
> download speed keeps below 1 byte per second during the timeout.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/net.hpp abb01446d631a67c5182514e3d1368377a0575fc 
> 
> 
> Diff: https://reviews.apache.org/r/65855/diff/1/
> 
> 
> Testing
> -------
> 
> sudo make test
> 
> 
> Thanks,
> 
> Chun-Hung Hsiao
> 
>


Re: Review Request 65855: Added the `stall_timeout` parameter to `net::download()`.

Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65855/#review199717
-----------------------------------------------------------


Fix it, then Ship it!





3rdparty/stout/include/stout/net.hpp
Lines 144 (patched)
<https://reviews.apache.org/r/65855/#comment280129>

    I think we follow the style that naming parameter as `stallTimeout`


- Gilbert Song


On Feb. 28, 2018, 9:13 p.m., Chun-Hung Hsiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65855/
> -----------------------------------------------------------
> 
> (Updated Feb. 28, 2018, 9:13 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Bugs: MESOS-8620
>     https://issues.apache.org/jira/browse/MESOS-8620
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> When the `stall_timeout` is given, the download would be aborted if the
> download speed keeps below 1 byte per second during the timeout.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/net.hpp abb01446d631a67c5182514e3d1368377a0575fc 
> 
> 
> Diff: https://reviews.apache.org/r/65855/diff/1/
> 
> 
> Testing
> -------
> 
> sudo make test
> 
> 
> Thanks,
> 
> Chun-Hung Hsiao
> 
>


Re: Review Request 65855: Added the `stall_timeout` parameter to `net::download()`.

Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65855/#review199716
-----------------------------------------------------------


Ship it!




Ship It!

- Gilbert Song


On Feb. 28, 2018, 9:13 p.m., Chun-Hung Hsiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65855/
> -----------------------------------------------------------
> 
> (Updated Feb. 28, 2018, 9:13 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Bugs: MESOS-8620
>     https://issues.apache.org/jira/browse/MESOS-8620
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> When the `stall_timeout` is given, the download would be aborted if the
> download speed keeps below 1 byte per second during the timeout.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/net.hpp abb01446d631a67c5182514e3d1368377a0575fc 
> 
> 
> Diff: https://reviews.apache.org/r/65855/diff/1/
> 
> 
> Testing
> -------
> 
> sudo make test
> 
> 
> Thanks,
> 
> Chun-Hung Hsiao
> 
>