mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/fs: use WARN instead of ERROR log level for the message when NFS diretory removal temporarily fails
this is expected condition, so it is better to use WARN log level for it
This commit is contained in:
parent
d4be3efc60
commit
fd9f1463df
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func dirRemover() {
|
||||||
if sleepTime < maxSleepTime {
|
if sleepTime < maxSleepTime {
|
||||||
sleepTime *= 2
|
sleepTime *= 2
|
||||||
} else {
|
} else {
|
||||||
logger.Errorf("failed to remove directory %q due to NFS lock; retrying later", w.path)
|
logger.Warnf("failed to remove directory %q due to NFS lock; retrying later in %.3f seconds", w.path, sleepTime.Seconds())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue