mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: don't save persistent node ID on shutdown
It is supposed to be saved right after it was generated, there is no reason re-write it again. Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
This commit is contained in:
parent
7402ee0801
commit
3df456dd35
1 changed files with 0 additions and 2 deletions
|
@ -919,8 +919,6 @@ func (s *Storage) MustClose() {
|
|||
nextDayMetricIDs := s.nextDayMetricIDs.Load()
|
||||
s.mustSaveNextDayMetricIDs(nextDayMetricIDs)
|
||||
|
||||
s.mustSaveNodeID()
|
||||
|
||||
// Release lock file.
|
||||
fs.MustClose(s.flockF)
|
||||
s.flockF = nil
|
||||
|
|
Loading…
Reference in a new issue