|
|
|
|
|
by cryptonector
337 days ago
|
|
Correct, TFA needs to wait for the completion of _all_ writes to the WAL, which is what `fsync()` was doing. Waiting only for the completion of the "completion record" does not ensure that the "intent record" made it to the WAL. In the event of a power failure it is entirely possible that the intent record did not make it but the completion record did, and then on recovery you'll have to panic. |
|
The CQEs on a write indicate something different compared to the CQE of an fsync operation on that same range.