You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jan Schlicht <ja...@mesosphere.io> on 2017/10/20 12:53:09 UTC
Re: Review Request 63105: Removed TODOs from storage operation 'apply'
handlers.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63105/
-----------------------------------------------------------
(Updated Oct. 20, 2017, 2:53 p.m.)
Review request for mesos, Benjamin Bannier and Jie Yu.
Changes
-------
Changed scope. No longer alters resources.
Summary (updated)
-----------------
Removed TODOs from storage operation 'apply' handlers.
Bugs: MESOS-7594
https://issues.apache.org/jira/browse/MESOS-7594
Repository: mesos
Description (updated)
-------
These operations don't alter the offered resources immediately.
Only after operation feedback has been received, resources might
be altered. But this will be handled in a different code path.
Diffs (updated)
-----
src/common/resources.cpp 7ee4dae1389e037531aec533a3d235ee06443ea8
Diff: https://reviews.apache.org/r/63105/diff/2/
Changes: https://reviews.apache.org/r/63105/diff/1-2/
Testing
-------
make check
Thanks,
Jan Schlicht
Re: Review Request 63105: Removed TODOs from storage operation 'apply'
handlers.
Posted by Benjamin Bannier <bb...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63105/#review189589
-----------------------------------------------------------
Ship it!
Ship It!
- Benjamin Bannier
On Oct. 20, 2017, 2:53 p.m., Jan Schlicht wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63105/
> -----------------------------------------------------------
>
> (Updated Oct. 20, 2017, 2:53 p.m.)
>
>
> Review request for mesos, Benjamin Bannier and Jie Yu.
>
>
> Bugs: MESOS-7594
> https://issues.apache.org/jira/browse/MESOS-7594
>
>
> Repository: mesos
>
>
> Description
> -------
>
> These operations don't alter the offered resources immediately.
> Only after operation feedback has been received, resources might
> be altered. But this will be handled in a different code path.
>
>
> Diffs
> -----
>
> src/common/resources.cpp 7ee4dae1389e037531aec533a3d235ee06443ea8
>
>
> Diff: https://reviews.apache.org/r/63105/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Jan Schlicht
>
>
Re: Review Request 63105: Removed TODOs from storage operation 'apply'
handlers.
Posted by Jie Yu <yu...@gmail.com>.
> On Oct. 30, 2017, 10:25 a.m., Benjamin Bannier wrote:
> > src/common/resources.cpp
> > Lines 1765-1779 (original), 1765-1783 (patched)
> > <https://reviews.apache.org/r/63105/diff/2/?file=1864832#file1864832line1765>
> >
> > Can we collapse these now for readabilty?, e.g.,
> >
> > case Offer::Operation::CREATE_VOLUME:
> > case Offer::Operation::DESTROY_VOLUME:
> > case Offer::Operation::CREATE_BLOCK:
> > case Offer::Operation::DESTROY_BLOCK: {
> > // These operations do not alter the offered resources.
> > break;
> > }
This will be changed in the following patches.
- Jie
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63105/#review189557
-----------------------------------------------------------
On Oct. 20, 2017, 12:53 p.m., Jan Schlicht wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63105/
> -----------------------------------------------------------
>
> (Updated Oct. 20, 2017, 12:53 p.m.)
>
>
> Review request for mesos, Benjamin Bannier and Jie Yu.
>
>
> Bugs: MESOS-7594
> https://issues.apache.org/jira/browse/MESOS-7594
>
>
> Repository: mesos
>
>
> Description
> -------
>
> These operations don't alter the offered resources immediately.
> Only after operation feedback has been received, resources might
> be altered. But this will be handled in a different code path.
>
>
> Diffs
> -----
>
> src/common/resources.cpp 7ee4dae1389e037531aec533a3d235ee06443ea8
>
>
> Diff: https://reviews.apache.org/r/63105/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Jan Schlicht
>
>
Re: Review Request 63105: Removed TODOs from storage operation 'apply'
handlers.
Posted by Benjamin Bannier <bb...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63105/#review189557
-----------------------------------------------------------
src/common/resources.cpp
Lines 1765-1779 (original), 1765-1783 (patched)
<https://reviews.apache.org/r/63105/#comment266687>
Can we collapse these now for readabilty?, e.g.,
case Offer::Operation::CREATE_VOLUME:
case Offer::Operation::DESTROY_VOLUME:
case Offer::Operation::CREATE_BLOCK:
case Offer::Operation::DESTROY_BLOCK: {
// These operations do not alter the offered resources.
break;
}
- Benjamin Bannier
On Oct. 20, 2017, 2:53 p.m., Jan Schlicht wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63105/
> -----------------------------------------------------------
>
> (Updated Oct. 20, 2017, 2:53 p.m.)
>
>
> Review request for mesos, Benjamin Bannier and Jie Yu.
>
>
> Bugs: MESOS-7594
> https://issues.apache.org/jira/browse/MESOS-7594
>
>
> Repository: mesos
>
>
> Description
> -------
>
> These operations don't alter the offered resources immediately.
> Only after operation feedback has been received, resources might
> be altered. But this will be handled in a different code path.
>
>
> Diffs
> -----
>
> src/common/resources.cpp 7ee4dae1389e037531aec533a3d235ee06443ea8
>
>
> Diff: https://reviews.apache.org/r/63105/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Jan Schlicht
>
>