fix: Use structured log output for partition dropping

pull/24376/head
Carol (Nichols || Goulding) 2021-02-22 12:46:32 -05:00
parent 45f4855d2e
commit c6becbd544
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ impl Db {
let key = p.key(); let key = p.key();
db.drop_partition(key); db.drop_partition(key);
info!( info!(
"dropped partition {} from mutable buffer to free {} bytes", partition_key = key,
key, partition_size partition_size, "dropped partition from mutable buffer",
); );
if size < config.buffer_size { if size < config.buffer_size {
return Ok(()); return Ok(());