[UnifiedTree] fix: backup SWA-split parent before child under write-through (#25065)
This commit is contained in:
@@ -1170,7 +1170,8 @@ class UnifiedRadixCache(BasePrefixCache):
|
||||
if not write_back and (
|
||||
node.parent is not self.root_node and not node.parent.backuped
|
||||
):
|
||||
return 0
|
||||
if self.write_backup(node.parent) <= 0:
|
||||
return 0
|
||||
|
||||
device_value = node.component_data[BASE_COMPONENT_TYPE].value
|
||||
kv_xfer = PoolTransfer(name=PoolName.KV, device_indices=device_value)
|
||||
|
||||
Reference in New Issue
Block a user