Re: Handling split brain with Zookeeper and persistence

2018-09-17 Thread Pavel Kovalenko
Hello Eugene, 1) Split brain resolver takes into account only server nodes (not client). No difference between in-memory only or with persistence. 2) It's no necessary to immediately remove a node from baseline topology after split-brain. If you lost backup factor for some partitions (All partitio

Re: Handling split brain with Zookeeper and persistence

2018-09-15 Thread Gaurav Bajaj
Hello, For second question above, you can have listener to listen AFTER_NODE_STOP event and take action as per your logic (in your case changing BLT). Regards, Gaurav On 14-Sep-2018 9:33 PM, "eugene miretsky" wrote: Hi, What are best practices for handling split brain with persistence? 1) D

Handling split brain with Zookeeper and persistence

2018-09-14 Thread eugene miretsky
Hi, What are best practices for handling split brain with persistence? 1) Does Zookeeper split brain resolver consider all nodes as the same (client, memory only, persistent). Ideally, we want to shut down persistent nodes only as last resort. 2) If a persistent node is shut down, we need to remo