> On Feb. 14, 2017, 5:46 p.m., Gastón Kleiman wrote: > > Many of the comments here also apply to the current code in > > `health_checker.cpp`. One possibility would be to commit this patch without > > fixing them, and then creating a new patch with the fixes for both > > `health_checker.cpp` and `checker.cpp`.
My suggestion would be to fix everything here and refrain from fixing `health_checker.cpp` because of https://issues.apache.org/jira/browse/MESOS-7092. > On Feb. 14, 2017, 5:46 p.m., Gastón Kleiman wrote: > > src/checks/checker.hpp, line 77 > > <https://reviews.apache.org/r/56208/diff/5/?file=1628426#file1628426line77> > > > > `Checker(const Checker&) = delete` seems to be more popular than making > > the constructor private. > > > > Is that idiom preferred? Good idea. Fixed. - Alexander ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56208/#review165521 ----------------------------------------------------------- On Feb. 28, 2017, 11:12 a.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56208/ > ----------------------------------------------------------- > > (Updated Feb. 28, 2017, 11:12 a.m.) > > > Review request for mesos, Gastón Kleiman and Vinod Kone. > > > Bugs: MESOS-6906 > https://issues.apache.org/jira/browse/MESOS-6906 > > > Repository: mesos > > > Description > ------- > > Add support for general checks, i.e. defined by CheckInfo, in > checking library. A general check can be either an command or > an HTTP request. The library performs the requested check at > the specified interval and sends the result to the framework > via a task status update. If the current result is the same as > the previous result, no status update is sent. > > > Diffs > ----- > > src/checks/checker.hpp dc293f3d3613dec716510d269829f8a6f406c277 > src/checks/checker.cpp 8716e4cc684e6c4b6b76d8ca53221be06d10b2a6 > src/checks/health_checker.hpp f1f2834b3429fb00cc49c179fa9a3de328f597b5 > src/checks/health_checker.cpp a5225ff1f4b071ed4182d41fa8ecc705fa4dbe00 > > Diff: https://reviews.apache.org/r/56208/diff/ > > > Testing > ------- > > See https://reviews.apache.org/r/56218/ > > > Thanks, > > Alexander Rukletsov > >
