Closed
Bug 709319
Opened 13 years ago
Closed 12 years ago
Handle changed syncID by resetting and doing a full sync
Categories
(Firefox for Android Graveyard :: Android Sync, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla15
People
(Reporter: ally, Assigned: nalexander)
References
()
Details
No description provided.
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → rnewman
Updated•13 years ago
|
Updated•13 years ago
|
tracking-fennec: --- → ?
Updated•13 years ago
|
tracking-fennec: ? → +
Reporter | ||
Updated•13 years ago
|
tracking-fennec: + → ---
blocking-fennec1.0: --- → +
Comment 1•13 years ago
|
||
What exactly is this bug for? Can we get a detailed description? Why do we need it? Really strange seeing a blocker with no content.
Comment 2•13 years ago
|
||
This allows sync to handle when the user resets their Sync account key. The main way to currently handle this case for the user is to uninstall all versions of Firefox on the phone and thus uninstalling the Sync client. Then reinstall Firefox and re-setup Sync. With this bug fixed the reset would happen transparently.
If this bug is not fixed when a user resets their key no more data will be synced to the mobile client.
Comment 3•13 years ago
|
||
The scenario kbrosnan pointed out is not currently a tested or supported scenario on Android, so it's not 100% clear what will happen. Most likely the client will continue syncing incrementally, probably using the correct key, rather than doing a full sync.
Hence the bug summary: "Handle…". :)
Reporter | ||
Updated•13 years ago
|
Whiteboard: [not started]
Assignee | ||
Comment 4•13 years ago
|
||
- to test that changing remote syncID correctly wipes client:
- pair device to existing sync account
- sync account, and verify that that no log entry like the
following appear:
I GlobalSession(10041) Resetting all stages.
W GlobalSession(10041) Remote syncID different from local syncID: resetting client and assuming remote syncID.
- freshStart on desktop by using the first part of
https://wiki.mozilla.org/Services/Sync/Snippets#Generate_new_keys
- sync desktop
- sync device and verify that log entries like the following appear:
I FetchMetaGlobalStage(12647) Fetching fresh meta/global for this session.
D MetaGlobal(12647) Setting meta/global record from record payload {"storageVersion":5,"engines":{"bookmarks":{"syncID":"yjqFwE7zV5y-","version":2},"prefs":{"syncID":"iTdV77JIaET-","version":2},"passwords":{"syncID":"PRgJ7GowwHWm","version":1},"addons":{"syncID":"X0a0RNAwhTnZ","version":1},"tabs":{"syncID":"X58XZAOXmfpW","version":1},"clients":{"syncID":"IANs3eNRxJy5","version":1}},"syncID":"zeDgDNK16UwE"}
W GlobalSession(12647) Remote syncID different from local syncID: resetting client and assuming remote syncID.
I GlobalSession(12647) Resetting all stages.
Whiteboard: [not started] → [needs review :rnewman]
Assignee | ||
Updated•13 years ago
|
Assignee: rnewman → nalexander
Comment 5•13 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #4)
> - to test that changing remote syncID correctly wipes client:
Be careful of terminology. Changing remote syncID *resets* the client, not wipes it.
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•12 years ago
|
||
Updated test instructions:
*** [[bug:709319]]
- pair device to active desktop account
- sync device
- wipe account using AP or JS
- sync desktop to re-initialize server and set a new syncID
- sync device and verify logs recognizing new syncID like
W GlobalSession(4068) Remote syncID different from local syncID: resetting client and assuming remote syncID.
I GlobalSession(4068) Resetting all stages.
I GlobalSession(4068) Resetting org.mozilla.gecko.sync.stage.AndroidBrowserHistoryServerSyncStage@410d43f0
...
I GlobalSession(4068) Running next stage syncTabs (org.mozilla.gecko.sync.stage.FennecTabsServerSyncStage@410d3860)...
W ServerSyncStage(4068) Remote engine syncID different from local engine syncID: resetting client engine and assuming remote engine syncID.
I ServerSyncStage(4068) Setting syncID for org.mozilla.gecko.sync.stage.FennecTabsServerSyncStage@410d3860 to '36XwohGHfS80'.
...
I GlobalSession(4068) Running next stage syncPasswords (org.mozilla.gecko.sync.stage.PasswordsServerSyncStage@410d3b68)...
W ServerSyncStage(4068) Remote engine syncID different from local engine syncID: resetting client engine and assuming remote engine syncID.
I ServerSyncStage(4068) Setting syncID for org.mozilla.gecko.sync.stage.PasswordsServerSyncStage@410d3b68 to 'HhM6CUcLGH8G'.
Comment 7•12 years ago
|
||
Happy that this has been covered by other bugs.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [needs review :rnewman]
Target Milestone: --- → mozilla15
Updated•12 years ago
|
status-firefox14:
--- → affected
Comment 8•12 years ago
|
||
Optimistically clearing as a blocker because this is covered by other bugs.
blocking-fennec1.0: + → ---
Updated•12 years ago
|
status-firefox14:
affected → ---
Updated•12 years ago
|
Product: Mozilla Services → Android Background Services
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•