mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08: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 a new issue