Re: [PATCH] Properly handle weight increase with consistent weight

2017-10-17 Thread Willy Tarreau
On Tue, Oct 17, 2017 at 04:02:00PM +0200, Olivier Houchard wrote: > Hi, > > When consistent hash is used, when the weight of the server is increased > beyond the original one, it currently has no effect (well really it will > reset the weight to the original one, if it was decreased), to fix this,

[PATCH] Properly handle weight increase with consistent weight

2017-10-17 Thread Olivier Houchard
Hi, When consistent hash is used, when the weight of the server is increased beyond the original one, it currently has no effect (well really it will reset the weight to the original one, if it was decreased), to fix this, the attached patch allocates more nodes, and add them to the ebtree as need