MINOR: server: Handle weight increase in consistent hash.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 17 Oct 2017 13:52:59 +0000 (15:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Oct 2017 16:08:38 +0000 (18:08 +0200)
commitf8eb8d56a79359a99d4076d3af9fdaaa070b680a
treeb874956497dee996265d16952845eaeed108376b
parent4ac49287182dfefc69e7088332348ea0948022fa
MINOR: server: Handle weight increase in consistent hash.

When the server weight is rised using the CLI, extra nodes have to be
allocated, or the weight will be effectively the same as the original one.

[wt: given that the doc made no explicit mention about this limitation,
this patch could even be backported as it fixes an unexpected behaviour]
src/lb_chash.c