Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Aug 5, 2024
1 parent c245f0a commit fba5fd7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/meta/src/hummock/manager/compaction_group_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,10 @@ impl HummockManager {
/// Currently `purge` is only called during meta service start ups.
pub async fn purge(&self, valid_ids: &HashSet<TableId>) -> Result<()> {
let to_unregister = {
let versioning = self
.versioning
.read()
.await;
let versioning = self.versioning.read().await;
let mut remaining_valid_ids = valid_ids.iter().cloned().collect::<BTreeSet<_>>();
let to_unregister =
versioning.current_version
let to_unregister = versioning
.current_version
.state_table_info
.info()
.keys()
Expand Down

0 comments on commit fba5fd7

Please sign in to comment.