Comment 131 for bug 317781

Revision history for this message
pablomme (pablomme) wrote :

> The reason why the write operation is delayed is because of performance.

Yup, I understand that and I'm all for it. Delay writing for hours if that improves performance further, that's great. But the question remains: why is the _truncate_ operation not delayed as well? The gap between the truncate and the write is what creates a window where crashing the system leads to data loss. That gap should be closed, not by "un-delaying" the write (which reduces performance), but by delaying the truncate (which should, if anything, improve performance).