----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69307/#review210869 -----------------------------------------------------------
docs/configuration/master.md Lines 429-439 (patched) <https://reviews.apache.org/r/69307/#comment295669> Could you move this down a bit to maintain alphabetical order? src/master/constants.hpp Lines 94-96 (patched) <https://reviews.apache.org/r/69307/#comment295668> I agree with Benno, this value should be quite large so that the default value maintains current behavior, WDYT? Can we get away with using `std::numeric_limits<std::size_t>::max()` here? src/master/flags.cpp Lines 575 (patched) <https://reviews.apache.org/r/69307/#comment295675> I wonder if we should be more explicit with the flag name here - technically the master also maintains event streams with schedulers. Could use `max_operator_event_stream_subscribers` or `max_operator_api_subscribers`... but maybe the current name is fine? Not sure, let me know what you think. src/master/flags.cpp Lines 577-579 (patched) <https://reviews.apache.org/r/69307/#comment295674> Is there any reason this doc string should be different than the one in the master config docs? Maybe merge the two together? Also, I think we should be very explicit in the docs regarding when users should touch this flag. I think unless an operator thinks their setup will hit the known issue, they shouldn't use the flag at all. - Greg Mann On Nov. 26, 2018, 11:40 p.m., Joseph Wu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69307/ > ----------------------------------------------------------- > > (Updated Nov. 26, 2018, 11:40 p.m.) > > > Review request for mesos, Benno Evers, Benjamin Mahler, Gastón Kleiman, and > Greg Mann. > > > Bugs: MESOS-9258 > https://issues.apache.org/jira/browse/MESOS-9258 > > > Repository: mesos > > > Description > ------- > > This adds a flag (--max_event_stream_subscribers) to the master which > controls how many active subscribers on the Master's event stream will > be allowed at any time. The default is 25 subscribers. > > > Diffs > ----- > > docs/configuration/master.md 575476728079d884fe86b1a3a56614647d1b572e > src/master/constants.hpp 76ad0c3b1494cb97888af5545acc998b8fb15bf6 > src/master/flags.hpp ed2d76af2831d1b9718724936fd3e4850e99b332 > src/master/flags.cpp 2677738d19caa7d600e591aeb4fb37f0c2318d45 > src/master/master.hpp e77babf22126838c63cd05e483875c9beb3ac5ff > src/master/master.cpp 1e326ec42a7f79a0835529a4655e7ec272f1cf40 > src/tests/api_tests.cpp fdd9f871f75617fc26a28679e2a1e41f506c6133 > > > Diff: https://reviews.apache.org/r/69307/diff/1/ > > > Testing > ------- > > ``` > make check > > src/mesos-tests --gtest_filter="*MaxEventStreamSubscribers*" > --gtest_repeat=-1 --gtest_break_on_failure > ``` > > > Thanks, > > Joseph Wu > >
