Unverified Commit bc56a1d5 authored by Yiqi Xue's avatar Yiqi Xue Committed by GitHub
Browse files

[Bugfix] Fix ARC touch KeyError for non-ready T1 blocks in kv offload (#34576)


Signed-off-by: default avatarYiqi Xue <xuey666@gmail.com>
parent ec7d9e67
......@@ -90,7 +90,8 @@ class ARCOffloadingManager(OffloadingManager):
block = self.t1.pop(block_hash)
if not block.is_ready:
# block was just prepared to be stored, not really touched twice
self.t1.move_to_end(block_hash)
# keep it in T1 and mark as most recently used
self.t1[block_hash] = block
else:
self.t2[block_hash] = block
......
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