MCPcopy Create free account
hub / github.com/cosdata/cosdata / reopen_wal

Function reopen_wal

src/models/wal.rs:441–443  ·  view source on GitHub ↗
(dir: &std::path::Path, txn_id: u32)

Source from the content-addressed store, hash-verified

439 }
440
441 fn reopen_wal(dir: &std::path::Path, txn_id: u32) -> WALFile {
442 WALFile::from_existing(dir, VersionNumber::from(txn_id)).unwrap()
443 }
444
445 #[test]
446 fn test_random_upsert_persistence() {

Calls

no outgoing calls