----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65851/#review198842 -----------------------------------------------------------
src/master/quota.cpp Lines 166-171 (patched) <https://reviews.apache.org/r/65851/#comment279090> Hmm, it is surprising to me that this check is put here. I think the assumption here is that this function is called only by quota `set()`. This is not obvious. Let's add a todo here to either consolidate this with the new `quotaRequest` validation or put this limit check into the master call validation. - Meng Zhu On Feb. 28, 2018, 6:31 p.m., Benjamin Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65851/ > ----------------------------------------------------------- > > (Updated Feb. 28, 2018, 6:31 p.m.) > > > Review request for mesos, Michael Park and Meng Zhu. > > > Repository: mesos > > > Description > ------- > > This ensures that after the protobuf changes to introduce limit > are committed, users cannot set limit in the existing API. > > > Diffs > ----- > > src/master/quota.cpp 58bab6a678bac9e41a7994ba0b7cc1ed069a8a18 > > > Diff: https://reviews.apache.org/r/65851/diff/1/ > > > Testing > ------- > > Test added in the subsequent patch. > > > Thanks, > > Benjamin Mahler > >