Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Preferred leader election is run.  
  2. When a broker fails, the controller transfer all of this broker’s leaderships to the next one in priority. When determining the priority of the leader, should look up the preferred leader blacklist of the brokers and move it to the lowest. 
  3. When auto.leader.rebalance.enable is enabled.  The broker(s) in the preferred leader "blacklist" should be excluded from being elected leaders. 


The current design also does not automatically put a broker in the preferred leader blacklist. E.g. when the controller starts up itself or got controller failover, it will put itself to the blacklist.  This may be an enhancement later.

...