You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benjamin Bannier <be...@mesosphere.io> on 2017/11/27 14:55:43 UTC

Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

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

Review request for mesos, Jie Yu and Jan Schlicht.


Repository: mesos


Description
-------

The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
provider not being usable with paused clock as we would run into a
deadclock in that case.

This patch removes the explicit awaits here to make this resource
provider usable. We should consider making it easier to debug send
failures in the resource provider, e.g., by surfacing the future
responses to users in some way, or by added additional logging.


Diffs
-----

  src/tests/mesos.hpp e5c2b697a4401f010a7d77ae9acb8a9cbd3846bc 


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


Testing
-------

`make check`, tests as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/
-----------------------------------------------------------

(Updated Nov. 30, 2017, 5 p.m.)


Review request for mesos, Jie Yu and Jan Schlicht.


Changes
-------

Rebased.


Repository: mesos


Description
-------

The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
provider not being usable with paused clock as we would run into a
deadclock in that case.

This patch removes the explicit awaits here to make this resource
provider usable. We should consider making it easier to debug send
failures in the resource provider, e.g., by surfacing the future
responses to users in some way, or by added additional logging.


Diffs (updated)
-----

  src/tests/mesos.hpp 5fe53564237f3647f0e8e247acb3da8572a91f52 


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

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


Testing
-------

`make check`, tests as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/#review192221
-----------------------------------------------------------


Ship it!




Ship It!

- Jie Yu


On Nov. 29, 2017, 4:27 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64086/
> -----------------------------------------------------------
> 
> (Updated Nov. 29, 2017, 4:27 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Jan Schlicht.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
> provider not being usable with paused clock as we would run into a
> deadclock in that case.
> 
> This patch removes the explicit awaits here to make this resource
> provider usable. We should consider making it easier to debug send
> failures in the resource provider, e.g., by surfacing the future
> responses to users in some way, or by added additional logging.
> 
> 
> Diffs
> -----
> 
>   src/tests/mesos.hpp 68f78d01d2145532f6873e824fdb6e16a278daad 
> 
> 
> Diff: https://reviews.apache.org/r/64086/diff/3/
> 
> 
> Testing
> -------
> 
> `make check`, tests as part of https://reviews.apache.org/r/63843/.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/
-----------------------------------------------------------

(Updated Nov. 29, 2017, 5:27 p.m.)


Review request for mesos, Jie Yu and Jan Schlicht.


Changes
-------

Rebased.


Repository: mesos


Description
-------

The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
provider not being usable with paused clock as we would run into a
deadclock in that case.

This patch removes the explicit awaits here to make this resource
provider usable. We should consider making it easier to debug send
failures in the resource provider, e.g., by surfacing the future
responses to users in some way, or by added additional logging.


Diffs (updated)
-----

  src/tests/mesos.hpp 68f78d01d2145532f6873e824fdb6e16a278daad 


Diff: https://reviews.apache.org/r/64086/diff/3/

Changes: https://reviews.apache.org/r/64086/diff/2-3/


Testing
-------

`make check`, tests as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/
-----------------------------------------------------------

(Updated Nov. 28, 2017, 10:32 p.m.)


Review request for mesos, Jie Yu and Jan Schlicht.


Changes
-------

Rebased.


Repository: mesos


Description (updated)
-------

The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
provider not being usable with paused clock as we would run into a
deadclock in that case.

This patch removes the explicit awaits here to make this resource
provider usable. We should consider making it easier to debug send
failures in the resource provider, e.g., by surfacing the future
responses to users in some way, or by added additional logging.


Diffs (updated)
-----

  src/tests/mesos.hpp f02c7c6962c9d0bee57712d8aad9997582c7404b 


Diff: https://reviews.apache.org/r/64086/diff/2/

Changes: https://reviews.apache.org/r/64086/diff/1-2/


Testing
-------

`make check`, tests as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Jan Schlicht <ja...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/#review191891
-----------------------------------------------------------


Ship it!




Ship It!

- Jan Schlicht


On Nov. 27, 2017, 4:18 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64086/
> -----------------------------------------------------------
> 
> (Updated Nov. 27, 2017, 4:18 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Jan Schlicht.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
> provider not being usable with paused clock as we would run into a
> deadlock in that case.
> 
> This patch removes the explicit awaits here to make the resource
> provider usable. We should consider making it easier to debug send
> failures in the resource provider, e.g., by surfacing the future
> responses to users in some way, or by added additional logging.
> 
> 
> Diffs
> -----
> 
>   src/tests/mesos.hpp e5c2b697a4401f010a7d77ae9acb8a9cbd3846bc 
> 
> 
> Diff: https://reviews.apache.org/r/64086/diff/1/
> 
> 
> Testing
> -------
> 
> `make check`, tests as part of https://reviews.apache.org/r/63843/.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 64086: Removed currently unneeded 'AWAIT_READY's in 'MockResourceProvider'.

Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64086/
-----------------------------------------------------------

(Updated Nov. 27, 2017, 4:18 p.m.)


Review request for mesos, Jie Yu and Jan Schlicht.


Repository: mesos


Description (updated)
-------

The 'AWAIT_READY's in 'MockResourceProvider' let to the resource
provider not being usable with paused clock as we would run into a
deadlock in that case.

This patch removes the explicit awaits here to make the resource
provider usable. We should consider making it easier to debug send
failures in the resource provider, e.g., by surfacing the future
responses to users in some way, or by added additional logging.


Diffs
-----

  src/tests/mesos.hpp e5c2b697a4401f010a7d77ae9acb8a9cbd3846bc 


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


Testing
-------

`make check`, tests as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier