[mem_cache] Release up to owned_kv_len on radix cache insert (#40075)

This commit is contained in:
Liangsheng Yin
2026-09-18 15:37:52 -07:00
committed by GitHub
parent a0534f8cca
commit 6cc9090d1f
26 changed files with 137 additions and 110 deletions
@@ -55,7 +55,7 @@ def _make_mock_req(
kv_allocated_len=kv_allocated_len,
)
req.prefix_indices = list(range(prefix_indices_len))
req.effective_kv_committed_len = lambda: req.kv.kv_committed_len
req.owned_kv_len = lambda: req.kv.kv_committed_len
return req