erigon-pulse/kv/remotedb
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_remote.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00