From 0e4f618339716cd6329f916af0ae6c9b97839de6 Mon Sep 17 00:00:00 2001 From: Wenbin1002 Date: Tue, 2 Jul 2024 18:42:50 +0800 Subject: [PATCH] sca #16953 --- pkg/vm/engine/tae/model/transfer.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()