Re: Can I use czxid as unique sequence number?

2019-11-09 Thread Vincent Ngan
Hi, Thanks a lot! Regards, vngantk On Tue, Oct 29, 2019 at 12:52 AM Andor Molnar wrote: > Yes, I think you can do that. > zxid is currently an AtomicLong in the leader which we increment on every > write request. > > Andor > > > > On 2019. Oct 18., at 17:59, Vincent Ngan wrote: > > > > I

Re: Can I use czxid as unique sequence number?

2019-10-28 Thread Andor Molnar
Yes, I think you can do that. zxid is currently an AtomicLong in the leader which we increment on every write request. Andor > On 2019. Oct 18., at 17:59, Vincent Ngan wrote: > > I want to determine the order of creation of a number of nodes without > using ZooKeeper's sequence feature

Re: Can I use czxid as unique sequence number?

2019-10-18 Thread Vincent Ngan
I want to determine the order of creation of a number of nodes without using ZooKeeper's sequence feature because I do not want the name of the nodes to be appended with a sequence number. Regards, vngantk On Thu, Oct 3, 2019 at 2:37 AM Enrico Olivelli wrote: > Can you give more details about

Re: Can I use czxid as unique sequence number?

2019-10-02 Thread Enrico Olivelli
Can you give more details about your usecase? Enrico Il mer 2 ott 2019, 10:04 Vincent Ngan ha scritto: > Hi, > > According to the definition of czxid as mentioned in the documentation, can > I assume that the czxid of every node is unique? If this is the case, can I > just use it for purpose