Skip to content

Commit 28460b1

Browse files
committed
fix comments
1 parent 4cf09d8 commit 28460b1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libsql-server/src/bottomless_migrate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use crate::namespace::NamespaceStore;
3030
/// loading them
3131
/// 2) with a dummy registry, in a temp directory, with no storage, and no checkpointer, inject all the pages from the
3232
/// original db into a new temp db
33-
/// 3) when all namspace have been successfully migrated, make the dbs and wals folders permanent
33+
/// 3) when all namespace have been successfully migrated, make the dbs and wals folders permanent
3434
pub async fn bottomless_migrate(
3535
meta_store: MetaStore,
3636
base_config: BaseNamespaceConfig,

libsql-server/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ where
11801180
Ok(true)
11811181
} else {
11821182
// the wals directory is present and so is the _dbs. This means that a crash occured
1183-
// before we could remove it. clean it up now. see code in `migrate_bottomless.rs`
1183+
// before we could remove it. clean it up now. see code in `bottomless_migrate.rs`
11841184
let tmp_dbs_path = base_config.base_path.join("_dbs");
11851185
if tmp_dbs_path.try_exists()? {
11861186
tracing::info!("removed dangling `_dbs` folder");

0 commit comments

Comments
 (0)