Commit Graph

5 Commits

Author SHA1 Message Date
Alex Sharov
3e933bc456
Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883)
On power-off recent "no-sync" txs may be lost. It will cause 2. cases:
- Good piece on disk and recent "complete" db marker lost. Self-Heal by
re-download.
- Bad piece on dis and recent "incomplete" db marker lost. No Self-Heal.
So, can't afford loosing recent "incomplete" markers.
2023-02-10 13:20:13 +07:00
Alex Sharov
7da5281947
kv: db.ReadOnly() method (#806) 2022-12-28 12:48:54 +07:00
alex.sharov
c8cd6f567f save 2022-12-24 11:18:49 +07:00
Alex Sharov
2dcec83222
mdbx: add BeginRwAsync method (#767) 2022-12-07 11:19:08 +07:00
Giulio rebuffo
2017964398
added temporary database (#633)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-10 23:56:59 +02:00