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

fix: fill source id before creating source in compute node #1806

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

hzxa21
Copy link
Collaborator

@hzxa21 hzxa21 commented Apr 13, 2022

Refer to a related PR or issue link (optional)

close #1805

@hzxa21 hzxa21 requested review from tabVersion and zbzbw April 13, 2022 06:23
@github-actions github-actions bot added the type/fix Bug fix label Apr 13, 2022
@hzxa21 hzxa21 requested a review from BugenZhao April 13, 2022 06:26
risedev.yml Show resolved Hide resolved

self.catalog_manager
.start_create_source_procedure(&source)
.await
.map_err(tonic_err)?;

// QUESTION(patrick): why do we need to contact compute node on create source
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we should get rid of this in the future. Source info should be part of the plan node.

@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #1806 (b5feddd) into main (2b568b5) will increase coverage by 0.08%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1806      +/-   ##
==========================================
+ Coverage   71.24%   71.33%   +0.08%     
==========================================
  Files         605      605              
  Lines       78907    79168     +261     
==========================================
+ Hits        56220    56476     +256     
- Misses      22687    22692       +5     
Flag Coverage Δ
rust 71.33% <0.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/meta/src/rpc/service/ddl_service.rs 0.00% <0.00%> (ø)
src/meta/src/model/mod.rs 95.58% <0.00%> (-2.84%) ⬇️
src/meta/src/stream/graph/fragment_graph.rs 96.94% <0.00%> (-0.32%) ⬇️
src/meta/src/stream/fragmenter.rs 96.20% <0.00%> (+3.16%) ⬆️
src/meta/src/stream/graph/stream_graph.rs 70.31% <0.00%> (+12.04%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@skyzh skyzh enabled auto-merge (squash) April 13, 2022 06:40
@skyzh skyzh merged commit 946ae60 into main Apr 13, 2022
@skyzh skyzh deleted the patrick/frontend-fix-create-source branch April 13, 2022 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Cannot create more than one source
4 participants