chore: include table name in compaction log (#1805)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
84e63bb1b9
commit
3046b1692c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue