[Sheepdog] [zookeeper][PATCH 0/6] INTRODUCE

Yunkai Zhang yunkai.me at gmail.com
Thu Apr 5 12:23:00 CEST 2012


I refactor zookeeper driver with following patches.

These patches have been tested for several weeks, it can
support more than 400 sheep nodes.

At this time, accord is not stable enough for us, this new
zookeeper driver maybe a good alternative.

Yunkai Zhang (6):
  Refactor zookeeper driver
  Optimize the size of buffer send to zookeeper
  try to recover previous zookeeper session when sheep start
  retry again when zoo_* api return ZCONNECTIONLOSS/ZOPERATIONTIMEOUT
    error
  Fix two bug:
  Use atomic builtins to replace pthread mutex locks

 sheep/cluster/zookeeper.c |  658 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 524 insertions(+), 134 deletions(-)

-- 
1.7.7.6




More information about the sheepdog mailing list