Skip to content

Commit

Permalink
hardcode enable_storage_sharding
Browse files Browse the repository at this point in the history
  • Loading branch information
aluon committed Oct 23, 2024
1 parent 321bbd2 commit 812966d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
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

0 comments on commit 812966d

Please sign in to comment.