chore: include table name in compaction log (#1805)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Raphael Taylor-Davies 2021-06-25 16:20:44 +01:00 committed by GitHub
parent 84e63bb1b9
commit 3046b1692c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ impl<'a> LockablePartition for LockableCatalogPartition<'a> {
partition: LifecycleWriteGuard<'_, Self::Partition, Self>,
chunks: Vec<LifecycleWriteGuard<'_, CatalogChunk, Self::Chunk>>,
) -> Result<TaskTracker<Job>, Self::CompactError> {
info!(partition=%partition.partition_key(), "compacting chunks");
info!(table=%partition.table_name(), partition=%partition.partition_key(), "compacting chunks");
let (tracker, fut) = compact::compact_chunks(partition, chunks)?;
let _ = tokio::spawn(async move { fut.await.log_if_error("compacting chunks") });
Ok(tracker)