Merge pull request #590 from prometheus/beorn7/fix
Sync the checkpoints.
This commit is contained in:
commit
d797546b2d
|
@ -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