----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65541/ -----------------------------------------------------------
Review request for mesos and Benjamin Mahler. Bugs: MESOS-2487 https://issues.apache.org/jira/browse/MESOS-2487 Repository: mesos Description ------- This is an attempt to use the MessageDifferencer class (introduced in protobuf 3.0) to replace our handwritten protobuf equality operators. This patch currently: * Ignores style rules (mostly). * Has TODOs to deal with the Resources and Attributes classes, which have their own wrappers and may need to be special-cased. * Only deals with non-versioned protobufs at the moment. * Can be made faster by making the MessageDifferencer into a `static thread_local` object guarded by a Once. Diffs ----- include/mesos/type_utils.hpp af2b187b9b59552e4ba515ad640fd4419eaf5075 src/common/type_utils.cpp a4d5dcb4e4445e307356d9b0c16dd39f00f6a8e2 Diff: https://reviews.apache.org/r/65541/diff/1/ Testing ------- Thanks, Joseph Wu