mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <bbann...@apache.org>
Subject Re: Review Request 63105: Removed TODOs from storage operation 'apply' handlers.
Date Mon, 30 Oct 2017 10:25:28 GMT

-----------------------------------------------------------
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
> 
>


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