zklua
zklua copied to clipboard
Lua binding of apache zookeeper.
i encounterd with with an error "worker process 57275 exited on signal 11" when i used the zklua in multithreading scene. what is wrong?
struct sockaddr saddr; socklen_t socklen = 0; change like this: struct sockaddr saddr; socklen_t socklen = sizeof(saddr); bzero(&saddr, sizeof(saddr));
按照example中的例子在openresty中初始化监听操作zk节点收不到监听事件
The aysnc operation have a debug: When you acreate more nodes, the application will break up
/bin/sh: 1: pkg-config: not found In file included from zklua.c:29:0: zklua.h:24:17: fatal error: lua.h: No such file or directory compilation terminated. Makefile:37: recipe for target 'zklua.o' failed make: *** [zklua.o]...
anybody know how to set the format of ACL when to call acreate function
Remove unexpected character '_', which leading to compile error below: gcc -c `pkg-config --cflags lua` -fPIC -O2 -std=gnu99 zklua.c In file included from /usr/local/include/lua.h:13, from zklua.h:24, from zklua.c:29: /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/stddef.h:149: error:...
@forhappy Hi I'd like to call the awget_children to get the children,but it doesn't work, Why the function awget_children cannot return the children
``` I sloved the error at last. In file zklua.c, line 28, there is a character "_", I delete it,and installed it successful. I want to know the "_" is...