mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Review Request 65541: WIP: Experimented with the MessageDifferencer.
Date Wed, 07 Feb 2018 03:25:35 GMT

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

Review request for mesos and Benjamin Mahler.

Bugs: MESOS-2487

Repository: mesos


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.


  include/mesos/type_utils.hpp af2b187b9b59552e4ba515ad640fd4419eaf5075 
  src/common/type_utils.cpp a4d5dcb4e4445e307356d9b0c16dd39f00f6a8e2 




Joseph Wu

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