utils/cache_gc: fix crashes/assertions on RTT entries
I missed some parts when finishing this. I should've tested it better. GC would hit assertions or NULL dereferences when removing entries, and eventually that would lead to cache overflowing (and getting cleared).
Merge request reports
Activity
changed milestone to %5.3.1
added bug label
Will the CI job fail if the
kres-cache-gc
process dies? EDIT: otherwise I do like the idea.Edited by Vladimír ČunátYes, it would've detected this error: https://gitlab.nic.cz/knot/knot-resolver/-/jobs/506931
mentioned in commit 9679a48b
Please register or sign in to reply