mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastón Kleiman <gas...@mesosphere.com>
Subject Re: Review Request 52642: Improved the validation of RESERVE operations.
Date Mon, 07 Nov 2016 11:04:42 GMT


> On Nov. 3, 2016, 10:39 p.m., Benjamin Mahler wrote:
> > src/tests/master_validation_tests.cpp, line 343
> > <https://reviews.apache.org/r/52642/diff/2/?file=1544212#file1544212line343>
> >
> >     Shouldn't we be checking that a framework can't remove a reservation for a role
that doesn't match the framework's role? This technically shouldn't happen because we wouldn't
have offered the resources to the framework, but this unfortunately requires some "non-local
reasoning" to figure out why we don't have to check it.
> 
> Gastón Kleiman wrote:
>     I'm creating a new RR with my new test. I'll add a test for the unreserve operation
to that RR.

Please take a look at https://reviews.apache.org/r/53528/.


- Gastón


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


On Nov. 7, 2016, 11:02 a.m., Gastón Kleiman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52642/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2016, 11:02 a.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov and Michael Park.
> 
> 
> Bugs: MESOS-6142
>     https://issues.apache.org/jira/browse/MESOS-6142
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Don't allow a reservation if the framework role doesn't match the role
> of all the resources.
> 
> 
> Diffs
> -----
> 
>   src/master/http.cpp 2f275f6c78b92e13bd7d38043b581b5a3555ee40 
>   src/master/master.cpp 15ad5a647fc71d36ffd149893b3b9448a7d99323 
>   src/master/validation.hpp ed878ef64c6bc49cfa1738f97c7af047f06ffee7 
>   src/master/validation.cpp 658f0dd1085c83cd82f8d2b0e2c4ec0ba785bb92 
>   src/tests/master_validation_tests.cpp 8697bb2dc05c54553066ace58553f0e40dfcb5f5 
> 
> Diff: https://reviews.apache.org/r/52642/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Gastón Kleiman
> 
>


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