mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: typo fix in info message when deleting the part outside the configured retention
Previously the message was displaying incorrect retention time
This commit is contained in:
parent
60947fb2d5
commit
f89c1f7f49
1 changed files with 1 additions and 1 deletions
|
@ -1363,7 +1363,7 @@ func (pt *partition) removeStaleParts() {
|
|||
pt.snapshotLock.RLock()
|
||||
var removeWG sync.WaitGroup
|
||||
for pw := range m {
|
||||
logger.Infof("removing part %q, since its data is out of the configured retention (%d secs)", pw.p.path, retentionDeadline/1000)
|
||||
logger.Infof("removing part %q, since its data is out of the configured retention (%d secs)", pw.p.path, pt.retentionMsecs/1000)
|
||||
removeWG.Add(1)
|
||||
fs.MustRemoveAllWithDoneCallback(pw.p.path, removeWG.Done)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue