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

hardcode enable_storage_sharding #15063

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
11 changes: 11 additions & 0 deletions testsuite/forge/src/backend/k8s/cluster_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,20 @@ pub async fn install_testnet_resources(
enable_haproxy,
)?;

info!("aptos_node_helm_values: {:?}", aptos_node_helm_values);
info!(
"aptos_node_helm_values_override: {:?}",
aptos_node_helm_values_override
);

merge_yaml(&mut aptos_node_helm_values, aptos_node_helm_values_override);
merge_yaml(&mut genesis_helm_values, genesis_helm_values_override);

info!(
"aptos_node_helm_values after override: {:?}",
aptos_node_helm_values
);

// disable uploading genesis to blob storage since indexer requires it in the cluster
if enable_indexer {
aptos_node_helm_values["genesis_blob_upload_url"] = "".into();
Expand Down
6 changes: 6 additions & 0 deletions testsuite/forge/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,12 @@ impl ForgeConfig {
helm_values["validator"]["rust_log"] = "debug,hyper=off".into();
helm_values["fullnode"]["rust_log"] = "debug,hyper=off".into();
}
helm_values["validator"]["config"]["storage"]["rocksdb_configs"]
["enable_storage_sharding"] = true.into();
helm_values["fullnode"]["config"]["storage"]["rocksdb_configs"]
["enable_storage_sharding"] = true.into();
helm_values["validator"]["config"]["indexer_db_config"]["enable_event"] = true.into();
helm_values["fullnode"]["config"]["indexer_db_config"]["enable_event"] = true.into();
}))
}

Expand Down
Loading