Repository navigation
Release v5.2.1
uni-db 5.2.1
Changes since 5.2.0.
5.2.1 is a patch release: it makes uni-db work on Windows again. It has no
API or behaviour changes on Linux or macOS.
Correctness fixes
- On Windows, the first write to any store failed with
Access is denied. (os error 5), including a write toUni::in_memory(), which is
backed by a temporary directory (#338). Each newly written WAL segment,
snapshot manifest and catalog file was reopened read-only before
sync_all. On Windows that call isFlushFileBuffers, which needs write
access on the handle. The file is now opened for writing. POSIXfsync
accepts either kind of handle, so nothing changes on Unix. The bug was
present in 5.1.0 and 5.2.0. A unit test now syncs a freshly written file.
What's Changed
Other Changes
- fix(store): open a file for writing before sync_all by @milliondreams in #339
Full Changelog: v5.2.0...v5.2.1