commit | fd1aa01f72d98760ae8c1bfbfc66351875df3380 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 20 17:23:40 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 20 17:23:40 2019 +0100 |
tree | 413fc0591f0820c5793c176db215ca14b8d68520 | |
parent | 7d6a1fa311312bb99b98f548399fc30fc7802ad7 [diff] |
BUG/MINOR: state-file: do not store duplicates in the global tree The global state file tree isn't configured for unique keys, so if an entry appears multiple times, e.g. due to a bogus script that concatenates entries multiple times, this will needlessly eat memory. Let's just drop duplicates. This should be backported to 2.1.