benclmnt / papers

Summary of my readings
1 stars 0 forks source link

Fsyncgate (2018) #7

Open benclmnt opened 1 year ago

benclmnt commented 1 year ago

TL;DR: Pg should PANIC on fsync() EIO return. Retrying fsync() is not OK at least on Linux. When fsync() returns success it means "all writes since the last fsync have hit disk" but we assume it means "all writes since the last SUCCESSFUL fsync have hit disk".

References