mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <>
Subject Review Request 58214: Fixed a regression hiding previously exposed master and agent flags.
Date Wed, 05 Apr 2017 17:54:39 GMT

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

Review request for mesos and Michael Park.

Bugs: MESOS-7316

Repository: mesos


In f441eb9 we in a number of places changed  how 'Flag's were added to
'Flags' by moving from ad-hoc invocations of 'FlagsBase::add' on
particular instances to proper 'Flags' member variables. This was needed
to ensure 'Flags' instances could always safely be copied. For that we
introduced local derived 'Flags' classes to support localized parsing
needs. At the same time, this implementation strategy led to these these
local variables not being accessible through instances of the original
class anymore (this was inevitable when making 'Flags' classes properly
copyable), which e.g., causes a regression in the flags displayed in a
master's '/flags' endpoint.

This commit moves the flags into the respective base class removing the
local classes so that all passed flags are exposed to users.


  src/master/flags.hpp 41a0edf 
  src/master/flags.cpp d25cfdd 
  src/master/main.cpp fa7ba13 
  src/slave/flags.hpp 2c4bd6a 
  src/slave/flags.cpp 71935de 
  src/slave/main.cpp a124d2e 



`make check` (Fedora 25)

This is a backport to `1.2.x` of the which applied against
the then `master` branch (1.3 in spe).


Benjamin Bannier

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