Sync the checkpoints.

Because that's what should be done with checkpoints.
This commit is contained in:
beorn7 2015-03-11 19:10:51 +01:00
parent 7de2cf2fce
commit 9ecf93526d

View File

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