mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
Sync the checkpoints.
Because that's what should be done with checkpoints.
This commit is contained in:
parent
7de2cf2fce
commit
9ecf93526d
@ -505,6 +505,7 @@ func (p *persistence) checkpointSeriesMapAndHeads(fingerprintToSeries *seriesMap
|
||||
}
|
||||
|
||||
defer func() {
|
||||
f.Sync()
|
||||
closeErr := f.Close()
|
||||
if err != nil {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user