BUG/MEDIUM: peers: register last acked value as origin receiving a resync req
authorEmeric Brun <ebrun@haproxy.com>
Wed, 28 Apr 2021 07:49:33 +0000 (09:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 Apr 2021 12:23:10 +0000 (14:23 +0200)
commit437e48ad9244eaea63881b6c8a86a380c4eecc23
tree12b0d8bc7746f3cf96bf942ef3b2bc5bb1434b55
parent2c4ab4181601b1956095eb9b2c9d99984828ccf9
BUG/MEDIUM: peers: register last acked value as origin receiving a resync req

Receiving a resync request, the origins to start the full sync and
to reset after the full resync are mistakenly computed based on
the last update on the table instead of computed based on the
the last update acked by the node requesting the resync.

It could result in disordered or missing updates pushing to the
requester

This patch sets correctly those origins.

This patch should be backported on all supported branches ( >= 1.6 )
src/peers.c