[MemCache] Report no prefix sharing from a disabled RadixCache (#43197)

This commit is contained in:
Liangsheng Yin
2026-10-08 17:23:11 -07:00
committed by GitHub
parent fc3385d530
commit 57ce47862d
3 changed files with 5 additions and 0 deletions
@@ -605,6 +605,9 @@ class RadixCache(BasePrefixCache):
node = node.parent
return DecLockRefResult(delta=delta)
def supports_prefix_sharing(self) -> bool:
return not self.disable
def evictable_size(self):
return self.evictable_size_