----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72019/#review219313 -----------------------------------------------------------
src/master/master.hpp Lines 1388-1392 (original), 1395-1399 (patched) <https://reviews.apache.org/r/72019/#comment307465> Remove this TODO and make these private. Turns out they need to remain members to get private access to the master's private members. - Benjamin Mahler On Jan. 16, 2020, 10:22 p.m., Benjamin Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72019/ > ----------------------------------------------------------- > > (Updated Jan. 16, 2020, 10:22 p.m.) > > > Review request for mesos, Andrei Sekretenko and Greg Mann. > > > Bugs: MESOS-9497 > https://issues.apache.org/jira/browse/MESOS-9497 > > > Repository: mesos > > > Description > ------- > > This call is not entirely read-only, unlike the other GET_* v1 master > calls, and therefore it warranted its own patch. > > The approach used is to have a mutex protected list of new subscribers > that gets written to during the parallel serving. Afterwards, once > things are serial again on the Master, we add the new subscribers to > the masters data structures. > > > Diffs > ----- > > src/common/http.hpp 47a4d6a1ad4897155448a6ba64e789b15a78c7a2 > src/master/http.cpp 8a588635e688eb52cd7b8320426dc412e7b44e18 > src/master/master.hpp 3074918d677430b588c7765f5ed82f4e324eeff4 > src/master/readonly_handler.cpp fbe748d99c2520b520f56afa50dc0b9bd809778d > > > Diff: https://reviews.apache.org/r/72019/diff/1/ > > > Testing > ------- > > > Thanks, > > Benjamin Mahler > >
