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() { defer func() {
f.Sync()
closeErr := f.Close() closeErr := f.Close()
if err != nil { if err != nil {
return return

Loading…
Cancel
Save