we are getting more and more reports of users that their localStorage data is suddenly deleted.
Example from log:
in Background.html.199.log we successfully write a localStorage entry @ 2021-05-01 21:03:31,564
in Background.html.200.log we compare the value previously stored with a value that we keep in a file in the filesystem @ 2021-05-01 21:45:54,926.
as you can see, data is not in sync:
time from fileSystem(time from localStorage): 1619874211564 (1619858021298)
Can you reproduce it (exact steps to reproduce): No
Impact for my app: ~4K DAU, that experience full data loss.
Do you currently have a workaround? yes. we have implemented a mechanism that backs up the users’s storage to the filesystem if we identify the said corruption