Skip to content

Commit

Permalink
fix cluster limit
Browse files Browse the repository at this point in the history
  • Loading branch information
yezizp2012 committed Sep 29, 2024
1 parent 98ccf5c commit 1717723
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/run-deterministic-fuzz-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ download-and-decompress-artifact risingwave_simulation .
chmod +x ./risingwave_simulation

echo "--- deterministic simulation e2e, ci-3cn-2fe, fuzzing (seed)"
seq 32 | parallel './risingwave_simulation --sqlsmith 100 ./src/tests/sqlsmith/tests/testdata 2> $LOGDIR/fuzzing-{}.log && rm $LOGDIR/fuzzing-{}.log'
seq 32 | parallel './risingwave_simulation --sqlsmith 100 ./src/tests/sqlsmith/tests/testdata 2> $LOGDIR/fuzzing-{}.log && rm $LOGDIR/fuzzing-{}.log'
4 changes: 4 additions & 0 deletions src/config/ci-sim.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ max_concurrent_creating_streaming_jobs = 0

[meta]
meta_leader_lease_secs = 10

[meta.developer]
meta_actor_cnt_per_worker_parallelism_soft_limit = 65536
meta_actor_cnt_per_worker_parallelism_hard_limit = 65536
12 changes: 2 additions & 10 deletions src/tests/simulation/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,9 @@ async fn main() {
meta_nodes: args.meta_nodes,
sqlite_data_dir: args.sqlite_data_dir,
per_session_queries: if args.use_arrangement_backfill {
vec![
"SET STREAMING_USE_ARRANGEMENT_BACKFILL = true;".to_string(),
"SET bypass_cluster_limits TO true;".to_string(),
]
.into()
vec!["SET STREAMING_USE_ARRANGEMENT_BACKFILL = true;".to_string()].into()
} else {
vec![
"SET STREAMING_USE_ARRANGEMENT_BACKFILL = false;".to_string(),
"SET bypass_cluster_limits TO true;".to_string(),
]
.into()
vec!["SET STREAMING_USE_ARRANGEMENT_BACKFILL = false;".to_string()].into()
},
..Default::default()
};
Expand Down

0 comments on commit 1717723

Please sign in to comment.