mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Massenzio" <>
Subject Re: Review Request 36036: Add `version` string to MasterInfo
Date Wed, 01 Jul 2015 19:56:06 GMT

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

(Updated July 1, 2015, 7:56 p.m.)

Review request for mesos, Anand Mazumdar, Isabel Jimenez, and Vinod Kone.

Bugs: MESOS-2957

Repository: mesos


Jira: MESOS-2957

Adds an optional version string to the `MasterInfo` protobuf,
to simplify handling versioning in HTTP API calls.

The version string is taken from <mesos/version.hpp> which is the
same used when starting up Master (master/main.cpp).

I've added a simple test on the back of the `MasterDetector` test,
as this was the place where we would expect the `MasterInfo` to
have been fully populated by real production code (as opposed to
other places, where it is actually handled by mocks).

Diffs (updated)

  include/mesos/mesos.proto 5ab3c4a305562af16af804e7ab77e576b96e468d 
  src/common/protobuf_utils.cpp f0642ba12b914889a876d1d1c49a2c242006433c 
  src/common/type_utils.cpp f7b21c6abc392fec0514224ff02a00e772389f5d 
  src/master/master.cpp 34ce744f84465ecc9aeecd5fdc3d06047a4b7d92 
  src/tests/master_tests.cpp 962455cc368c6e5405599d6565660d4c3fd0fc22 



make check


Marco Massenzio

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