commit | dcb121fd9ce25ab5087fb45442bef24c031d2fe6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 20 11:37:45 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 20 11:39:54 2021 +0200 |
tree | 2e62e47bed9cba5408264e33af057c48424c1147 | |
parent | 942b89f7dc9a6fcd2deedef078aba67609d12e54 [diff] |
BUG/MINOR: server: make srv_alloc_lb() allocate lb_nodes for consistent hash The test in srv_alloc_lb() to allocate the lb_nodes[] array used in the consistent hash was incorrect, it wouldn't do it for consistent hash and could do it for regular random. No backport is needed as this was added for dynamic servers in 2.4-dev by commit f99f77a50 ("MEDIUM: server: implement 'add server' cli command").