Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # dev - predefined xids in c client


Copy link to this message
-
Re: predefined xids in c client
Patrick Hunt 2012-06-12, 06:01
Regular xids are always non-negative.

Patrick

On Sun, Jun 10, 2012 at 12:15 AM, Michi Mutsuzaki <[EMAIL PROTECTED]> wrote:
> Hi,
>
> There are some predefined XIDs (like #define PING_XID -2) in
> zk_adaptor.h. Why do we need them? How do they avoid colliding with
> regular XIDs?
>
> Thanks!
> --Michi