]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: Don't start resync on reload if local peer is not up-to-date
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Aug 2022 16:46:16 +0000 (18:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Aug 2022 09:38:02 +0000 (11:38 +0200)
commitb372f16d352bfa20a3abbd60003e113976d16c9c
tree400ec6e727656bbd03a8f3aa990cf3ccc35fcb81
parent19a82b94953ae06839b34df2fc1e57847bef7c50
BUG/MEDIUM: peers: Don't start resync on reload if local peer is not up-to-date

On a reload, if the previous resync was not finished, the freshly old worker
must not try to start a new resync. Otherwise, it will compete with the
older wokers, slowing down or blocking the resync. Only an up-to-date woker
must try to perform a local resync.

This patch must be backported as far as 2.0 (and maybe to 1.8 too).
src/peers.c