From 7b0a3f8bca39b6885deb114d386015a17b9e97ab Mon Sep 17 00:00:00 2001 From: CookiePieWw Date: Mon, 6 Jan 2025 12:35:05 +0800 Subject: [PATCH] fix: fix bench for metakv backend --- src/cli/src/bench.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/src/bench.rs b/src/cli/src/bench.rs index c04512548033..ce933688d678 100644 --- a/src/cli/src/bench.rs +++ b/src/cli/src/bench.rs @@ -78,7 +78,9 @@ impl BenchTableMetadataCommand { #[cfg(feature = "pg_kvbackend")] let kv_backend = if let Some(postgres_addr) = &self.postgres_addr { info!("Using postgres as kv backend"); - PgStore::with_url(postgres_addr, 128).await.unwrap() + PgStore::with_url(postgres_addr, 128, "greptime_metakv".to_string()) + .await + .unwrap() } else { kv_backend };