From 1603113ce5c0a99f9af6f5a42d0d11a2d64a0d4f Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Thu, 2 May 2024 15:54:34 +0100 Subject: [PATCH] docs(libmdbx): more `static_files` -> `snapshots` (#8047) --- crates/storage/libmdbx-rs/src/environment.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/storage/libmdbx-rs/src/environment.rs b/crates/storage/libmdbx-rs/src/environment.rs index 03afb47843..ba7385b949 100644 --- a/crates/storage/libmdbx-rs/src/environment.rs +++ b/crates/storage/libmdbx-rs/src/environment.rs @@ -950,8 +950,7 @@ mod tests { .open(tempdir.path()) .unwrap(); - // Insert some data in the database, so the read transaction can lock on the static file of - // it + // Insert some data in the database, so the read transaction can lock on the snapshot of it { let tx = env.begin_rw_txn().unwrap(); let db = tx.open_db(None).unwrap(); @@ -964,8 +963,7 @@ mod tests { // Create a read transaction let _tx_ro = env.begin_ro_txn().unwrap(); - // Change previously inserted data, so the read transaction would use the previous static - // file + // Change previously inserted data, so the read transaction would use the previous snapshot { let tx = env.begin_rw_txn().unwrap(); let db = tx.open_db(None).unwrap();