Skip to content

Commit

Permalink
Improve compaction efficacy to include system tables
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 1, 2024
1 parent 39c41aa commit 1a04f82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,11 @@ impl WriteTransaction {
if table_tree.compact_tables()? {
progress = true;
}
let mut system_tables = self.system_tables.lock().unwrap();
let system_table_tree = &mut system_tables.table_tree;
if system_table_tree.compact_tables()? {
progress = true;
}

Ok(progress)
}
Expand Down

0 comments on commit 1a04f82

Please sign in to comment.