-
Notifications
You must be signed in to change notification settings - Fork 570
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(meta): support create subscription #15371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest generally LGTM, thx for the job. Since so many syntaxes are supported for subscription, we need enough e2e to cover them in later PRs. Cc @zwang28 do we need some extra works to support backup functions based on etcd?
@@ -65,6 +65,7 @@ message GrantPrivilege { | |||
uint32 all_tables_schema_id = 11; | |||
uint32 all_sources_schema_id = 12; | |||
uint32 all_dml_tables_schema_id = 13; | |||
uint32 subscription_id = 14; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, non-related to this PR, we also have to define all available acls for subscription in https:/risingwavelabs/risingwave/blob/be30f20e2c14b5d12efd5b33a4ac9e537602fc37/src/common/src/acl/mod.rs and support privilege related syntax for subscription. We can support it in an separate PR after the functionality of subscription is ready.
yesyes,I will add e2e in part2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM. Please wait for @zwang28's review before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Included subscription in meta backup. LGTM for this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Changes in meta to support create subscription.
Follow-up PR: frontend changes in #14831
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.