-
Notifications
You must be signed in to change notification settings - Fork 590
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
refactor(frontend): rename streaming_rate_limit
to backfill_rate_limit
for mv backfilling and source_rate_limit
for source updates
#17796
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.
IMO the difference between streaming_rate_limit
and backfill_rate_limit
can be very confusing after this...I propose another approach:
streaming_rate_limit -- still have the same meaning as before, controls both backfill and source/upstream
streaming_backfill_rate_limit -- only controls backfill
streaming_source_rate_limit -- only controls source/upstream
Is this doable?
Seems more complex to have 3 variables to control it, both in terms of ux and our own maintenance. This LGTM:
|
Pause this PR for a while for some prereq work. See #17796 (comment) |
I was suggesting to keep it for backward-compatibility purpose, as a fallback value of the following two. Either keeping it or removing it looks good to me actually. |
backfill_rate_limit
for mv backfillingstreaming_rate_limit
to backfill_rate_limit
for mv backfilling
streaming_rate_limit
to backfill_rate_limit
for mv backfillingstreaming_rate_limit
to backfill_rate_limit
for mv backfilling and source_rate_limit
for source updates
Done further refactoring as per @stdrc's suggestion. Renamed This PR will introduce a breaking change, and I have included the details in the PR description. |
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
it seems searching |
It's added in this PR. |
We just make |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Closes #16466
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
After this PR we refactor
streaming_rate_limit
into:source_rate_limit
. This will be applied toTABLE WITH SOURCE, TABLE
.backfill_rate_limit
. This will be applied toMV, SINK, INDEX
for their backfill.