Skip to content

Commit

Permalink
statistics: kill in time when to run topnStatsMergeWorker and remove …
Browse files Browse the repository at this point in the history
…useless

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Aug 2, 2023
1 parent c8246aa commit 58bc4d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion statistics/merge_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ func (worker *topnStatsMergeWorker) Run(timeZone *time.Location, isIndex bool,
return
}
partNum := len(allTopNs)
checkNum := len(checkTopNs)
removeVals := make([][]TopNMeta, partNum)
// Different TopN structures may hold the same value, we have to merge them.
counter := make(map[hack.MutableString]float64)
Expand Down

0 comments on commit 58bc4d4

Please sign in to comment.