-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51021/
-----------------------------------------------------------
Review request for mesos and Vinod Kone.
Bugs: MESOS-5965
https://issues.apache.org/jira/browse/MESOS-5965
Repository: mesos
Description
-------
Information about agents that have been marked unreachable is stored
in the registry. Since the number of unreachable agents can grow without
bound, this commit implements a garbage collection scheme. The current
leading master will periodically examine the registry and discard
information about unreachable agents according to two criteria:
`registry_max_agent_age` and `registry_max_agent_count`. The frequency
with which the master examines the registry is controlled by a third
parameter, `registry_gc_interval`.
Diffs
-----
src/master/constants.hpp cd80dace80968a1f67a8de5b2c112fb1396e26aa
src/master/flags.hpp c6e85303f60387f42b5e187eaedb6a01000f948f
src/master/flags.cpp 19ae6c1c30a1054b64a9585f325bd0bf943af218
src/master/master.hpp 6decff6f4b9c3434de030fd5c06df4c683a7abad
src/master/master.cpp 789fb9760a5ea60ce3b7b08f17e36cec69349c60
src/master/registry.proto 9bf9998bcf521b962f3fe8741d02620b1907f577
src/tests/partition_tests.cpp 0a72b345538ca3b9510fccf38ceb68ac71c2b473
src/tests/registrar_tests.cpp 9a71d8fd0c8d8e662a5e364015d144396a0b1a4c
Diff: https://reviews.apache.org/r/51021/diff/
Testing
-------
make check
Thanks,
Neil Conway
|