mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Guo <>
Subject Review Request 53700: Refactored `group` in LogProcess into ZooKeeperPIDGroup.
Date Mon, 14 Nov 2016 03:39:26 GMT

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

Review request for mesos and Joseph Wu.

Bugs: MESOS-5828

Repository: mesos


LogProcess and ZooKeeperPIDGroup held a zookeeper::Group object
respectively, former one for renewing this replica's own membership
and the latter one for observing memberships of other replicas.
Both of the group objects are intended to maintain a set of PIDs for
replicated log to operate properly.

`group` in LogProcess is refactored into ZooKeeperPIDGroup class,
which is more cohesive and decoupled with LogProcess. This made
the interface between these two classes cleaner. This is also a step
towards modularizing PIDGroup alongside master contender and detector.


  src/log/log.hpp a600025f4ca38e3fad0f64f48b007138da8e22d4 
  src/log/log.cpp 2301eef564f2a42958c6c2c8eef0cc4b2fd76353 
  src/log/pid_group/zookeeper.hpp PRE-CREATION 
  src/log/pid_group/zookeeper.cpp PRE-CREATION 




Jay Guo

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