We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20bdf11 commit 1e93bc8Copy full SHA for 1e93bc8
1 file changed
libsql-wal/src/registry.rs
@@ -552,18 +552,6 @@ where
552
None => break,
553
}
554
555
-
556
- let mut tx = Transaction::Write(injector.into_guard().into_inner());
557
- let ret = {
558
- let mut guard = tx.as_write_mut().unwrap().lock();
559
- guard.commit();
560
- // the current segment it unordered, no new frames should be appended to it, seal it and
561
- // open a new segment
562
- shared.swap_current(&guard)
563
- };
564
- // make sure the tx is always ended before it's dropped!
565
- tx.end();
566
- ret?;
567
568
569
tracing::info!("local database is up to date");
0 commit comments