We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f8bcc9 commit 45f2f2fCopy full SHA for 45f2f2f
statistics/merge_worker.go
@@ -45,7 +45,8 @@ type topnStatsMergeWorker struct {
45
respCh chan<- *TopnStatsMergeResponse
46
// the stats in the wrapper should only be read during the worker
47
statsWrapper *StatsWrapper
48
- shardMutex []sync.Mutex
+ // shardMutex is used to protect `statsWrapper.AllHg`
49
+ shardMutex []sync.Mutex
50
}
51
52
// NewTopnStatsMergeWorker returns topn merge worker
0 commit comments