Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> C client state goes to 0 - should it?


Copy link to this message
-
C client state goes to 0 - should it?
Hello,

In destroy (zookeeper.c:401) and handle_error (zookeeper:1236) functions
the state property of zhandle_t is set to 0.

Looking at zookeeper.h the zoo_state should return one of the State
constants, but none of this constants is not equal to 0.

So my question is why it is set to 0 and why not to any other declared
constant? In my opinion it should be set to to NOTCONNECTED_STATE_DEF but
unfortunately this is not exported in zookeeper.h.

What do you think about this?

Sorry if this is not a correct mailing list.

Thanks.

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB