Skip to content

Commit

Permalink
feat: start wal allocator in standalone meta mode
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Dec 28, 2023
1 parent 6e9d275 commit 36edf16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/meta-srv/src/metasrv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 36edf16

Please sign in to comment.