Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.8
-
None
-
None
-
None
Description
Adding 2 nodes to 3 nodes ensemble with the following steps:
1. Start the new nodes (node 4, 5) and let them join the ensemble
2. Update existing nodes' configuration (node 1, 2, 3) to add the new nodes addresses and ports
3. Rolling restart the existing nodes
4. Stop the current leader (node 2)
5. New node (node 5) becomes leader
After this, zxid in the new leader (node 5) becomes the same as the old leader (node 2).
badai@192-168-1-129 3 % grep -i zxid logs-zk*/logs/before/*stat* logs-zk1/logs/before/zk-1-stat-before-crash.log:Zxid: 0xe0000050c logs-zk2/logs/before/zk-2-stat-before-crash.log:Zxid: 0xf00000000 logs-zk3/logs/before/zk-3-stat-before-crash.log:Zxid: 0xe0000050c logs-zk4/logs/before/zk-4-stat-before-crash.log:Zxid: 0xe0000050c logs-zk5/logs/before/zk-5-stat-before-crash.log:Zxid: 0xf00000000 badai@192-168-1-129 3 %
Please ignore the "before" wording on the logs name as they are irrelevant.