Skip to content

Commit

Permalink
statistics: smaller task channel when to merge global stats (#47761) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Oct 19, 2023
1 parent 390c36c commit 84332a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/statistics/handle/globalstats/global_stats_async.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func NewAsyncMergePartitionStats2GlobalStats(
callWithSCtxFunc: callWithSCtxFunc,
cmsketch: make(chan mergeItem[*statistics.CMSketch], 5),
fmsketch: make(chan mergeItem[*statistics.FMSketch], 5),
histogramAndTopn: make(chan mergeItem[*StatsWrapper], 5),
histogramAndTopn: make(chan mergeItem[*StatsWrapper]),
PartitionDefinition: make(map[int64]model.PartitionDefinition),
tableInfo: make(map[int64]*model.TableInfo),
partitionIDs: make([]int64, 0, partitionNum),
Expand Down

0 comments on commit 84332a7

Please sign in to comment.