Closed Bug 1218420 Opened 9 years ago Closed 9 years ago

Consider resetting some stored data on UnrecoverableError

Categories

(Firefox OS Graveyard :: Sync, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S11 (13Nov)

People

(Reporter: mbdejong, Assigned: mbdejong)

References

Details

Attachments

(1 file)

If the Sync app gets into a state with corrupted data, maybe we could automatically recover from that if on logout, we don't only wipe the TV Sync_DB, the DataStores, and (on next sync) the mTime, but also maybe the matching tables and the Kinto.js DB's.

I'm not sure though if (especially on the phone, where wiping the DataStore is not an option) the DataStore can handle rerunning the transactions that were already processed. Have to think about this some more.
Assignee: nobody → mbdejong
Blocks: fxos-sync
Priority: -- → P3
Target Milestone: --- → FxOS-S10 (30Oct)
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
Comment on attachment 8684919 [details] [review]
[gaia] michielbdejong:1218420-internal-client-error > mozilla-b2g:master

(waiting for TreeHerder).
Attachment #8684919 - Flags: review?(ferjmoreno)
https://github.com/mozilla-b2g/gaia/commit/1fb413df9764abd963f490d8a646d6dd62ececdd
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8684919 - Flags: review?(ferjmoreno) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: