Hi Yuliya,
  The masted id is used to resolve conflicts when 2 servers have the latest 
transaction id during leader election. Also, its used as the first N  bits for 
the session id to make it unique across zookeeper servers.

Thanks
mahadev


On 12/14/10 5:25 PM, "Ted Dunning" <[email protected]> wrote:

Yuliya just asked me this:

> If "myid" in ZK datadir gets overwritten with different from existing
number (still unique within ensemble) will it create an issue while ZK is
running?

My suggested answer is that it won't hurt anything, but it may cause that
node to discard any snapshots or logs created under the old id.

Anybody have corrections or amplifications to this?

Reply via email to