]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: some table updates are randomly not pushed.
authorEmeric Brun <ebrun@haproxy.com>
Tue, 22 Sep 2015 13:05:06 +0000 (15:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2015 14:07:27 +0000 (16:07 +0200)
commitc703a9d2968b92354d5dcd84dd7993fe86039320
tree57cc256eb2cbde45c9fadf3aa8de16a92a4c241b
parent8c62c47cb287ab25623505ed491a01d3b940f801
BUG/MEDIUM: peers: some table updates are randomly not pushed.

If an entry is still not present in the update tree, we could miss to schedule
for a push depending of an un-initialized value (upd.key remains un-initialized
for new sessions or isn't re-initalized for reused ones).

In the same way, if an entry is present in the tree, but its update's tick
is far in the past (> 2^31). We could consider it's still scheduled even if
it is not the case.

The fix consist to force the re-scheduling of an update if it was not present in
the updates tree or if the update is not in the scheduling window of every peers.
src/stick_table.c