fix: reduce "nothing to do" lifecycle messages from from debug to trace (#3449)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Andrew Lamb 2022-01-13 14:04:47 -05:00 committed by GitHub
parent dd23056efd
commit 957276faa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ where
// TODO: Encapsulate locking into a CatalogTransaction type // TODO: Encapsulate locking into a CatalogTransaction type
let partition = partition.read(); let partition = partition.read();
if partition.is_persisted() { if partition.is_persisted() {
debug!(db_name = %self.db.name(), %partition, "nothing to be compacted for partition"); trace!(db_name = %self.db.name(), %partition, "nothing to be compacted for partition");
return; return;
} }
@ -340,7 +340,7 @@ where
let partition = partition.read(); let partition = partition.read();
if partition.is_persisted() { if partition.is_persisted() {
debug!(%db_name, %partition, "nothing to persist for partition"); trace!(%db_name, %partition, "nothing to persist for partition");
return false; return false;
} }