google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

disable preemption based on the configuration #63

Closed liuyuan10 closed 4 years ago

liuyuan10 commented 4 years ago

The bug causes unexpected failover due to different priority set for the nodes based on the IP address

liuyuan10 commented 4 years ago

turns out the original code is intentional. If both instances are master, this change causes both instances stick with the master role.