recover simple disk_cache backends with partial fake index files when the cache is otherwise empty |
||
Issue descriptionIn bug 894982 we fixed an issue where the initial fake index file for a simple disk_cache could be left partially written. We did not, however, clean up the corrupted state on disk. Lets do that in this bug. Since the problem occurred on the very first fake index file creation the directory should be otherwise empty. Let check for this empty state and recover the directory if that is the case.
,
Jan 17
(5 days ago)
This works for me in local testing: https://chromium-review.googlesource.com/c/chromium/src/+/1419262 I need to add some unit tests still.
,
Jan 18
(4 days ago)
|
||
►
Sign in to add a comment |
||
Comment 1 by wanderview@chromium.org
, Jan 17 (5 days ago)