|
|
|
|
|
by bassp
582 days ago
|
|
For sure! Upon reflection, maybe I’m less curious about crash consistency (corruption or whatever) per-se, and more about what kinds of durability guarantees I can expect in the presence of a crash. I’m specifically interested in how you’re handling synchronization between the NFS layer and S3 wrt fsync. The description says that data is “asynchronously” written back out to S3. That implies to me that it’s possible for something like this to happen: 1. I write to a file and fsync it 2. Your NFS layer makes the file durable and returns 3. Your NFS layer crashes (oh no, the intern merged some bad terraform!) before it writes back to S3 4. I go to read the file from S3… and it’s not there! Is that possible? IE is the only way to get a consistent view of the data by reading “through” the nfs layer, even if I fsync? |
|