mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Park <>
Subject Re: Review Request 48039: Updated `QuotaHandler` to send one authorization request per action.
Date Thu, 16 Jun 2016 22:47:45 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 16, 2016, 10:47 p.m.)

Review request for mesos, Alexander Rukletsov, Joris Van Remoortere, Vinod Kone, and Zhitao

Bugs: MESOS-5628

Repository: mesos


As described in the JIRA ticket, this patch makes `QuotaHandler` only
send one authorization request per action.

During the deprecation cycle of `ACL::SetQuota` and `ACL::RemoveQuota`,
the `LocalAuthorizer` for example still needs to know whether the action
is a set or remove. We remedy this situation by encoding type (set or
remove) by setting the `value` field in the `Object` with the string
`"SetQuota"` or `"RemoveQuota"`. With this approach, we can simply stop
setting the `value` field at the end of the deprecation cycle as opposed
to changing the public API.


  src/master/master.hpp 72c60ef74ce57119a97cf8305182340a13c58c42 
  src/master/quota_handler.cpp 7eeb60ed08deb2d7139423716e70e9acc92a0416 


Testing (updated)

`make check`


Michael Park

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