"router/vscode:/vscode.git/clone" did not exist on "155f9c98e2a272d255d42f0da8d2e88cc1eaa18a"
Unverified Commit 3fadc647 authored by Zhiqiang Xie's avatar Zhiqiang Xie Committed by GitHub
Browse files

bug fix for hicache host eviction (#4989)

parent e119f042
......@@ -205,9 +205,9 @@ class HiRadixCache(RadixCache):
# only evict the host value of evicted nodes
if not x.evicted:
continue
assert x.lock_ref == 0 and x.host_value is not None
assert self.cache_controller.evict_host(x.host_value) > 0
num_evicted += self.cache_controller.evict_host(x.host_value)
for k, v in x.parent.children.items():
if v == x:
break
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment