Merge pull request #590 from prometheus/beorn7/fix

Sync the checkpoints.
pull/592/head
Björn Rabenstein 10 years ago
commit d797546b2d

@ -505,6 +505,7 @@ func (p *persistence) checkpointSeriesMapAndHeads(fingerprintToSeries *seriesMap
}
defer func() {
f.Sync()
closeErr := f.Close()
if err != nil {
return

Loading…
Cancel
Save