erigon-pulse/kv/mdbx
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
..
kv_abstract_test.go e3: getLogs on iterators (#851) 2023-01-25 16:29:23 +07:00
kv_mdbx_temporary_test.go added temporary database (#633) 2022-09-10 23:56:59 +02:00
kv_mdbx_temporary.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00
kv_mdbx_test.go e3: getLogs on iterators (#851) 2023-01-25 16:29:23 +07:00
kv_mdbx.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00
kv_migrator_test.go kv: tx.Prefix method (#804) 2022-12-26 17:58:17 +07:00
util.go Pool: discard reasons, LRU (#80) 2021-09-20 12:44:29 +07:00