From 36edf16d76d48d847cbce3da2ea358349bca495d Mon Sep 17 00:00:00 2001 From: WenyXu Date: Thu, 28 Dec 2023 14:52:19 +0000 Subject: [PATCH] feat: start wal allocator in standalone meta mode --- src/meta-srv/src/metasrv.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meta-srv/src/metasrv.rs b/src/meta-srv/src/metasrv.rs index 4d6782a2b630..24913591c8f4 100644 --- a/src/meta-srv/src/metasrv.rs +++ b/src/meta-srv/src/metasrv.rs @@ -328,6 +328,9 @@ impl MetaSrv { info!("MetaSrv stopped"); }); } else { + if let Err(e) = self.wal_options_allocator.start().await { + error!(e; "Failed to start wal options allocator"); + } // Always load kv into cached kv store. self.leader_cached_kv_backend .load()