mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
fix typo (#16480)
Signed-off-by: Yuchen Wang <yuchen.wang@databricks.com>
This commit is contained in:
parent
b594733a07
commit
5630a3906a
@ -1486,7 +1486,7 @@ func (db *DB) compactBlocks() (err error) {
|
||||
// long enough that we end up with a HEAD block that needs to be written.
|
||||
// Check if that's the case and stop compactions early.
|
||||
if db.head.compactable() && !db.waitingForCompactionDelay() {
|
||||
db.logger.Warn("aborting block compactions to persit the head block")
|
||||
db.logger.Warn("aborting block compactions to persist the head block")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user