]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: do not retain imcomplete or stripped secondary entry
authorRémi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 10 Aug 2026 15:22:43 +0000 (17:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Aug 2026 07:17:56 +0000 (09:17 +0200)
commit99db59551c00ae53a1b593913da594aff0cc5649
treec56d420c0f39101582d5a8c4e9381203cf046663
parent216d1925c5cd4c6fb35d140c0d358643fe63811b
BUG/MINOR: cache: do not retain imcomplete or stripped secondary entry

Skip retaining secondary entries altogether if its row was recycled
while we were looking it up, which CACHE_EF_COMPLETE having been cleared
tells us. Such an entry was already treated as a miss, only further down
and after having been detached.

This patch does not need to be backported.
src/cache.c