erigon-pulse/downloader
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
..
downloadercfg Torrent: reduce network chunk, some routers are unhappy (#829) 2023-01-11 13:30:13 +07:00
downloadergrpc Downloader extract, step2 (#739) 2022-11-20 10:41:20 +07:00
snaptype Downloader extract, step2 (#739) 2022-11-20 10:41:20 +07:00
trackers Downloader extract, step2 (#739) 2022-11-20 10:41:20 +07:00
downloader_grpc_server.go Downloader extract, step2 (#739) 2022-11-20 10:41:20 +07:00
downloader.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00
mdbx_piece_completion_test.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00
mdbx_piece_completion.go Downloader: "incomplete" markers are more important than "complete", so commit them with fsync (#883) 2023-02-10 13:20:13 +07:00
util.go Downloader extract, step2 (#739) 2022-11-20 10:41:20 +07:00