Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(flow): flush_flow function #4416

Merged
merged 23 commits into from
Jul 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove unused
  • Loading branch information
discord9 committed Jul 24, 2024
commit 2b48e6a9d4afa1a6022004f969185a7e3c985ed3
6 changes: 2 additions & 4 deletions src/flow/src/adapter/flownode_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ impl Flownode for FlowWorkerManager {
.map_err(to_meta_err)?;
Ok(Default::default())
}
Some(flow_request::Body::Flush(FlushFlow {
flow_id: Some(_flow_id),
})) => {
// TODO: impl individual flush
Some(flow_request::Body::Flush(FlushFlow { flow_id: _ })) => {
// TODO(discord9): impl individual flush
self.run_available(true).await.map_err(to_meta_err)?;
self.send_writeback_requests().await.map_err(to_meta_err)?;

Expand Down