diff --git a/pkg/vm/engine/tae/model/transfer.go b/pkg/vm/engine/tae/model/transfer.go index 6dfc882d2b9f..04b4eba66abc 100644 --- a/pkg/vm/engine/tae/model/transfer.go +++ b/pkg/vm/engine/tae/model/transfer.go @@ -72,9 +72,7 @@ func (table *TransferTable[T]) prepareTTL() (mem, disk []*common.PinnedItem[T]) disk = append(disk, page) } } - for _, page := range table.deletedPages { - disk = append(disk, page) - } + disk = append(disk, table.deletedPages...) table.RUnlock() table.Lock() defer table.Unlock()