-
Notifications
You must be signed in to change notification settings - Fork 599
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(test): refactor scaling tests for arrangement backfill #14577
Conversation
Tested with arrangement backfill here 03ba6bf |
@@ -32,6 +32,7 @@ const MV5: &str = "create materialized view m5 as select * from m4;"; | |||
async fn test_simple_cascade_materialized_view() -> Result<()> { | |||
let mut cluster = Cluster::start(Configuration::for_scale()).await?; | |||
let mut session = cluster.start_session(); | |||
let arrangement_backfill_is_enabled = session.is_arrangement_backfill_enabled().await?; |
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.
Why could this vary during runtime? Didn't quite get it. 😕
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.
I assume it's for the tests to pass when the default value for enable_arrangment_backfill
is set to true manually.
Can we integrate the tests with arrangement backfill into CI?
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.
I assume it's for the tests to pass when the default value for enable_arrangment_backfill is set to true manually.
Can we integrate the tests with arrangement backfill into CI?
Yeah that's correct. Will do in separate PR, requires more refactor.
c900f45
to
9e8400d
Compare
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?
Only tests on
no_shuffle
opt-in to useno_shuffle_backfill
. For the other tests, we can let them remain as-is.We also add in a new test to test compatibility of arrangement backfill with auto parallelism and low-level scaling interface.
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.