2 ms·
> It may not matter that the particular disk write failed without any additional logic. Only if the disk write completely failed, leaving no traces of a half-b
by kazinator 11y ago
> It may not matter that the particular disk write failed without any additional logic.
Only if the disk write completely failed, leaving no traces of a half-broken cache entry.
If you have a half-written cache entry and don't deal with that situation somehow, you end up serving the user broken content from the cache.
It usually behooves us to have our code react to write errors.