From c944c77209f4a60e53bf587964f67766cdb58133 Mon Sep 17 00:00:00 2001 From: Alan Luong Date: Wed, 23 Oct 2024 18:51:06 -0400 Subject: [PATCH] hardcode enable_storage_sharding (#15063) --- testsuite/forge/src/backend/k8s/cluster_helper.rs | 11 +++++++++++ testsuite/forge/src/runner.rs | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/testsuite/forge/src/backend/k8s/cluster_helper.rs b/testsuite/forge/src/backend/k8s/cluster_helper.rs index f1243fd08c11e..93fe76c773d59 100644 --- a/testsuite/forge/src/backend/k8s/cluster_helper.rs +++ b/testsuite/forge/src/backend/k8s/cluster_helper.rs @@ -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(); diff --git a/testsuite/forge/src/runner.rs b/testsuite/forge/src/runner.rs index 46407a4f8cc65..73e0262708f9e 100644 --- a/testsuite/forge/src/runner.rs +++ b/testsuite/forge/src/runner.rs @@ -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(); })) }