Skip to content

Commit

Permalink
libsql-wal: fix missing dir on replica init
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Oct 3, 2024
1 parent db9d6e1 commit 4f3fda2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsql-server/src/namespace/configurator/libsql_replica.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl ConfigureNamespace for LibsqlReplicaConfigurator {
tracing::debug!("creating replica namespace");
let mut join_set = JoinSet::new();
let db_path = self.base.base_path.join("dbs").join(name.as_str());
tokio::fs::create_dir_all(&db_path).await?;
let channel = self.channel.clone();
let uri = self.uri.clone();
let rpc_client = ReplicationLogClient::with_origin(channel.clone(), uri.clone());
Expand Down

0 comments on commit 4f3fda2

Please sign in to comment.