mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 65784: Added validation of QuotaRequest.
Date Tue, 01 May 2018 23:40:14 GMT

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


Fix it, then Ship it!





src/master/quota.cpp
Lines 199-200 (patched)
<https://reviews.apache.org/r/65784/#comment283993>

    Add `AllocationInfo` and `SharedInfo` check as well?


- Meng Zhu


On Feb. 23, 2018, 2:43 p.m., Benjamin Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65784/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2018, 2:43 p.m.)
> 
> 
> Review request for mesos, Michael Park and Meng Zhu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This obviates the need for the old-style validation of quotaInfo,
> but leaves the latter in order to keep the v0 code path untouched.
> A TODO has been added to remove the old validation and replace it
> with the one in this patch.
> 
> 
> Diffs
> -----
> 
>   src/master/quota.hpp 7f43996d9aa3d3f462a6ed750733a55d4ef770c8 
>   src/master/quota.cpp 58bab6a678bac9e41a7994ba0b7cc1ed069a8a18 
> 
> 
> Diff: https://reviews.apache.org/r/65784/diff/1/
> 
> 
> Testing
> -------
> 
> make check (test added in subsequent patch)
> 
> 
> Thanks,
> 
> Benjamin Mahler
> 
>


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