From 1ef6e86389214252e5e50a8a57c44e26a7313841 Mon Sep 17 00:00:00 2001 From: niebayes Date: Fri, 15 Dec 2023 14:32:09 +0800 Subject: [PATCH] chore: minor update --- config/standalone.example.toml | 2 +- src/mito2/src/wal.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/standalone.example.toml b/config/standalone.example.toml index 8ddf72094245..c846e52b8947 100644 --- a/config/standalone.example.toml +++ b/config/standalone.example.toml @@ -85,7 +85,7 @@ enable = true # Available wal providers: # - "RaftEngine" (default) # - "Kafka" -provider = "RaftEngine" +provider = "raft-engine" # WAL data directory # dir = "/tmp/greptimedb/wal" diff --git a/src/mito2/src/wal.rs b/src/mito2/src/wal.rs index 71bee7f6fabc..4e616c453fbe 100644 --- a/src/mito2/src/wal.rs +++ b/src/mito2/src/wal.rs @@ -175,7 +175,7 @@ fn try_build_wal_namespace( wal_options: &HashMap, ) -> Result { store - .namespace(region_id.into(), &wal_options) + .namespace(region_id.into(), wal_options) .map_err(BoxedError::new) .with_context(|_| BuildWalNamespaceSnafu { region_id,