Skip to content

Commit

Permalink
fix: introduce ddl controller to make all ddl's running in the backgr…
Browse files Browse the repository at this point in the history
…ound (#8145)

* fix: introduce ddl controller to make all ddl running in background

* clean

* fix

* fmt

* chore change

* comments

* cancel

* split

* fmt

* clippy
  • Loading branch information
yezizp2012 authored Feb 26, 2023
1 parent b32dc48 commit 131d88c
Show file tree
Hide file tree
Showing 5 changed files with 868 additions and 642 deletions.
4 changes: 2 additions & 2 deletions src/meta/src/manager/catalog/fragment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ where
pub async fn get_upstream_mview_fragments(
&self,
dependent_relation_ids: &HashSet<TableId>,
) -> MetaResult<HashMap<TableId, Fragment>> {
) -> HashMap<TableId, Fragment> {
let map = &self.core.read().await.table_fragments;
let mut fragments = HashMap::new();

Expand All @@ -835,7 +835,7 @@ where
}
}

Ok(fragments)
fragments
}

/// Get the downstream `Chain` fragments of the specified table.
Expand Down
Loading

0 comments on commit 131d88c

Please sign in to comment.