Skip to content

Commit

Permalink
Merge pull request tursodatabase#1771 from tursodatabase/libsql-wal-f…
Browse files Browse the repository at this point in the history
…ix-missing-dir

libsql wal fix missing dir
  • Loading branch information
MarinPostma authored Oct 3, 2024
2 parents 87001c0 + 4f3fda2 commit e110689
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 e110689

Please sign in to comment.