Files
turso/core/io
Daniel Boll fc50609491 Fix io_uring WAL write corruption by ensuring buffer lifetime
Ensure the Arc<RefCell<Buffer>> in UringFile::pwrite remains alive until
the io_uring write completes by referencing it in the completion callback.
This prevents WAL file corruption where the correct buffer data was
overwritten with stale memory (e.g., 00 18 27 xx instead of 37 7f 06 82).

Validation:
- Tested with limbo -v io_uring and WAL operations.
- Verified with xxd and wal-browser.

Signed-off-by: Daniel Boll <danielboll.academico@gmail.com>
2025-03-19 23:55:43 -03:00
..
2024-11-13 13:45:42 +00:00
2025-03-05 14:07:48 +01:00
2025-03-05 14:07:48 +01:00
2025-03-05 14:07:48 +01:00
2025-03-14 18:08:49 -04:00
2025-03-05 14:07:48 +01:00