mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/mergeset: add missing shouldCacheBlock (#1019)
This commit is contained in:
parent
5640e6cbca
commit
cf76d8dd79
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue