DescriptionAdd SimpleCache index file heuristics
We restore the index from enumerating the entries on disk when the dir mtime doesnt match the index file mtime.
Using the mtime we can reliably detect the stale index on every new entry that has been added or an old entry deleted on disk, since the index file must always the last file created (renamed) in the directory.
BUG=233536
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195197
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 6
Patch Set 5 : #
Total comments: 12
Patch Set 6 : #Patch Set 7 : #
Total comments: 4
Patch Set 8 : #
Messages
Total messages: 14 (0 generated)
|