On Wednesday 17 March 2010 09:14:58 Bob Lee wrote:
> The spec says:
>
> "When a chunk is replaced (eg. file details changed or a part of a file was
> overwritten), the new chunk is written before the old chunk is deleted.
> This means that we don't lose data if there is a power loss after the new
> chunk is created but before the old one is discarded"
>
> Is it safe to assume that partial writes won't persist?
>
> For example, if only 15 bytes get written to an existing page before the
> power goes out, when the power comes back, the page will have its original
> state, right?
Correct.
The partially written page will not pass ECC checks etc and will be ignored.
-- CHarles