Consider case where Sync server was flushed in fxsyncId-dataStoreId matching tables and mTime

RESOLVED WONTFIX

Status

P2
normal
RESOLVED WONTFIX
3 years ago
3 years ago

People

(Reporter: mbdejong, Assigned: mbdejong)

Tracking

unspecified
FxOS-S10 (30Oct)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

IIRC, when the Sync server is flushed, kB and xClientState will change, right? We should find out if the fxSyncIds also change in this case. If they do, then using xClientState here is correct, but if not then it's more correct to use the email address of the current user.

In any case the bucketId should depend on xClientState, not email address, as per bug 1217760.
(Assignee)

Updated

3 years ago
Assignee: nobody → mbdejong
Blocks: 824026
Priority: -- → P2
Target Milestone: --- → FxOS-S10 (30Oct)
(Assignee)

Comment 1

3 years ago
Let's keep the Kinto.js state, as well as the DataAdapter state, per xClientState. Reusing data from other xClientStates within the same email address feels like a risky and unnecessary optimization.

If the Sync server is flushed, the TV/phone will go back to 'Please activate your account on Desktop/Android first' state, which is correct, I think. Once new data is available on the new Sync server, it will import that as normal, from a clean slate.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.