[sheepdog] [PATCH v3 0/2] Handle pending block/notify event during reconnect

Kai Zhang kyle at zelin.io
Tue Jul 9 06:07:13 CEST 2013


v3:
- first two patches have been applied
- update comment in group.c
- block/unblock/notify return SD_RES_XXX in all cluster drivers, other than 0
  or -1
- print debug message when neccessary

v2:
- update commit log of patch 3/4

This series is to enhance the implementation of sd_reconnect_handler()
by handling pending block/notify event during reconnect.

The first three patches prepare for the fourth one.


Kai Zhang (2):
  sheep: handle block/unblock/notify error
  cluster driver: handle pending block/notify event during reconnect

 include/sheep.h           |    1 +
 include/sheepdog_proto.h  |    1 +
 sheep/cluster.h           |   10 ++--
 sheep/cluster/corosync.c  |   17 ++++---
 sheep/cluster/local.c     |   10 ++--
 sheep/cluster/shepherd.c  |   12 +++--
 sheep/cluster/zookeeper.c |   13 ++++--
 sheep/group.c             |  114 ++++++++++++++++++++++++++++++++++++++++++---
 sheep/sheep_priv.h        |    8 ++++
 9 files changed, 158 insertions(+), 28 deletions(-)

--
1.7.9.5




More information about the sheepdog mailing list