Skip to content

Commit

Permalink
release transfer hashmap matrixorigin#16953
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenbin1002 committed Jul 2, 2024
1 parent 7e5f246 commit 73d6a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vm/engine/tae/model/pages.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (page *TransferHashPage) ClearTable() {
atomic.StoreInt32(&page.isPersisted, 1)
v2.TaskMergeTransferPageSizeGauge.Sub(float64(page.Length()))
page.latch.Lock()
clear(page.hashmap.M)
page.hashmap.M = make(map[uint32][]byte)
page.latch.Unlock()
}

Expand Down

0 comments on commit 73d6a59

Please sign in to comment.