Skip to content

Commit

Permalink
fix: fix bench for metakv backend
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Jan 6, 2025
1 parent c9872d2 commit 7b0a3f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 7b0a3f8

Please sign in to comment.