v2: - add a patch to fixed wrong return code of zk_join - reduce the interval of getting lock rety from 1s to 50ms - fixed wrong calculation of queue_pos Kai Zhang (2): zookeeper: zk_join() should return 0 on success and -1 on error zookeeper: remove master from zookeeper sheep/cluster/zookeeper.c | 241 ++++++++++----------------------------------- 1 file changed, 54 insertions(+), 187 deletions(-) -- 1.7.9.5 |