You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[BUG] Data-handler removeRule guards on ruleData.getHandle(), leaking cache entries when handle is null at deletion time #6772
description: Five removeRule implementations guard removal with Optional.ofNullable(ruleData.getHandle()).ifPresent(...). If handle is null when the rule is deleted (deletion event carries only rule ID, or rule was previously updated to null handle), the cache entry keyed by selectorId_ruleId is never removed. RequestPluginHandler.removeRule and GeneralContextPluginDataHandler.removeRule correctly guard on ruleData itself.
impact: Stale rule-handle objects accumulate in cache indefinitely (memory leak + potential stale config reuse).
suggested_fix: Guard on Optional.ofNullable(ruleData) and always call removeHandle.
Activity
github-actions commentedon Aug 3, 2026
👋 Hello @yuluo-yx
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏