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

Review request for mesos, Alexander Rojas, Gastón Kleiman, Meng Zhu, Till 
Toenshoff, and Vinod Kone.


Bugs: MESOS-9146
    https://issues.apache.org/jira/browse/MESOS-9146


Repository: mesos


Description
-------

There is not a lot of value in the master timing out a client's
authentication, other than releasing a small amount of resources.
We currently have a burned in 5 second timeout, which is largely
sufficient since most authenticators are implemented to use an
actor per session and avoid any head-of-line blocking.

Ideally, the master would know how long the client's timeout and
the master can use that for its own timeout. The current max backoff
for schedulers and agents is 1 minute, so this patch bumps the
master's timeout to be closer to that (15 seconds). We don't bump it
further because the vast majority of the timeout time is spent in
the initial trip through the master's queue, which occurs before
the master sets up its timeout.

This also adds a flag, both to allow users to tune this, as well
as to allow us to control timing in tests.


Diffs
-----

  src/master/constants.hpp f3b257a8a4c492593c701af442a0acc2b3c01762 
  src/master/flags.hpp 3929c297b45e1203e5b00454e88f86988a8b1058 
  src/master/flags.cpp 8fede0d2cf2254f34134329885f47c3c78dc5846 
  src/master/master.cpp 400a83e35451a3ee0ea42b5ca729357bf6c744e8 


Diff: https://reviews.apache.org/r/68305/diff/1/


Testing
-------

make check


Thanks,

Benjamin Mahler

Reply via email to