Sync token should be reset if IndexedDB is unavailable #12131
Labels
A-Storage
Storage layer of the app, including IndexedDB, local storage, etc.
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Description
Safari, in a private browsing tab, just refuses access to IDB altogether. Many tears.
The sync token, which is stored in local storage, is persisted however, therefore refreshing the tab causes a
/sync
to take place with the last knownsince=
but we have no IDB data to fall back on.Steps to reproduce
We should reset the sync token back to 0 if we fail to open IDB.
Version information
For the web app:
The text was updated successfully, but these errors were encountered: