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
close #47762
  • Loading branch information
hawkingrei authored Oct 18, 2023
1 parent ac1f0d9 commit ab32fc7
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 @@ -100,7 +100,7 @@ func NewAsyncMergePartitionStats2GlobalStats(
statsHandle: statsHandle,
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 ab32fc7

Please sign in to comment.