mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-04 16:51:11 +01:00
lib/mergeset: add missing shouldCacheBlock (#1019)
This commit is contained in:
parent
5640e6cbca
commit
cf76d8dd79
@ -77,6 +77,7 @@ func (ps *partSearch) Init(p *part, shouldCacheBlock func(item []byte) bool) {
|
||||
ps.p = p
|
||||
ps.idxbCache = p.idxbCache
|
||||
ps.ibCache = p.ibCache
|
||||
ps.shouldCacheBlock = shouldCacheBlock
|
||||
}
|
||||
|
||||
// Seek seeks for the first item greater or equal to k in ps.
|
||||
|
Loading…
Reference in New Issue
Block a user