Zk chooses the main use scenario question

it is said that in the master scenario, zk asks all machines to create temporary sequentially numbered directory nodes, and each time the machine with the lowest number is selected as the master,. Why is it the smallest and the most master, because the smallest machine is the first to join?

Mar.18,2021

leader election, please learn basic paxos protocol and fast paxox protocol


it should be said that the first is the most common choice, which can be the second and the third. If the service is dynamically deleted, choose the first one that is more stable and balanced.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34ca4-342f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34ca4-342f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?