mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: add missing increment for recentHourInvertedIndexSearchCalls
This commit is contained in:
parent
c57eb0ff83
commit
33895d4a0f
1 changed files with 1 additions and 1 deletions
|
@ -2198,9 +2198,9 @@ func (is *indexSearch) tryUpdatingMetricIDsForRecentHour(metricIDs *uint64set.Se
|
|||
return false
|
||||
}
|
||||
|
||||
atomic.AddUint64(&is.db.recentHourInvertedIndexSearchCalls, 1)
|
||||
minHour := uint64(tr.MinTimestamp) / msecPerHour
|
||||
maxHour := uint64(tr.MaxTimestamp) / msecPerHour
|
||||
|
||||
hmCurr := is.db.currHourMetricIDs.Load().(*hourMetricIDs)
|
||||
if maxHour == hmCurr.hour && minHour == maxHour && hmCurr.isFull {
|
||||
// The tr fits the current hour.
|
||||
|
|
Loading…
Reference in a new issue