Browse Source

Merge pull request #13110 from machine424/del-extra

head.go: Remove an unneeded snapshot trigger that was moved in https:…
pull/13124/head
Julien Pivotto 1 year ago committed by GitHub
parent
commit
cfd83e71f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tsdb/head.go

3
tsdb/head.go

@ -1593,9 +1593,6 @@ func (h *Head) Close() error {
h.mmapHeadChunks()
errs := tsdb_errors.NewMulti(h.chunkDiskMapper.Close())
if errs.Err() == nil && h.opts.EnableMemorySnapshotOnShutdown {
errs.Add(h.performChunkSnapshot())
}
if h.wal != nil {
errs.Add(h.wal.Close())
}

Loading…
Cancel
Save