erigon-pulse/kv/memdb
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
..
memory_database.go Configurable temporary directory for in-memory DB (#676) 2022-10-11 16:57:32 +02:00
memory_mutation_cursor.go e3: reverse/limited iterators, stream tooling (#840) 2023-01-20 18:08:22 +07:00
memory_mutation_test.go Rollback MDBX upgrade (#842) 2023-01-20 20:11:58 +00:00
memory_mutation.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00