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

chore(test): fix config for compaction test #8752

Merged
merged 2 commits into from
Mar 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/config/ci-compaction-test-meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ enable_compaction_deterministic = true
max_heartbeat_interval_secs = 600

[streaming]
barrier_interval_ms = 250
in_flight_barrier_nums = 40
# We set a large checkpoint frequency to prevent the embedded meta node
# to commit new epochs to avoid bumping the hummock version during version log replay.
checkpoint_frequency = 99999999

[storage]
shared_buffer_capacity_mb = 4096
Expand All @@ -26,4 +22,8 @@ cache_file_max_write_size_mb = 4
sstable_size_mb = 256
block_size_kb = 1024
bloom_false_positive = 0.001
data_directory = "hummock_001"
data_directory = "hummock_001"
# We set a large checkpoint frequency to prevent the embedded meta node
# to commit new epochs to avoid bumping the hummock version during version log replay.
checkpoint_frequency = 99999999
barrier_interval_ms = 250
6 changes: 3 additions & 3 deletions src/config/ci-compaction-test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ enable_compaction_deterministic = true
max_heartbeat_interval_secs = 600

[streaming]
barrier_interval_ms = 250
in_flight_barrier_nums = 40
checkpoint_frequency = 10

[storage]
shared_buffer_capacity_mb = 4096
Expand All @@ -24,4 +22,6 @@ cache_file_max_write_size_mb = 4
sstable_size_mb = 256
block_size_kb = 1024
bloom_false_positive = 0.001
data_directory = "hummock_001"
data_directory = "hummock_001"
checkpoint_frequency = 10
barrier_interval_ms = 250
2 changes: 0 additions & 2 deletions src/tests/compaction_test/src/compaction_test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ pub async fn start_meta_node(listen_addr: String, state_store: String, config_pa
&listen_addr,
"--backend",
"mem",
"--checkpoint-frequency",
&CHECKPOINT_FREQ_FOR_REPLAY.to_string(),
"--state-store",
&state_store,
"--config-path",
Expand Down