mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 21:12:55 +00:00
eviction: tone down logs to debug!() level if there were no evictions
fixes #3647
This commit is contained in:
committed by
Christian Schwarz
parent
ee1eda9921
commit
485b269674
@@ -199,7 +199,9 @@ impl Timeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
if stats.errors > 0 || stats.not_evictable > 0 {
|
||||
if stats.candidates == stats.not_evictable {
|
||||
debug!(stats=?stats, "eviction iteration complete");
|
||||
} else if stats.errors > 0 || stats.not_evictable > 0 {
|
||||
warn!(stats=?stats, "eviction iteration complete");
|
||||
} else {
|
||||
info!(stats=?stats, "eviction iteration complete");
|
||||
|
||||
Reference in New Issue
Block a user