Can I use czxid as unique sequence number?

2019-10-02 Thread Vincent Ngan
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 of determining the unique sequence number of a node? Regards, vngantk

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, Vin

Re: Can I use czxid as unique sequence number?

2019-10-18 Thread Vincent Ngan
out 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, >

Questions about network segmentation problems

2020-04-28 Thread Vincent Ngan
Hi, I would like to know what will happen to ZooKeeper servers and the clients connected to them when a network segmentation occurs. Supposing a network segmentation happens. One of the ZK servers looses contact with all the other ZK servers. This ZK server is still but it should know that it is

Re: Questions about network segmentation problems

2020-04-28 Thread Vincent Ngan
you are using. For > > example Apache Curator framework or the internal client implementations > of > > SOLR or KAFKA all have different behaviour and messages messages. > Something > > like Connection State Lost, Client Connection timed out, Attempting > > reconnect etc... >