Remove incorrect BlockRemoved event emission during node splits (#14934)

Signed-off-by: Neal Vaidya <nealv@nvidia.com>
This commit is contained in:
Neal Vaidya
2025-12-16 14:11:24 -08:00
committed by GitHub
parent 28a19e494b
commit a4c762811a

View File

@@ -649,7 +649,6 @@ class RadixCache(BasePrefixCache):
def _split_node(self, key: RadixKey, child: TreeNode, split_len: int):
# new_node -> child
# New node inherits child's priority (represents shared prefix)
self._record_remove_event(child)
new_node = TreeNode(priority=child.priority)
new_node.children = {self.get_child_key_fn(key[split_len:]): child}
new_node.parent = child.parent