]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Feature] Enhance hyperscan cache debug logging and correlation
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Jan 2026 15:58:40 +0000 (15:58 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Jan 2026 15:58:40 +0000 (15:58 +0000)
commit1292994e6510e0946f7784fed2ca05e70dc6ff18
tree94f47732dddfa475023ffd1fcac3be7ef907f184
parentc975cd4935be91540c28bc52832524c3d6e0d1b0
[Feature] Enhance hyperscan cache debug logging and correlation

- Add entity_name parameter to async cache API for better traceability
- Correlate cache requests with callbacks (show entity/key in both)
- Use rspamd_zhs prefix by default for compressed Redis data
- Switch to idiomatic lua_util.debugm for Lua debug logging
- Log Redis backend config (prefix, ttl, compression) on creation
25 files changed:
.factory/commands/build-and-test.md [new file with mode: 0644]
.factory/commands/build.md [new file with mode: 0644]
.factory/commands/check-code.md [new file with mode: 0644]
.factory/commands/create-release.md [new file with mode: 0644]
.factory/commands/format-code.md [new file with mode: 0644]
.factory/commands/prepare-commit.md [new file with mode: 0644]
.factory/commands/remember.md [new file with mode: 0644]
.factory/commands/review-pr.md [new file with mode: 0644]
.factory/commands/test-lua.md [new file with mode: 0644]
.factory/commands/test.md [new file with mode: 0644]
.factory/memories.md [new file with mode: 0644]
.factory/rules/project_context.md [new file with mode: 0644]
lualib/lua_hs_cache.lua
src/hs_helper.c
src/libserver/hs_cache_backend.c
src/libserver/hs_cache_backend.h
src/libserver/hyperscan_tools.cxx
src/libserver/hyperscan_tools.h
src/libserver/maps/map_helpers.c
src/libserver/maps/map_helpers.h
src/libserver/re_cache.c
src/libserver/rspamd_control.c
src/libserver/rspamd_control.h
src/libserver/worker_util.c
src/libutil/multipattern.c