mirror of
https://github.com/prometheus/prometheus
synced 2025-03-09 23:17:40 +00:00
Merge "Fix chunk corruption compaction bug."
This commit is contained in:
commit
5e18255920
@ -135,6 +135,9 @@ func (p *CompactionProcessor) Apply(sampleIterator leveldb.Iterator, samplesPers
|
||||
return
|
||||
}
|
||||
sampleKey.Load(sampleKeyDto)
|
||||
if !sampleKey.Fingerprint.Equal(fingerprint) {
|
||||
break
|
||||
}
|
||||
|
||||
unactedSamples, err = extractSampleValues(sampleIterator)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user