]> git.ipfire.org Git - thirdparty/pdns.git/commit
Call the right wipe function for negcache in the serve-stale case 12595/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 28 Feb 2023 09:50:50 +0000 (10:50 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 28 Feb 2023 09:50:50 +0000 (10:50 +0100)
commit6075405b5815f421bfc2fa80f43e86dae479242c
treea1d3505aeec284d9a0ab5e74260a265db4e6cbb4
parent25cab0d9b433191306caccb6e7585a8c39564ccc
Call the right wipe function for negcache in the serve-stale case

This is a reason serve-stale is causing an intermittent high CPU
load: the wipe function actually called was deleting a (potentially
large) subtree of the negcache on all shards.
pdns/recursordist/negcache.cc
pdns/recursordist/negcache.hh
pdns/recursordist/syncres.cc
pdns/recursordist/test-negcache_cc.cc